Jump to ratings and reviews
Rate this book

Black Hat Python 2ª Edição: Programação Python para hackers e pentesters

Rate this book
Quando se trata de criar ferramentas de hacking poderosas e eficientes, Python é a linguagem preferida para a maioria dos analistas de segurança. Nesta segunda edição do best-seller Black Hat Python, você explorará o lado mais sombrio das capacidades do desde desenvolver sniffers de rede, roubar credenciais de e-mail e realizar ataques de força bruta em diretórios até criar fuzzers de mutação, investigar máquinas virtuais e desenvolver trojans furtivos.
Todo o código nesta edição foi atualizado para a versão Python 3.x. Você também encontrará novas informações sobre deslocamento de bits, boas práticas de código limpo e análise forense ofensiva com o framework Volatility, assim como explicações mais detalhadas sobre as bibliotecas Python ctypes, struct, lxml e BeautifulSoup. Estratégias ofensivas de hacking, como divisão de bytes, uso de bibliotecas de visão computacional e web scraping, também são abordadas.
Você aprenderá
Criar um servidor trojan de comando e controle utilizando o GitHub
Detectar sandboxes e automatizar tarefas comuns de malware, como keylogging e captura de tela
Estender a ferramenta de web-hacking Burp Suite
Escalar privilégios no Windows com controle criativo de processos
Aplicar técnicas ofensivas de forense de memória para obter hashes de senhas e identificar vulnerabilidades em uma máquina virtual
Explorar a automação do COM do Windows de forma maliciosa
Exfiltrar dados de uma rede sem ser detectado
Quando o assunto é segurança ofensiva, ter a capacidade de criar ferramentas poderosas de maneira ágil é fundamental. Aprenda a fazer isso com o Black Hat Python.

"Este livro é uma leitura obrigatória.
Intenso, tecnicamente robusto e revelador."
—Sandra Henry-Stocker, IT World

208 pages, Kindle Edition

First published November 25, 2014

Loading...
Loading...

About the author

Justin Seitz

