A tool that automates some of the first steps of a penetration test.
Creata a user localhost where the program and the tools will be installed.
In ~/Documents create a folder tools/. This is where the tools the program needs will be installed.
Clone this project to ~/Documents folder. (/home/localhost/Documents/pentest-app)
$ sudo apt update
$ sudo apt install curl
$ cd ~
$ curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
$ sudo bash nodesource_setup.sh
$ sudo apt install nodejs$ sudo apt install -y build-essential
$ npm install -g @angular/cliIn the project folder
$ npm installNavigate to the folder /home/localhost/Documents/tools created previously.
$ sudo apt-get install nmap$ sudo apt-get install -y python3-pip
$ git clone https://github.com/laramies/theHarvester.git
$ cd theHarvester
$ python3 -m pip install -r requirements.txt
$ sudo python ./theHarvester.py$ git clone https://github.com/urbanadventurer/WhatWeb.git
$ sudo apt-get install ruby ruby-dev
$ gem install bundler
$ cd WhatWeb
$ bundle install
$ bundle updateDownload from https://sourceforge.net/projects/wapiti/files/
$ sudo apt-get install python3-venv libxml2 libxml2-dev libz-dev libxslt1-dev python3-dev
$ python3 setup.py install$ gem install wpscanTo fix WPScan autorun
$ sudo chmod -R 777 /tmp/wpscan/$ git clone https://github.com/DavidAngelos/joomscanIn order to parse output correctly, it should not have colors:
- Edit
/joomscan/core/header.pland remove every line that colors the output - Edit
/joomscan/core/main.pland remove every line that colors the output
In order to have consistent output open /joomscan/modules/dirlisting.pl and change if condition to:
if($ctf==1){
dprint("Checking Directory Listing");
tprint("directory has directory listing : \n$cnftmp");
} else{
dprint("Checking Directory Listing");
tprint("None");
}
$ git clone https://github.com/aboul3la/Sublist3r.git
$ sudo apt-get install python-pip
$ cd Sublist3r
$ sudo pip install -r requirements.txt$ apt-get install gobusterFollow instructions from https://github.com/vulnersCom/nmap-vulners
Download https://github.com/DavidAngelos/nmap2json and replace the folder pentest-app/node_modules/nmap2json with the one downloaded.
In the project folder ~/Documents/pentest-app run npm install --save-dev @angular-devkit/build-angular
Run npm run start:server and in another terminal tab ng serve for a dev server. Navigate to http://localhost:4200/scan/auto. The app will automatically reload if you change any of the source files.