New Penetration Testing Framework for hackers


Penetration testing is also called as pen-testing. Pen-Testing is used for testing the vulnerabilities in any operating system, web application, and Network. Most of the penetration testers, search for open Penetration Testing Framework, as commented by ethical hacking researcher of International Institute of Cyber Security.

Pentest-Tool-Framework (PTF) is such of this kind, built on python language. This tool has many exploits, listeners, scanners and other tools. We will show you few Modules in this Pentest-Tool-Framework. If you want to do pentesting of your network, you can also follow this link.


  • OS: Kali Linux 2019, 64 Bit
  • kernel version: 5.2.0

Installation steps

root@Kali-VirtualBox:/home/webimprints# git clone
 Cloning into 'Pentest-Tools-Framework'...
 remote: Enumerating objects: 1335, done.
 remote: Counting objects: 100% (1335/1335), done.
 remote: Compressing objects: 100% (1059/1059), done.
 remote: Total 1335 (delta 216), reused 1325 (delta 210), pack-reused 0
 Receiving objects: 100% (1335/1335), 23.60 MiB | 2.08 MiB/s, done.
 Resolving deltas: 100% (216/216), done. 
  • Use cd command to enter the Pentest-Tools-Framework folder cd Pentest-Tools-Framework/
  • Now, we will install the dependencies mentioned in requirements file. For that we will use command pip install -r requirements.txt
 root@Kali-VirtualBox:/home/webimprints/Pentest-Tools-Framework# pip install -r requirements.txt
 Collecting requests (from -r requirements.txt (line 1))
   Downloading (58kB)
     100% |████████████████████████████████| 61kB 169kB/s
 Collecting urllib3 (from -r requirements.txt (line 2))
   Downloading (125kB)
     100% |████████████████████████████████| 133kB 485kB/s
 Collecting BeautifulSoup (from -r requirements.txt (line 3))
 Collecting bs4 (from -r requirements.txt (line 4))
 Collecting mechanize (from -r requirements.txt (line 5))
   Downloading (109kB)
     100% |████████████████████████████████| 112kB 1.6MB/s
 Collecting google (from -r requirements.txt (line 6))
   Downloading (45kB)
     100% |████████████████████████████████| 51kB 2.8MB/s
 Collecting colorama (from -r requirements.txt (line 7))
 Collecting wget (from -r requirements.txt (line 9))
 Requirement already satisfied: argparse in /usr/lib/python2.7 (from -r requirements.txt (line 10))
 Collecting netaddr (from -r requirements.txt (line 11))
   Downloading (1.6MB)
     100% |████████████████████████████████| 1.6MB 591kB/s
 Collecting html5lib (from -r requirements.txt (line 12))
   Downloading (117kB)
     100% |████████████████████████████████| 122kB 2.3MB/s 
Successfully installed BeautifulSoup-3.2.2 backports.functools-lru-cache-1.6.1 beautifulsoup4-4.8.2 bs4-0.0.1 cement-2.6.2 certifi-2019.11.28 colorama-0.4.3 dnspython-1.16.0 droopescan-1.41.3 futures-3.3.0 fuzzywuzzy-0.18.0 google-2.0.3 hexdump-3.3 html5lib-1.0.1 mechanize-0.4.5 netaddr-0.7.19 pydns-2.3.6 pystache-0.5.4 python-geoip-1.2 python-geoip-geolite2-2015.303 requests-2.23.0 soupsieve-1.9.5 tld-0.11.11 typing- urllib3-1.25.8 webencodings-0.5.1 wget-3.2 
  • Now, use command python to install the pentest tool and select 1 to install on Kali.
 root@Kali-VirtualBox:/home/webimprints/Pentest-Tools-Framework# python
 █                                                              █
 █                     Pentest Tools installer                  █
 █                                                              █
 [++] Please choose your operating system.
 1) Kali linux
 2) Parrot OS
 3) ubuntu
 >>> 1
 [++] Installing Pentest Tools Framework ...
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 No apt package "bettercap", but there is a snap with that name.
 Try "snap install bettercap"
 ================= SNIP =====================
 Gem files will remain installed in /var/lib/gems/2.5.0/gems/pcaprub-0.13.0 for inspection.
 Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/pcaprub-0.13.0/gem_make.out
 Pentest Tools Framework has been sucessfuly instaled. Execute 'ptf'in your terminal. 
  • Now, type ./ command to lunch the tool.
  • Now, we will show you, how to use this tool using Help Options.
    • Type Show Options
Global Options
  • To see the Pentest-Tool-Framework Modules, type Show Modules
Pentest-Tool-Framework Modules
  • We can see 7 modules in this one tool.
  • Let’s use the scanner module as shown below.

Scanners Module

What is a scanners?

Scanners are used to identify the number of live hosts, ports and services on a targeted system.

  • Now, type command use modules/scanner. To enter into the scanner modules
Scanner Module Fig 1
Scanner Module Fig 1
  • Type show options. It will show you all the options
  • Now, type show module, it will display all the scanner tools
 Scanner Module Fig 2
Scanner Module Fig 2
  • Now, let’s use nmap scanner tools in this.
  • Use set scanner/nmap_scanner.
  • To use a particular scanner and type show options “it will us how to run this tool”.
 Nmap Scanner
Nmap Scanner
  • Now set the target IP and run this tool to shows the target IPs open ports.
  • Now, let’s use another tool in the scanner module
  • Use back command, to come out from Nmap scanner
Scanner IP Locator
  • This IP Locator tool displays complete domain details.

Password Module

What is a password decode?

Password decode, is converting the encrypted data into plain text.

  • Now, lets use the same commands as shown below to run this.
MD5 Decrypt
MD5 Decrypt
  • We can see encrypted data into plain text.

Exploits Module

What is a Exploit?

Exploits are used to target a particular vulnerability in an application or operating system to gain access to victims’ computers.

What is a payload?

The payload is used to transmit the virus, malware to victims, to steal the information from the victim’s computer.

  • Now, in exploits, we will select auto_sql tool
  • Target URL
Exploit Module
Exploit Module

Listener Module

What is a listener?

Machine waiting for incoming reverse connection from target.

  • In the listener, we have selected android_meterpreter_reverse_https
  • Now, set the target LHOST (listener Host), LPORT (Listener Port) and type the command run.
Listener Module
Listener Module
  • We see HTTPS reverse handler as started.
  • Copy the URL and paste in browser.
Listener Module Execution
Listener Module Execution

Tools Module

  • In tools module, we have 8 information-gathering tools. Among them Atscan is the one.
  • Use command use modules/tools
  • Then run set atscan to select atscan.
  • To see all the help, type atscan -h
  • Now, use command atscan -t
    • -t <target website>
ATScan Tool


Pentest-Tool-Framework tool has many tools in it and its easy to use. Most of the tools in this, are used for penetration testing.