Script kiddies can learn.

Skip to content

 cheetz / thp2

Learn Git and GitHub without any code!

Using the Hello World guide, you’ll start a branch, write comments, and open a pull request.
Read the guide

Code Issues 3 Pull requests 7 Projects 0 Actions Wiki Security Pulse Community

Branch: master 

Find fileCopy path


 cheetz Update Discover Scriptc6fecad on Dec 4, 2015

1 contributor

236 lines (198 sloc)  10.8 KB



The Hacker Playbook 2 Since this book is based off of the Kali Linux platform, you can download the Kali Linux distro from: I highly recommend you download the VMware image ( and download Virtual Player/VirtualBox. Remember that it will be a gz-compressed and tar archived file, so make sure to extract them first and load the vmx file. Once Your Kali VM is Up and Running● Log in with the username root and the default password toor● Open a terminal● Change the password ○ passwd● Update the image ○ apt-get update ○ apt-get dist-upgrade● Setup Metasploit database ○ service postgresql start● Make postgresql database start on boot ○ update-rc.d postgresql enable● Start and stop the Metasploit service (this will setup the database.yml file for you) ○ service metasploit start ○ service metasploit stop● Install gedit ○ apt-get install gedit● Change the hostname – Many network admins look for systems named Kali in logs like DHCP. It is best to follow the naming standard used by the company you are testing ○ gedit /etc/hostname ■ Change the hostname (replace kali) and save ○ gedit /etc/hosts ■ Change the hostname (replace kali) and save ○ reboot● *Optional for Metasploit – Enable Logging ○ I list this as optional since logs get pretty big, but you have the ability to log every command and result from Metasploit’s Command Line Interface (CLI). This becomes very useful for bulk attack/queries or if your client requires these logs. *If this is a fresh image, type msfconsole first and exit before configuring logging to create the .msf4 folder. ○ From a command prompt, type: ■ echo “spool /root/msf_console.log” > /root/.msf4/msfconsole.rc ○ Logs will be stored at /root/msf_console.log Tool InstallationThe Backdoor Factory:● Patch PE, ELF, Mach-O binaries with shellcode.● git clone /opt/the-backdoor-factory● cd the-backdoor-factory● ./ HTTPScreenShot● HTTPScreenshot is a tool for grabbing screenshots and HTML of large numbers of websites.● pip install selenium● git clone /opt/httpscreenshot● cd /opt/httpscreenshot● chmod +x && ./● HTTPScreenShot only works if you are running on a 64-bit Kali by default. If you are running 32-bit PAE, install i686 phatomjs as follows: ○ wget ○ bzip2 -d phantomjs-1.9.8-linux-i686.tar.bz2 ○ tar xvf phantomjs-1.9.8-linux-i686.tar ○ cp phantomjs-1.9.8-linux-i686/bin/phantomjs /usr/bin/ SMBExec● A rapid psexec style attack with samba tools.● git clone /opt/smbexec● cd /opt/smbexec && ./● Select 1 – Debian/Ubuntu and derivatives● Select all defaults● ./● Select 4 to compile smbexec binaries● After compilation, select 5 to exitMasscan● This is the fastest Internet port scanner. It can scan the entire Internet in under six minutes.● apt-get install git gcc make libpcap-dev● git clone /opt/masscan● cd /opt/masscan● make● make install Gitrob● Reconnaissance tool for GitHub organizations● git clone /opt/gitrob● gem install bundler● service postgresql start● su postgres● createuser -s gitrob –pwprompt● createdb -O gitrob gitrob● exit● cd /opt/gitrob/bin● gem install gitrob CMSmap● CMSmap is a python open source CMS (Content Management System) scanner that automates the process of detecting security flaws● git clone /opt/CMSmap WPScan● WordPress vulnerability scanner and brute-force tool● git clone /opt/wpscan● cd /opt/wpscan && ./wpscan.rb –update Eyewitness● EyeWitness is designed to take screenshots of websites, provide some server header info, and identify default credentials if possible.● git clone /opt/EyeWitness Printer Exploits● Contains a number of commonly found printer exploits● git clone /opt/praedasploit SQLMap● SQL Injection tool● git clone /opt/sqlmap Recon-ng● A full-featured web reconnaissance framework written in Python● git clone /opt/recon-ng Discover Scripts● Custom bash scripts used to automate various pentesting tasks.● git clone /opt/discover● cd /opt/discover && ./