Skip to content

Instantly share code, notes, and snippets.

View bennylangston's full-sized avatar
💭
Just Learning!

benjamin langston bennylangston

💭
Just Learning!
View GitHub Profile
@bennylangston
bennylangston / tor.md
Created August 9, 2022 09:09 — forked from maximousblk/tor.md
A super simple guide to starting up your own Tor hidden service

Host your own Tor hidden service!

A super simple guide to spinning up a Tor hidden service. [tl;dr]

Ubuntu 20.04 LTS was used for the making of this guide.

Install Tor

you can install Tor using the following command

@bennylangston
bennylangston / gist:8cf6b7b5bd07a41bd9458f2909f3d125
Created August 9, 2022 09:09 — forked from devlim/gist:a6258e2e8823e5470ee800c4724cf2b0
Nginx default server block (/etc/nginx/sites-available/default)
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
@bennylangston
bennylangston / tor-hidden-service-host.sh
Created September 2, 2021 11:20 — forked from kremalicious/tor-hidden-service-host.sh
Install and run Tor hidden service on pretty much anything
##
# for Ubuntu 16.04 Xenial Xerus
##
######################################
# INITIAL SERVER SETUP & HARDENING
######################################
# most VPS providers give you root user from the start
ssh root@1.2.3.4
@bennylangston
bennylangston / networktools.txt
Created June 5, 2021 06:43 — forked from Blackhawk95/networktools.txt
How to install every network tool #not_perfect
To run almost all tools, run using their name (mostly using sudo [not recommended] )
eg: to run iptraf :- sudo iptraf
[for more info on ALL tools: manpages will help, [ for eg: " man iptraf " to get more info on iptraf WITHOUT internet]
1. Iptraf
sudo apt-get install iptraf
Learn More:
____
_________ / _/___ ___ _____
/ ___/ __ \ / // __ \/ _ \/ ___/
(__ ) / / // // /_/ / __/ /
/____/_/ /_/___/ .___/\___/_/
/_/
+ -- --=[http://crowdshield.com
@bennylangston
bennylangston / sources.list
Created March 25, 2019 03:02 — forked from rhuancarlos/sources.list
Ubuntu 18.04 Bionic default /etc/apt/sources.list
#deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
@bennylangston
bennylangston / Get-Temperature
Created March 6, 2019 05:22 — forked from jeffa00/Get-Temperature
Get CPU Temperature With PowerShell
function Get-Temperature {
$t = Get-WmiObject MSAcpi_ThermalZoneTemperature -Namespace "root/wmi"
$currentTempKelvin = $t.CurrentTemperature / 10
$currentTempCelsius = $currentTempKelvin - 273.15
$currentTempFahrenheit = (9/5) * $currentTempCelsius + 32
return $currentTempCelsius.ToString() + " C : " + $currentTempFahrenheit.ToString() + " F : " + $currentTempKelvin + "K"
}
@bennylangston
bennylangston / build_mac.sh
Created January 27, 2019 06:14 — forked from SchizoDuckie/build_mac.sh
Build an OSX .pkg installer from Linux using mkbom and xar
#!/bin/bash
# change the values below to match your system.
# target the BUILD_DIR to output from an nw.io build process. nwjs-shell-builder recommended!
# https://github.com/Gisto/nwjs-shell-builder
# BASE_DIR is the target directory for this script, where files will be gathered and packaged to
BUILD_DIR=”/var/www/deploy/TMP/osx-ia32/latest-git”
BASE_DIR=”/var/www/deploy/osx” 
@bennylangston
bennylangston / Facebook-brute-force.py
Created November 28, 2018 17:51 — forked from HossamYousef/Facebook-brute-force.py
This simple script to penetrate accounts Facebook brute-force
#!/usr/bin/python
#Install SleekXMPP & xmpppy Modules
#This program is not for children -(18)
#This program is only for educational purposes only.
#Don't Attack people facebook account's it's illegal !
#If you want to HaCk into someone's account, you must have the permission of the user.
#usage:Facebook-brute-force.py [wordlist file]
#Coded By Hossam Youssef <hossam.mox@gmail.com> ^_^
@bennylangston
bennylangston / sources.list
Created August 25, 2018 09:37
Ubuntu 18.04 Bionic default /etc/apt/sources.list
#deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted