A short guide on building a Vagrant box from the Hacking: The Art of Exploitation, 2nd Edition LiveCD.
Create a new blank 32-bit Linux machine via VirtualBox UI (or console) and name it however you like. Insert the ISO file as a Live CD and
| ` | |
| ~/ | |
| ~ | |
| ×™× | |
| ___ | |
| __ | |
| _ |
A short guide on building a Vagrant box from the Hacking: The Art of Exploitation, 2nd Edition LiveCD.
Create a new blank 32-bit Linux machine via VirtualBox UI (or console) and name it however you like. Insert the ISO file as a Live CD and
| echo "Updating SearchSploit... (Kali Linux)" | |
| # move into the exploit db directory within Kali | |
| cd /usr/share/exploitdb | |
| echo "Downloading latest archive..." | |
| wget http://www.exploit-db.com/archive.tar.bz2 | |
| echo "Downloaded archive, proceeding to extract..." | |
| tar -xjvf archive.tar.bz2 |
| ############################################################################### | |
| # Helpful Docker commands and code snippets | |
| ############################################################################### | |
| ### CONTAINERS ### | |
| docker stop $(docker ps -a -q) #stop ALL containers | |
| docker rm -f $(docker ps -a -q) # remove ALL containers | |
| docker rm -f $(sudo docker ps --before="container_id_here" -q) # can also filter | |
| # exec into container |