Goodreads helps you keep track of books you want to read.
Start by marking “Black Hat Python: Python Programming for Hackers and Pentesters” as Want to Read:
Black Hat Python: Python Programming for Hackers and Pentesters
Enlarge cover
Rate this book
Clear rating
Open Preview

Black Hat Python: Python Programming for Hackers and Pentesters

4.06  ·  Rating details ·  414 ratings  ·  21 reviews
When it comes to creating powerful and effective hacking tools, Python is the language of choice for most security analysts. But just how does the magic happen?

In Black Hat Python, the latest from Justin Seitz (author of the best-selling Gray Hat Python), you'll explore the darker side of Python's capabilities writing network sniffers, manipulating packets, infecting virtu
...more
Paperback, 1st Edition, 171 pages
Published December 14th 2014 by No Starch Press (first published November 25th 2014)
More Details... Edit Details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about Black Hat Python, please sign up.

Be the first to ask a question about Black Hat Python

Community Reviews

Showing 1-30
Average rating 4.06  · 
Rating details
 ·  414 ratings  ·  21 reviews


More filters
 | 
Sort order
Start your review of Black Hat Python: Python Programming for Hackers and Pentesters
Julio Biason
Dec 26, 2016 rated it it was ok
The very first chapter give me high hopes for this book: Since Python is basically part of every single Linux install, you could do a shitton retrieving system and user information by just using the normal packages. You won't even need to install nmap or similar; using plain Python packages, you could check which services are running and such.

But then, things go downhill.

After the first chapter, you start to add Python packages, which means you need to have root access -- and even if you use som
...more
Emily
Sep 06, 2015 rated it it was amazing
Loved it, great examples with solid explanations of code. Great fun to play with in my spare time. As I had prior experience with sockets in C I was pleased to be able to pick up sockets in python so quickly. Github did not disappoint.

Not a book for a beginner scripter even if it does start with "how to install an IDE" - which was my only hang up ironically. Kali 2.0 came out a few weeks after this book and my determination to test it out while working through this book was a pain the ass. Even
...more
Muhammad
Sep 04, 2017 rated it really liked it
Much better than Gray Hat Python, though some dependencies are a hell to install. Gives information on useful tools every penetration tester/hacker should have in their arsenal.
Umegbewe
Mar 10, 2021 rated it liked it
I don't think justin had beginners in mind when he wrote this book. A Great book but a little bit outdated in 2021. ...more
Alex
Jun 23, 2020 rated it it was ok
It is a bit overrated. This is a pretty crappy book, it uses a lot of code you don't understand unless you are a professional and it doesn't even explain it. It omits some basic concepts that you absolutely need to understand before learning anything else.

It is also outdated. IT USES PYTHOH 2.7!!!

Not really worth the money!
...more
Frank
Nov 06, 2018 rated it really liked it
This is a few years old but good for python networking.
Chakrit Yau
Oct 07, 2017 rated it really liked it
Python ทำให้ทุกอย่างง่ายดาย แม้กระทั่งการเขียน malware
العاقل البحري
This review has been hidden because it contains spoilers. To view it, click here.
Michal Zima
Apr 04, 2020 rated it really liked it
Excellent content, so many things to learn it's hard to find a start.

But the code could be written in python3
...more
عَبدُالكَرِيمْ
The book is full of snippet of codes! What's the use of that on a physical book? I wish it just discussed ideas and methods like the book Algorithm or the like.

Meh read. Didn't really like it.
...more
Mike Sachs
May 02, 2019 rated it it was ok
Shelves: infosec
Decent book, but many of the codes just don't work. Be prepared to fix them. But, hey that's a good way to learn too right? ...more
Hugh Smalley
Sep 14, 2016 rated it really liked it

Black Hat Python explores the darker side of Python’s capabilities, helping you test your systems and improve your security posture.



When it comes to creating powerful and effective hacking tools, Python is the language of choice for most security analysts. But just how does the magic happen?


In *Black Hat Python*, the latest from Justin Seitz (author of the best-selling *Gray Hat Python*), you'll explore the darker side of Python's capabilities writing network sniffers, manipulating packets, inf

...more
Julio
Jan 05, 2017 rated it really liked it
Shelves: cs
This is a very well laid out book. It reads easily and the python examples are great. Seitz python is simple and effective. You'll get a taste of it early on with his python packet sniffer.
I found of special interest his approach to XSS and Windows post exploitation techniques. Here's what you'll take away from this book: python's capacity to interact with many different api's and programs is what makes it such a powerful tool.
...more
Michael Corley
Jul 01, 2019 rated it it was amazing  ·  review of another edition
This book should definitely be on your shelf if you are a programmer and particularly if you a python programmer. It is a must own text which lays out how to conduct attacks in a very simple manner. I always thought there was so much mystery concerning hacking and cyber security, but he breaks down complex topics at a code level so you can understand them. It is extremely well written and very understandable.
Dgg32
May 29, 2015 rated it it was amazing
A good python for hack book. Begins with easy stuffs and then advances to some high-level Windows hacking. Recommended.
Justin
Jan 21, 2015 rated it really liked it
Overall, it was a good book. I especially liked the online code. Also, I liked that, being an EFF member, I got a discount.
Apostolos Zacharopoulos
Apr 21, 2016 rated it it was amazing
Great detailed book,very good choice for everyone who want to start learning the basics of pen-testing and python script-writing
Laci
Jul 09, 2016 rated it really liked it
A nice, hands-on book with many interesting tips.
I'm neither a black hat nor a pen tester, but I still like the insights this book provides.
...more
Graziano Misuraca
Apr 23, 2015 rated it liked it
Good book, but they got lazy (again) with checking their code samples.
Sweemeng Ng
Sep 22, 2016 rated it it was amazing
Good review of technique to use on python. They show enoough to start, but not everything. The rest you need to explore yourself
Rex Anthony
rated it really liked it
Dec 25, 2018
asdasd
rated it liked it
Dec 23, 2016
Reegun
rated it really liked it
Jul 11, 2016
Muhammed Hüsam
rated it it was amazing
Jan 14, 2018
Alexander Bjørnsrud
rated it it was amazing
Sep 21, 2019
ammbot
rated it liked it
Nov 28, 2015
Aaron
rated it liked it
May 06, 2018
Larry Gray
rated it it was amazing
Sep 12, 2017
Martin Molnar
rated it really liked it
Oct 06, 2015
Jeremy Cooke
rated it liked it
Nov 27, 2016
« previous 1 3 4 5 6 7 8 9 next »
There are no discussion topics on this book yet. Be the first to start one »

Readers also enjoyed

  • The Web Application Hacker's Handbook: Discovering and Exploiting Security Flaws
  • Penetration Testing: A Hands-On Introduction to Hacking
  • Red Team Field Manual (RTFM)
  • The Hacker Playbook 2: Practical Guide To Penetration Testing
  • Automate the Boring Stuff with Python: Practical Programming for Total Beginners
  • The Hacker Playbook 3: Practical Guide To Penetration Testing
  • Ghost in the Wires: My Adventures as the World's Most Wanted Hacker
  • The Art of Deception: Controlling the Human Element of Security
  • The Art of Intrusion: The Real Stories Behind the Exploits of Hackers, Intruders and Deceivers
  • The Art of Invisibility: The World's Most Famous Hacker Teaches You How to Be Safe in the Age of Big Brother and Big Data
  • Python Crash Course: A Hands-On, Project-Based Introduction to Programming
  • No Place to Hide: Edward Snowden, the NSA, and the U.S. Surveillance State
  • Python Tricks: A Buffet of Awesome Python Features
  • The Hacker Playbook: Practical Guide To Penetration Testing
  • Nmap Network Scanning: The Official Nmap Project Guide to Network Discovery and Security Scanning
  • Cracking Codes with Python: An Introduction to Building and Breaking Ciphers
  • Social Engineering: The Art of Human Hacking
  • Learning GraphQL: Declarative Data Fetching for Modern Web Apps
See similar books…

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »

News & Interviews

Secrets between siblings, grandparents with grievances, parents with problems. If you're looking for serious drama, check out these new...
24 likes · 3 comments