├── 01_networking ├── netcat.py ├── proxy.py ├── ssh_cmd.py ├── ssh_rcmd.py ├── ssh_server.py ├── tcp_client.py ├── tcp_server.py └── udp_client.py ├── 02_scanandsniff ├── scanner.py ├── sniffer.py ├── sniffer_ip_header_decode.py └── sniffer_with_icmp.py ├── 03_scapytools ├── arper.py ├── mail_sniffer.py └── recapper.py ├── 04_facefinder ├── detector.py ├── faces │ └── .gitkeep ├── haarcascade_frontalface_alt.xml └── pictures │ └── .gitkeep ├── 05_web ├── all.txt ├── bruter.py ├── cain-and-abel.txt ├── wp_killer.py └── wp_mapper.py ├── 06_githubtrojan ├── config.json ├── dirlister.py ├── environment.py └── github_trojan.py ├── 07_windowstrojantasks ├── keylogger.py ├── sandbox_detect.py ├── screenshotter.py └── shell_exec.py ├── 08_exfitration ├── cryptor.py ├── email_exfil.py ├── exfil.py ├── paste_exfil.py └── transmit_exfil.py ├── 09_privescalation ├── bhservice │ ├── bhservice.py │ └── bhservice_task.vbs.txt ├── file_monitor.py └── process_monitor.py ├── 10_offensiveforensics └── aslrcheck.py ├── README.md ├── docs └── img │ ├── netcat.png │ ├── tcp_client.png │ └── tcp_server.png ├── poetry.lock └── pyproject.toml /01_networking/netcat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/01_networking/netcat.py -------------------------------------------------------------------------------- /01_networking/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/01_networking/proxy.py -------------------------------------------------------------------------------- /01_networking/ssh_cmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/01_networking/ssh_cmd.py -------------------------------------------------------------------------------- /01_networking/ssh_rcmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/01_networking/ssh_rcmd.py -------------------------------------------------------------------------------- /01_networking/ssh_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/01_networking/ssh_server.py -------------------------------------------------------------------------------- /01_networking/tcp_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/01_networking/tcp_client.py -------------------------------------------------------------------------------- /01_networking/tcp_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/01_networking/tcp_server.py -------------------------------------------------------------------------------- /01_networking/udp_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/01_networking/udp_client.py -------------------------------------------------------------------------------- /02_scanandsniff/scanner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/02_scanandsniff/scanner.py -------------------------------------------------------------------------------- /02_scanandsniff/sniffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/02_scanandsniff/sniffer.py -------------------------------------------------------------------------------- /02_scanandsniff/sniffer_ip_header_decode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/02_scanandsniff/sniffer_ip_header_decode.py -------------------------------------------------------------------------------- /02_scanandsniff/sniffer_with_icmp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/02_scanandsniff/sniffer_with_icmp.py -------------------------------------------------------------------------------- /03_scapytools/arper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/03_scapytools/arper.py -------------------------------------------------------------------------------- /03_scapytools/mail_sniffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/03_scapytools/mail_sniffer.py -------------------------------------------------------------------------------- /03_scapytools/recapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/03_scapytools/recapper.py -------------------------------------------------------------------------------- /04_facefinder/detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/04_facefinder/detector.py -------------------------------------------------------------------------------- /04_facefinder/faces/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /04_facefinder/haarcascade_frontalface_alt.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/04_facefinder/haarcascade_frontalface_alt.xml -------------------------------------------------------------------------------- /04_facefinder/pictures/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /05_web/all.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/05_web/all.txt -------------------------------------------------------------------------------- /05_web/bruter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/05_web/bruter.py -------------------------------------------------------------------------------- /05_web/cain-and-abel.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/05_web/cain-and-abel.txt -------------------------------------------------------------------------------- /05_web/wp_killer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/05_web/wp_killer.py -------------------------------------------------------------------------------- /05_web/wp_mapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/05_web/wp_mapper.py -------------------------------------------------------------------------------- /06_githubtrojan/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/06_githubtrojan/config.json -------------------------------------------------------------------------------- /06_githubtrojan/dirlister.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/06_githubtrojan/dirlister.py -------------------------------------------------------------------------------- /06_githubtrojan/environment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/06_githubtrojan/environment.py -------------------------------------------------------------------------------- /06_githubtrojan/github_trojan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/06_githubtrojan/github_trojan.py -------------------------------------------------------------------------------- /07_windowstrojantasks/keylogger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/07_windowstrojantasks/keylogger.py -------------------------------------------------------------------------------- /07_windowstrojantasks/sandbox_detect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/07_windowstrojantasks/sandbox_detect.py -------------------------------------------------------------------------------- /07_windowstrojantasks/screenshotter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/07_windowstrojantasks/screenshotter.py -------------------------------------------------------------------------------- /07_windowstrojantasks/shell_exec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/07_windowstrojantasks/shell_exec.py -------------------------------------------------------------------------------- /08_exfitration/cryptor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/08_exfitration/cryptor.py -------------------------------------------------------------------------------- /08_exfitration/email_exfil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/08_exfitration/email_exfil.py -------------------------------------------------------------------------------- /08_exfitration/exfil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/08_exfitration/exfil.py -------------------------------------------------------------------------------- /08_exfitration/paste_exfil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/08_exfitration/paste_exfil.py -------------------------------------------------------------------------------- /08_exfitration/transmit_exfil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/08_exfitration/transmit_exfil.py -------------------------------------------------------------------------------- /09_privescalation/bhservice/bhservice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/09_privescalation/bhservice/bhservice.py -------------------------------------------------------------------------------- /09_privescalation/bhservice/bhservice_task.vbs.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /09_privescalation/file_monitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/09_privescalation/file_monitor.py -------------------------------------------------------------------------------- /09_privescalation/process_monitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/09_privescalation/process_monitor.py -------------------------------------------------------------------------------- /10_offensiveforensics/aslrcheck.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/10_offensiveforensics/aslrcheck.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/README.md -------------------------------------------------------------------------------- /docs/img/netcat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/docs/img/netcat.png -------------------------------------------------------------------------------- /docs/img/tcp_client.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/docs/img/tcp_client.png -------------------------------------------------------------------------------- /docs/img/tcp_server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/docs/img/tcp_server.png -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmelin/blackhat-python/HEAD/pyproject.toml --------------------------------------------------------------------------------