SkillAgentSearch skills...

Pypentesting

python tools to assist in penetration testing

Install / Use

/learn @chrispetrou/Pypentesting

README

pypentesting GPLv3 license

This repository contains some python tools that may be of some help in pentesting, CTFs or information security assignments in general:

revshell

This is a simple script to automate the process of generating a reverse-shell command like those described in pentestmonkey blog:

<img src="images/revshell.png" width="80%">

Note: You can find a more updated and featured version of the revshell.py script here!

shconverter

This is a small script that takes as input an objdump output and extracts the shellcode:

<img src="images/shconverter.png" width="55%">

Example - asm snippet from here:

<img src="images/shconverter1.png" width="80%">

explorer

This script uses selenium with chromedriver (can work with other web-drivers also) to open every url (with a status code of 200) from a dirsearch output (specified with --plain-text-report):

<img src="images/explorer.png" width="55%">

qrutils

Easily decode a QR code using zxing online service or QR-encode a message using qrencode utility:

<img src="images/qrutils.png" width="55%">

vtamper

Simple verb avalaibility/tampering checker. Using the -i switch it checks also for common header-vulnerabilities:

<img src="images/vtamper.png" width="70%">

dnz

This script uses dnspython to perform DNS zone transfers easily:

<img src="images/dnz.png" width="60%">

irc

This script can be used as a template to built an automated IRC-bot using twisted framework.

fakeid

This script uses fakenamegenerator.com to generate a completely random person's id.

Requirements:

Note: To install the requirements (except for qrencode and chromedriver):

pip install -r requirements.txt --upgrade --user

Disclaimer

These tools are only for testing and academic purposes and can only be used where strict consent has been given. Do not use them for illegal purposes! It is the end user’s responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by these tools, programs, scripts and software.

License

This project is licensed under the GPLv3 License - see the LICENSE file for details

Related Skills

View on GitHub
GitHub Stars14
CategoryDevelopment
Updated3mo ago
Forks6

Languages

Python

Security Score

92/100

Audited on Dec 9, 2025

No findings