Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PAT - Pentester Assistant

Description

Tool for discrete CLI AI usage. Built for pentesters.

Clears your question of most company names, phone numbers, emails, IPv4 an IPv6 addresses.

Currently only supports gemini 1.5 flash and pro, gpt 3.5 turbo and 4.

Additionally

If you notice a company name that you have to specify for redaction please either open an issue or add it to list.txt and submit a pull request. Same for if you notice any other issues or errors!

API keys

Before using PAT you will need to get an API key from your prefered AI model.

Go here to get an API key for the Gemini models.

Go here for gpt API key. Beware this will require an account and payment.

--NOTICE: GPT models havent been fully tested.--

Once you have your API key(s) find the build folder.

cd build

Then inside the build directory, create a .env file. Be sure that the file is simply ".env" as only then will the program work. Please be careful of pushing any changes with you API key in it.

mkdir .env

Copy sample.env into your new .env file, replacing "YOUR_API_KEY" with your API key.

Install and run

You should start a virtual environment as pip causes trouble otherwise.

Install the virtual environment app.

sudo apt-get install python3-venv

Create the environment. The 2nd venv is the name. You can change its name at will.

python3 -m venv venv 

Run the environment. Be sure you replace venv with whatever you named your venv file, if you changed it.

source venv/bin/activate

Make sure you are in the PAT directory, then install.

pip3 install -e .

Finally run pat

pat

Additional features to add: Implement more error checking. Make converstions possible? Add locations to sanitizer? Only replace company name if capitalized?

About

Tool for discrete CLI AI usage. Built for pentesters.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages