Skip to content

evgeni-semenov/pentesting

Repository files navigation

Pentesting / ethical hacking tools

Here you can find some simple python tools for pentesting / ethical hacking.
Please remember that hacking without permission can be considered criminal offense.

Network stuff and MITM attacks

mac_changer.py - changes MAC / Ethernet address of your device.
network_scanner.py - simple Network scanner that can scan an IP or an IP range.
arp_spoof.py - ARP spoofing tool for man in the middle (MITM) attacks.
replace_download.py - A tool to replace target's .exe file download via HTTP protocol.
code_injector.py - A tool that injects JavaScript code during MITM attack.
execute_and_report.py - Executes a command on target machine and sends a report back by e-mail.

Ransomware

ransomware.py - Ransomware simulation. This tool encrypts and decrypts all the files within a specified directory.

Keylogger

keylogger.py - Keylogger application.

Reverse shell backdoor

Simple reverse shell backdoor which allows you to enter commands, download / upload files and change the working directory.
listener.py - Run this on a host machine (attacker).
remote_backdoor.py - Run this on a target machine (victim).

Packaging

You can use pyinstaller (pip install pyinstaller) to package executables from .py files:
pyinstaller remote_backdoor.py --onefile --noconsole

XSS vulnerability scanner

scanner.py - XSS vulnerability scanner.

Useful links

https://pythex.org/ - Python regular expression editor.
https://www.virtualbox.org/ - Virtualization tool for spawning VMs.
https://www.kali.org/ - Kali Linux distribution for penetration testing / ethical hacking.
https://docs.rapid7.com/metasploit/metasploitable-2/ - Metasploitable 2 testing environment (a Linux distro full of holes). Only use as VM in your lab!

Evgeni Semenov, dev@safemail.sbs
Credits to Zaid Sabih and "Learn Python and Ethical Hacking from Scratch" course.

About

Simple tools for penetration testing / ethical hacking.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages