🌐
GitHub
github.com › EONRaider › blackhat-python3
GitHub - EONRaider/blackhat-python3: Source code for the book "Black Hat Python" by Justin Seitz. The code has been fully converted to Python 3, reformatted to comply with PEP8 standards and refactored to eliminate dependency issues involving the implementation of deprecated libraries. · GitHub
Source code for the book "Black Hat Python" by Justin Seitz. The code has been fully converted to Python 3, reformatted to comply with PEP8 standards and refactored to eliminate dependency issues involving the implementation of deprecated libraries.
Starred by 2.3K users
Forked by 447 users
Languages   Python
🌐
No Starch Press
nostarch.com › black-hat-python2E
Black Hat Python, 2nd Edition | No Starch Press
July 21, 2020 - When it comes to creating powerful and effective hacking tools, Python is the language of choice for most security analysts. In this second edition of the bestselling Black Hat Python, you’ll explore the darker side of Python’s capabilities: everything from writing network sniffers, stealing email credentials, and bruteforcing directories to crafting mutation fuzzers, investigating virtual machines, and creating stealthy trojans.
Discussions

Sharing my github repo for: Black Hat Python (Seitz Book) source code re-edited, updated to Python3 and tested
The 2nd version was already updated to python3.... sorry bud. More on reddit.com
🌐 r/Python
8
163
February 13, 2022
I converted the code from "Black Hat Python" into Python 3, applied PEP8 and resolved dependency issues. It's available on GitHub.
This a very useful contribution to the community. In case people don't know or it just may spur new interest with your addition, the book is on archive.org . More on reddit.com
🌐 r/blackhat
17
346
May 13, 2020
For those of you trying to learn Python... (Black Hat Python)
Multiple examples to accomplish the same task in different ways, a cheat sheet of syntax, and flow charts of what programs are doing at a higher level. More on reddit.com
🌐 r/cybersecurity
12
43
January 9, 2023
Do you recommend ‘Black hat python’ for beginners?
It’s a great book, i’m only half way through at the moment. Chapter 1 on Low Level Socket Programming is a great start. Populate your Git with your working examples but give credit where it’s deserved. More on reddit.com
🌐 r/Hacking_Tutorials
7
13
October 18, 2024
🌐
Ringzer0
ringzer0.training › black-hat-python
Black hat python
March 20, 2024 - This is the official companion course to the popular book Black Hat Python, 2nd Edition from No Starch Press. This companion course has been updated for Python 3 and developed under the oversight and cooperation of the original Black Hat Python ...
🌐
Reddit
reddit.com › r/python › sharing my github repo for: black hat python (seitz book) source code re-edited, updated to python3 and tested
r/Python on Reddit: Sharing my github repo for: Black Hat Python (Seitz Book) source code re-edited, updated to Python3 and tested
February 13, 2022 -

https://github.com/carloocchiena/blackhat_python_book_code

I quite enjoyed the book, but as 2021 it looks quite outdated, not just for the choice of using Python 2.7.

Deliberately, as expressed by the author, the scripts are written raw & dirty to simulate the approach he uses during a penetration testing.

Since I had to convert all the source codes anyway, to run them on my machine (Kali Linux VM + Win10 OS + Win10 VM + Python 3.9) I decided to go extra-mile and save them in a repo, in the meantime trying to optimize the code and making it a little more elegant

Improvement made from the book's code

  • Refactoring to Python 3 and code testing (unless otherwise specified)

  • Update to PEP8 standards

  • Upgraded readability (es. comments, indentation, variable names, file names)

  • Update of obsolete methods (es. print -s %)

  • Better context management (es. open with, server.close())

  • Disregard of unsupported libs

  • Minor tweaks and bugs found while testing the code

  • Search for additional files requested throughout the book and not provided, or provided at outdated links, and included in individual chapters

  • Additional information and resources that I searched for and found useful as I made my way through the book

If someone's going thru the same journey may find this resource somehow helpful

🌐
GitHub
github.com › mrodrig › black-hat-python
GitHub - mrodrig/black-hat-python: Coding Examples and Exercises (converted to Python 3) from "Black Hat Python: Python Programming for Hackers and Pentesters"
Coding Examples and Exercises (converted to Python 3) from "Black Hat Python: Python Programming for Hackers and Pentesters" - mrodrig/black-hat-python
Starred by 7 users
Forked by 6 users
Languages   Python 100.0% | Python 100.0%
🌐
O'Reilly
oreilly.com › library › view › black-hat-python › 9781098128906
Black Hat Python, 2nd Edition [Book]
April 13, 2021 - In Black Hat Python, 2nd Edition, ... capabilities—writing network sniffers, stealing email credentials, brute forcing directories, crafting mutation fuzzers, infecting virtual machines, creating stealthy trojans, and more...
Authors   Justin SeitzTim Arnold
Published   2021
Pages   216
🌐
GitHub
github.com › edoardottt › black-hat-python3-code
GitHub - edoardottt/black-hat-python3-code: 🏴‍☠️ tools (py3 version) of Black Hat Python book 🏴‍☠️
🏴‍☠️ tools (py3 version) of Black Hat Python book 🏴‍☠️ - edoardottt/black-hat-python3-code
Starred by 122 users
Forked by 30 users
Languages   Python 100.0% | Python 100.0%
Find elsewhere
🌐
O'Reilly
oreilly.com › library › view › black-hat-python › 9781457189807
Black Hat Python [Book]
December 4, 2014 - In Black Hat Python, the latest ... you'll explore the darker side of Python's capabilities—writing network sniffers, manipulating packets, infecting virtual machines, creating stealthy trojans, and more....
Author   Justin Seitz
Published   2014
Pages   192
🌐
Amazon
amazon.com › Black-Hat-Python-Programming-Pentesters › dp › 1593275900
Black Hat Python: Python Programming for Hackers and Pentesters: Seitz, Justin: 9781593275907: Amazon.com: Books
In Black Hat Python, the latest ... side of Python’s capabilities—writing network sniffers, manipulating packets, infecting virtual machines, creating stealthy trojans, and more....
🌐
AbeBooks
abebooks.co.uk › justin seitz › black hat python, 2nd edition: python programming for hackers and pentesters
Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters - Justin Seitz; Tim Arnold: 9781718501126 - AbeBooks
Fully-updated, second edition of ... sold) explores the stealthier side of programming and brings you all new strategies for your hacking projects.When it comes to creating powerful and effective hacking tools, Python is the language of choice for most security analysts. In this second edition of the bestselling Black Hat Python, you'll explore the darker side of Python's capabilities- everything ...
🌐
Reddit
reddit.com › r/blackhat › i converted the code from "black hat python" into python 3, applied pep8 and resolved dependency issues. it's available on github.
r/blackhat on Reddit: I converted the code from "Black Hat Python" into Python 3, applied PEP8 and resolved dependency issues. It's available on GitHub.
May 13, 2020 -

"Black Hat Python" is a great book, but the fact that it was written in Python 2 is a bit of a problem. Not only that but conflict resolution and plain bug fixing is necessary in practically every chapter.

I left some good amount of information on how to use the repository code right on the README.md file.

It was a lot of work but I think I did most of it. Enjoy.

https://github.com/EONRaider/blackhat-python3

Collaboration is welcome if you happen to find any bugs or dependency issues along the way. Just send a pull request!

EDIT: Thank you so much for all the comments and awards, guys!

🌐
GitHub
github.com › aw-junaid › Black-Hat-Python
GitHub - aw-junaid/Black-Hat-Python: A collection of advanced Python scripts for cybersecurity, penetration testing, and ethical hacking. · GitHub
blackhat-python3 · Mastering Python Scripting for System Administrators · python-pentest-tools · Password Hash Cracking (hashlib / hashcat integration) LDAP Brute Force · SSH Brute Force with Paramiko · FTP Brute Force · SMB Brute Force (impacket) TCP Client ·
Starred by 101 users
Forked by 19 users
Languages   Python
🌐
GitHub
github.com › iluxonchik › blackhat-python-book
GitHub - iluxonchik/blackhat-python-book: Code from Blackhat Python book
Code from Black Hat Python book ... just fine, from my own experience). To install it with pip, run the following: pip install scapy-python3......
Starred by 187 users
Forked by 62 users
Languages   Python 100.0% | Python 100.0%
🌐
Goodreads
goodreads.com › book › show › 22299369-black-hat-python
Black Hat Python: Python Programming for Hackers and Pentesters by Justin Seitz | Goodreads
In Black Hat Python, the latest ... you'll explore the darker side of Python's capabilities writing network sniffers, manipulating packets, infecting virtual machines, creating stealthy trojans, and more....
Author   Justin Seitz
Pages   171
Rating: 4.1 ​ - ​ 30 votes
🌐
Amazon UK
amazon.co.uk › Black-Hat-Python-2nd-Programming › dp › 1718501129
Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters: Amazon.co.uk: Justin Seitz, Tim Arnold: 9781718501126: Books
Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters: Amazon.co.uk: Justin Seitz, Tim Arnold: 9781718501126: Books
Buy Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters 2 by Justin Seitz, Tim Arnold (ISBN: 9781718501126) from Amazon's Book Store. Everyday low prices and free delivery on eligible orders.
(4.6)
Price   £31.97
🌐
DOKUMEN.PUB
dokumen.pub › black-hat-python-python-programming-for-hackers-and-pentesters-2nbsped-9781718501126-9781718501133.html
Black Hat Python: Python Programming for Hackers and Pentesters [2 ed.] 9781718501126, 9781718501133 - DOKUMEN.PUB
To get started, we need to install the python3-venv package: tim@kali:~$ sudo apt-get install python3-venv [sudo] password for tim: ... Setting Up Your Python Environment 3 Black Hat Python (Early Access) © 2021 by Justin Seitz and Tim Arnold Now we can create a virtual environment.
🌐
GitHub
github.com › topics › blackhat-python
blackhat-python · GitHub Topics · GitHub
The code has been fully converted to Python 3, reformatted to comply with PEP8 standards and refactored to eliminate issues of dependency resolution involving deprecated modules. ethical-hacking black-hat python-hacking hacking-tools blackhat-python ethical-hacking-tools
🌐
Apple Books
books.apple.com › us › book › black-hat-python-2nd-edition › id1523221142
‎Black Hat Python, 2nd Edition by Justin Seitz & Tim Arnold on Apple Books
December 21, 2014 - New to this edition: All Python code has been updated to cover Python 3 and includes updated libraries used in current Python applications. Additionally, there are more in-depth explanations of the code and the programming techniques have been updated to current, common tactics. Examples of new material that you'll learn include how to sniff network traffic, evade anti-virus software, brute-force web applications, and set up a command-and-control (C2) system using GitHub. ... Black Hat Python.
Author   Justin Seitz & Tim Arnold
Published   2014
Price   USD 25.99
Pages   192
🌐
GitHub
github.com › codeDirtyToMe › Black-Hat-Python-for-python3.5
GitHub - codeDirtyToMe/Black-Hat-Python-for-python3.5: Converting all the code examples from the Black Hat Python book to python 3.5.
Converting all the code examples from the Black Hat Python book to python 3.5. - codeDirtyToMe/Black-Hat-Python-for-python3.5
Author   codeDirtyToMe