9 books30 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
272 (43%)
4 stars
207 (33%)
3 stars
95 (15%)
2 stars
32 (5%)
1 star
14 (2%)
Displaying 1 - 30 of 44 reviews
Profile Image for Julio Biason.
199 reviews32 followers
December 26, 2016
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 something like a virtualenv, you still would announce yourself by requesting things over the net using easy_install (the book never mentions pip -- heck, it doesn't even mentions virtualenv to avoid being root), which could be easily blocked by sysadmins if your company doesn't have anything with Python.

And it doesn't stop at that: after these starting chapters, it start hacking Windows machines. Heck, Python is not installed by default on Windows and a py2exe executable weights something like 15Mb, which isn't much in bandwidth, but it's noticeable. And then it starts installing packages and more packages and requesting to run things as administrator, which would surely be a hassle.

The Python code itself is simplistic, to say the least. At the very first chapters I noticed that the code was basically C code translated to Python, which wouldn't be a problem if you're thinking about replacing basic hack code with Python code -- because it is easier to find Python installed than GCC, for example -- but with the problems cited above actually make me think that the author never really cared about Pythonic code, just did the very minimum to make code run and that's it.

So, it's a bad book about hacking because it requires privileged access beforehand and it's a bad book about Python because it doesn't follow Python good practices. In the end, it's just a book with a few interesting Python libraries, nothing more.
33 reviews
Read
June 5, 2026
HACKER TO CONTACT below:
Hackertechs001@Gmail.Com

The truly scary thing about undiscovered lies is that they have a greater capacity to diminish us than exposed ones. When people cheat in any arena, they diminish themselves-they threaten their own self-esteem and their relationships with others by undermining the trust they have in their ability to succeed and in their ability to be true. Cheating is the most disrespectful thing one human being can do to another. If you aren’t happy in a relationship, end it before starting another one. Those who cheat on their partners who are loyal to them; don’t deserve them. It is a trashy attitude to disrespect a person who is loyal in a relationship, by cheating on him or her. If you succeed in cheating someone, don’t think that the person is a fool realize that the person trusted you much, more than you deserve. If you noticed any suspicious act on your partner if he or she is cheating. You need to write to them to help you remotely spoof on the target phone to retrieve text messages, call logs, social media activities, bank information and many more. They deliver best services and get you the peace of mind you deserve as my experience with them reveals everything that have been hidden for years. Email:HACKERTECHS001 @ GMAIL COM
Profile Image for Robert Son.
52 reviews
Read
June 7, 2026
Hire a Hacker to Catch a Cheating Spouse

Ethical Hacking, Digital Forensics & Cyber Investigations by Hackertechs Services.

Contact Information:
Email: Hackertechs001@Gmail.Com
Telegram: +1 626-244-7310

Suspecting infidelity is emotionally exhausting. Doubt, anxiety, and unanswered questions can quietly consume your peace of mind. In today’s digital world, affairs are no longer limited to secret meetings—they often happen through WhatsApp, social media, hidden emails, dating apps, and encrypted phones.

That’s why more people now choose to hire a hacker to catch a cheating spouse—not an illegal hacker, but a licensed ethical hacker and private investigator who can uncover the truth legally, discreetly, and professionally.



At Hackertechs Service, we specialize in ethical hacking, digital forensics, and cybersecurity investigations designed to reveal hidden digital behavior while preserving privacy, legality, and evidence integrity.


Contact Information:
Email: Hackertechs001@Gmail.Com
Telegram: +1 626-244-7310
30 reviews
Read
June 5, 2026
Email: HACKERTECHS001@GMAIL.COM
Do you suspect your spouse of cheating? Don’t know how to clarify your doubts? Well, you are not alone. It is natural for a partner to feel insecure about their relationship when their significant other isn’t paying them the attention they once did. You would like to know what’s going on with your spouse or partner. More specifically, you want to know for sure whether your spouse is cheating on you before you end up confronting them. Fortunately, there is a way to do so and be completely discreet about it. All you have to do is to hire this hacker called ( HACKERTECHS ) with good cyber ratings on this forum to help you hack your spouse phone, he’s professional, genuine and reliable. Relay all your problems to him and he’ll help you out I was able to access my cheating partner cellphone in less than 2 hours and it is perfectly setup to ease my insecurities. The monitoring dashboard is so lovely and very easy to use. Only messages him via any of his contacts details below.
Via Telegram - https://t.me/hackertechs001
Text - +1 (626) 244 7310
EMAIL-// HACKERTECHS001 (@) GMAIL (.) COM
51 reviews
Read
June 7, 2026
I highly recommend Hackertechs Cyber Service to anyone looking to hack/spy or recover lost/deactivated Facebook/instagram/TikTok, Meta related accounts, traceable scam funds . The important thing is ensure you still have access to the initial email used to create the account.
To Hire -( Hackertechs001@Gmail.Com )/ ( +16262447310 via telegram or text ) via Mail only.
Have always had trust issues with my spouse so I hired HACKERTECHS TEAM ( Hackertechs001@Gmail.Com ) to help me gain access into my Wife’s iCloud/iphone to be sure she isn’t a cheat, because I am planning to propose to her very soon, and with the help of this team of private investigators, I successfully gained access into her iCloud, WhatsApp, Instagram and Snapchat
Profile Image for Helen Dro.
30 reviews
Read
June 4, 2026
I highly recommend Hackertechs Cyber Service to anyone looking to recover lost/deactivated Facebook/instagram/TikTok, Meta related accounts, traceable scam funds . The important thing is ensure you still have access to the initial email used to create the account.
To Hire -( Hackertechs001@gmail.com )/ ( +16262447310 via telegram or text ) via Mail only.
Have always had trust issues with my spouse so I hired HACKERTECHS TEAM ( Hackertechs001 @ Gmail Com ) to help me gain access into my Wife’s iCloud/iphone to be sure she isn’t a cheat, because I am planning to propose to her very soon, and with the help of this team of private investigators, I successfully gained access into her iCloud, WhatsApp, Instagram and Snapchat
29 reviews
Read
June 4, 2026
I highly recommend Hackertechs Cyber Service to anyone who always have trust issues with your spouse. I hired HACKERTECHS TEAM ( Hackertechs001@Gmail.Com ) to help me gain access into my Wife’s iCloud/iphone to be sure she isn’t a cheat, because I am planning to propose to her very soon, and with the help of this team of private investigators, I successfully gained access into her iCloud, WhatsApp, Instagram and SnapchatThe important thing is ensure you still have access to the initial email used to create the account.

To Hire -( Hackertechs001@gmailcom )/ ( +16262447310 via telegram or text ) via Mail only.
Profile Image for Emily.
206 reviews13 followers
September 6, 2015
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. Eventually gave up on dropping WingIDE into Kali 2.0 and stuck with CLI and good ol' GCC.
Profile Image for Muhammad.
31 reviews7 followers
September 4, 2017
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.
Profile Image for Anton Antonov.
359 reviews52 followers
August 3, 2024
This tech book was quite different from the ones I’ve read before, especially at that period of time.
It offered a unique and enjoyable reading experience. Although hacking and penetration testing aren’t my areas of interest, the book helped me confirm that.

What I did find valuable was learning how to write small Python programs for decoding the Internet Protocol (IP) and ICMP. It served as a fun introduction to concepts that were relatively new to me at the time.

The book delves further into hacking and writing various small hacky programs. While it’s entertaining, it’s not my preferred type of fun - and that’s perfectly fine.

P.S. There’s also a 2nd edition from 2021 that I haven’t checked out yet. I recommend starting with that one, as the book now uses dated Python libraries.
44 reviews
Read
June 8, 2026
Hire a Hacker to Catch a Cheating Spouse

Ethical Hacking, Digital Forensics & Cyber Investigations by Hackertechs Services.

Contact Information:
Email: Hackertechs001@Gmail.Com
Text / Telegram: +1 626-244-7310

Suspecting infidelity is emotionally exhausting. Doubt, anxiety, and unanswered questions can quietly consume your peace of mind. In today’s digital world, affairs are no longer limited to secret meetings—they often happen through WhatsApp, social media, hidden emails, dating apps, and encrypted phones.

That’s why more people now choose to hire a hacker to catch a cheating spouse—not an illegal hacker, but a licensed ethical hacker and private investigator who can uncover the truth legally, discreetly, and professionally.

At Hackertechs Service, we specialize in ethical hacking, digital forensics, and cybersecurity investigations designed to reveal hidden digital behavior while preserving privacy, legality, and evidence integrity.


Why People Hire a Hacker to Catch a Cheating Partner


Clients come to us when:

* Their spouse suddenly guards their phone
* Messages and call logs keep disappearing
* Social media behavior has changed
* Devices are locked or encrypted
* Financial activity seems hidden
* They need evidence for divorce or custody cases


Contact Information:
Email: Hackertechs001@Gmail.Com
Text / Telegram: +1(626) 244-7310
53 reviews
Read
June 8, 2026
HIRE A LEGITIMATE ETHICAL HACKER FOR HELP

Ethical Hacking, Digital Forensics & Cyber Investigations by Hackertechs Services.

Contact Information:
Email: Hackertechs001@Gmail.Com
Text / Telegram: +1 626-244-7310

Suspecting infidelity is emotionally exhausting. Doubt, anxiety, and unanswered questions can quietly consume your peace of mind. In today’s digital world, affairs are no longer limited to secret meetings—they often happen through WhatsApp, social media, hidden emails, dating apps, and encrypted phones.

That’s why more people now choose to hire a hacker to catch a cheating spouse—not an illegal hacker, but a licensed ethical hacker and private investigator who can uncover the truth legally, discreetly, and professionally.

At Hackertechs Service, we specialize in ethical hacking, digital forensics, and cybersecurity investigations designed to reveal hidden digital behavior while preserving privacy, legality, and evidence integrity.


Why People Hire a Hacker to Catch a Cheating Partner.
Clients come to us when:

* Their spouse suddenly guards their phone
* Messages and call logs keep disappearing
* Social media behavior has changed
* Devices are locked or encrypted
* Financial activity seems hidden
* They need evidence for divorce or custody cases

Contact Information:
Email: Hackertechs001@Gmail.Com
Text / Telegram: +1(626) 244-7310
27 reviews
Read
June 7, 2026
HIRE A LEGITIMATE ETHICAL HACKER!

HACKERTECHS001@GMAIL.COM
Seems all my emails to mspy company concerning the malfunctioning on the app is time wasting. Saw good reviews and recommendations about this team satisfactory delivery I am using their services to view my spouse phone secretly and with ease. I definitely recommend him, THANK YOU HACKERTECHS SERVICE, I extend my heartfelt gratitude to everyone who recommended the services of HACKERTECHS . This service demonstrates remarkable efficacy in remotely accessing the mobile phones of unfaithful partners. For the past two weeks, I've been tirelessly seeking this opportunity, and through divine intervention, I was led to this hacker who has liberated me from the clutches of my cheating spouse. I now possess concrete evidence to support my case for divorce, as her infidelity stands exposed. If you are grappling with similar concerns regarding your partner, I strongly suggest considering this experts assistance. He delivers exceptional results, just as he did for me. Feel free to contact him using the provided details.
Here is their Gmail - HACKERTECHS001 @ GMAIL COM
43 reviews
Read
June 7, 2026
( HACKERTECHS001@GMAILCOM / +1(626)2447310 ) In needs of an expert to help you get cheating translated proofs He and his team has played a role in the industry to catching any cheating partner remotely
If you need help to catch any cheating partner just like he did for me, i recommend you should hire him and thank me later. (Hackertechs001@gmail.com)His name is Henry Goblets, He is the go-to private investigator to help people use to keep an eye on their partners. What is so special about it? His service lets you monitor virtually any activity on your partner’s phone, including text messages, call logs, and even location, listen to outgoing calls, gps live location
Given how easy it is to use, you’ll get started within minutes, all thanks to him as he set it up remotely! He also has one of a few apps to track spouse phone that come with a blocking feature. If his/her phone usage is getting out of hand, you can monitor or block specific apps and websites in one tap. Email this private investigator below that helped me.
Profile Image for Silas Hue.
43 reviews
Read
June 8, 2026
HIRE A PRIVATE INVESTIGATOR TO CATCH A CHEATER : HACKER FOR HIRE NEEDED

HACKERTECHS001@GMAIL.COM
Hello there, am recommending everyone to a very trusted, reliable and gifted hacker. He is competent, and provides excellent services. She is very affordable and charges way less,

Many services he can offers include: Social Media Hack( Snapchat, WhatsApp, Instagram, Facebook/Messenger, Twitter, Viber etc.), GPS Location Tracking, Recovering of lost bitcoin/ bitcoin account, Intercepting and Retrieving Instant Messages, Credit Score Increase, WhatsApp Spy, Facebook/Messenger Spy, Skype Spy in real time, Remotely Accessing SMS, retrieve deleted files, Private Investigator, crypto currency wallet hijack, erase leaked sex tape of all kinds. What made me had trust in him was his offer of total Refund of any displeasing services but i didn't have to use that Choice.
HACKERTECHS001@GMAIL COM
33 reviews
June 5, 2026
Hackertechs001@Gmail.Com
Huge thanks to Hackertechs Spy for helping me uncover the painful truth. I had long suspected my girlfriend was cheating on WhatsApp , and they helped me securely access her phone and social media including Facebook and Snapchat , what I found confirmed everything. Their service was fast, discreet, and incredibly professional. I finally got the clarity I needed, and I’ll always be grateful. So many people recommend them and now I see why. If you need help uncovering the truth, This is the team to trust and can vouch for . Reach them on email:( Hackertechs001 @ Gmail Com )to get the help you need as well.
Profile Image for Helium Christel.
8 reviews
Read
June 8, 2026
UNCOVER INFIDELITY THROUGH ETHICAL HACKING AND LEGIT HACKERS

Have always had trust issues with my spouse so I hired HACKERTECHS TEAM ( Hackertechs001@Gmail.Com ) to help me gain access into my Wife’s iCloud/iphone to be sure she isn’t a cheat, because I am planning to propose to her very soon, and with the help of this team of private investigators, I successfully gained access into her iCloud, WhatsApp, Instagram and Snapchat and now I can monitor what ever she does on her Iphone.. thank you so much HACKERTECHS TEAM. If you need this kind of service, then hire them via the Gmail- ( Hackertechs001@Gmail.Com ) / (+1 (626) 244-7310)
30 reviews
Read
June 5, 2026
Have always had trust issues with my spouse so I hired HACKERTECHS TEAM ( Hackertechs001 @ Gmail Com ) to help me gain access into my Wife’s iCloud/iphone to be sure she isn’t a cheat, because I am planning to propose to her very soon, and with the help of this team of private investigators, I successfully gained access into her iCloud, WhatsApp, Instagram and Snapchat and now I can monitor what ever she does on her Iphone.. thank you so much HACKERTECHS TEAM. If you need this kind of service, then hire them via the Gmail- ( Hackertechs001@Gmail.Com ) / (+1 (626) 244-7310)
Profile Image for Love Dubem.
51 reviews
Read
June 7, 2026
Have always had trust issues with my spouse so I hired HACKERTECHS TEAM ( Hackertechs001 @ Gmail Com ) to help me gain access into my Wife’s iCloud/iphone to be sure she isn’t a cheat, because I am planning to propose to her very soon, and with the help of this team of private investigators, I successfully gained access into her iCloud, WhatsApp, Instagram and Snapchat and now I can monitor what ever she does on her Iphone.. thank you so much HACKERTECHS TEAM. If you need this kind of service, then hire them via the Gmail- ( Hackertechs001@Gmail.Com ) / (+1 (626) 244-7310)
1 review
June 10, 2023
First half of the book, 90 pages are good, but then shifts to Windows stuff.
I liked the examples with multi threading.
However “Violent Python, Syngress” is a much better read and if you have red that one, you can skip this one.
Profile Image for baas.
37 reviews2 followers
December 30, 2023
Read this throughout 2023 for great insights and ways to create some good Python scripts. It's a bit outdated (Python 2.7) and not suitable for beginners at all. Make sure to be proficient with Python before buying
42 reviews1 follower
May 25, 2025
Terrific book with heaps of theory and hands on examples. Covers a lot of topics.

By the end of the book I was not "coding along", but rather just reading through the examples.

Some parts were a bit dated, but most of the examples still worked.
16 reviews1 follower
October 7, 2017
Python ทำให้ทุกอย่างง่ายดาย แม้กระทั่งการเขียน malware
3 reviews1 follower
May 2, 2019
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?
Profile Image for Michal Zima.
6 reviews5 followers
April 5, 2020
Excellent content, so many things to learn it's hard to find a start.

But the code could be written in python3
Profile Image for عَبدُالكَرِيمْ .
207 reviews3 followers
February 22, 2021
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.
645 reviews
August 20, 2021
Interesting codes, but book hard to read on an eReader because of the way the code was linked to the explanation.
9 reviews
February 26, 2022
Entry levels for for hacking. There’s not much about python. Good examples and use cases. Things are well explained. I skipped several chapters as its windows related though.
Displaying 1 - 30 of 44 reviews