trustedsec /ptf

The Penetration Testers Framework (PTF) is a way for modular support for up-to-date tools.

★ 5,582⑂ 1,280👁 325⑃ 371● 244▤ 0
PythonCreated 2015-05-12
+0
日增长
5,582
stars
1,280
forks
325
watchers
371
prs
244
issues
0
releases

README

The PenTesters Framework (PTF)
===

 A TrustedSec Project - Copyright 2022

 Written by: David Kennedy (@HackingDave)

https://www.trustedsec.com

 Twitter: @TrustedSec, @HackingDave

The PenTesters Framework (PTF) is a Python script designed for Debian/Ubuntu/ArchLinux based distributions to create a similar and familiar distribution for Penetration Testing. As pentesters, we've been accustom to the /pentest/ directories or our own toolsets that we want to keep up-to-date all of the time. We have those "go to" tools that we use on a regular basis, and using the latest and greatest is important.

PTF attempts to install all of your penetration testing tools (latest and greatest), compile them, build them, and make it so that you can install/update your distribution on any machine. Everything is organized in a fashion that is cohesive to the Penetration Testing Execution Standard (PTES) and eliminates a lot of things that are hardly used. PTF simplifies installation and packaging and creates an entire pentest framework for you. Since this is a framework, you can configure and add as you see fit. We commonly see internally developed repos that you can use as well as part of this framework. It's all up to you.

The ultimate goal is for community support on this project. We want new tools added to the github repository. Submit your modules. It's super simple to configure and add them and only takes a few minute.

 Installation

PTF requires python-pexpect in order to work appropriately. 

Run the following command below:


pip install -r requirements.txt
./ptf


 Instructions:

First check out the config/ptf.config file which contains the base location of where to install everything. By default this will install in the /pentest directory. Once you have that configured, move to running PTF by typing ./ptf (or python ptf).

This will put you in a Metasploitesque type shell which has a similar look and feel for consistency. Show modules, use , etc. are all accepted commands. First things first, always type help or ? to see a full list of commands.

For a video tutorial on how to use PTF, check out our Vimeo page here: https://vimeo.com/137133837

 Update EVERYTHING!

If you want to install and/or update everything, simply do the following:

./ptf
use modules/install_update_all
yes


This will install all of the tools inside of PTF. If they are already installed, this will iterate through and update everything for you automatically.

You can also individually install each module, then use the  use modules/update_installed which will only update what you've previously installed.

For example:


./ptf
use modules/update_installed


This will only update previous ones you've installed.

You can also show options to change information about the modules.

If you only want to install only for example exploitation tools, you can run:


./ptf
use modules/exploitation/install_update_all


This will only install the exploitation modules. You can do this for any mo

Top issues

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON