Skip to content

chrispetrou/pypentesting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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:

Example - asm snippet from here:

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):

qrutils

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

vtamper

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

dnz

This script uses dnspython to perform DNS zone transfers easily:

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