blackhat-python
blackhat-python copied to clipboard
Personal version of tools from Black Hat Python
Tools from Black Hat Python
Each tool is standalone, and any 3rd party libraries are described at the top of each file. To simplify installation, all 3rd party libraries for all the tools in this repo can be installed with poetry using poetry install.
Networking tools
TCP Client

TCP Server

Netcat replacement
Can be used to upload files, execute remote commands (after pressing Ctrl + Z)
Examples
netcat.py -t 192.168.1.108 -p 5555 -l -c # command shell
netcat.py -t 192.168.1.108 -p 5555 -l -u=mytest.whatisup # upload to file
netcat.py -t 192.168.1.108 -p 5555 -l -e=\"cat /etc/passwd\" # execute command
echo 'ABCDEFGHI' | ./netcat.py -t 192.168.1.108 -p 135 # echo local text to server port 135
netcat.py -t 192.168.1.108 -p 5555 # connect to server
Screenshots
