VOOZH about

URL: https://www.amazon.com/dp/1718501129/ref=mes-dp

⇱ Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters: 9781718501126: Computer Science Books @ Amazon.com


👁 Image
👁 Image
Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.


Using your mobile phone camera - scan the code below and download the Kindle app.

👁 QR code to download the Kindle App


Follow the authors

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

OK

Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters


{"desktop_buybox_group_1":[{"displayPrice":"$20.78","priceAmount":20.78,"currencySymbol":"$","integerValue":"20","decimalSeparator":".","fractionalValue":"78","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"pVOU%2BGiLaZgHdOx37FCEV0i7cy7%2Bd8gHqvpPTrBIu5BzxRjmAVKAT7KkDDj82F30IgZhNm67iD4MP%2FLMK8%2F5oy0g3UnqWpG%2BvkK%2FKew6SlVR5SUxt6Zfaq55PBKU70q9UnCS3auYbSxY7oiDGvSciQ%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}]}

Purchase options and add-ons


Fully-updated for Python 3, the second edition of this worldwide bestseller (over 100,000 copies 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 from writing network sniffers, stealing email credentials, and bruteforcing directories to crafting mutation fuzzers, investigating virtual machines, and creating stealthy trojans.

All of the code in this edition has been updated to
Python 3.x. You’ll also find new coverage of bit shifting, code hygiene, and offensive forensics with the Volatility Framework as well as expanded explanations of the Python libraries ctypes, struct, lxml, and BeautifulSoup, and offensive hacking strategies like splitting bytes, leveraging computer vision libraries, and scraping websites.

You’ll even learn how to:
  • Create a trojan command-and-control server using GitHub
  • Detect sandboxing and automate common malware tasks like keylogging and screenshotting
  • Extend the Burp Suite web-hacking tool
  • Escalate Windows privileges with creative process control
  • Use offensive memory forensics tricks to retrieve password hashes and find vulnerabilities on a virtual machine
  • Abuse Windows COM automation
  • Exfiltrate data from a network undetected
When it comes to offensive security, you need to be able to create powerful tools on the fly. Learn how with Black Hat Python.
👁 Image
Report an issue with this product or seller


Frequently bought together

This item: Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters
$20.78$20.78
Get it as soon as Friday, Jul 3
In Stock
Ships from and sold by Amazon.com.
$29.35$29.35
Get it as soon as Sunday, Jul 5
Sold by Hope's Ark and ships from Amazon Fulfillment.
Total price: $00$00
To see our price, add these items to your cart.
Try again!
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

Customers who viewed this item also viewed

Page 1 of 1 Start over

Customers also bought or read

Page 1 of 1Start over
Loading...

From the Publisher

About the Author

Justin Seitz is an independent security consultant who has trained and consulted with Fortune 500 companies, law enforcement agencies, and governments around the world. He is the the creator of Hunchly and the author of Gray Hat Python, the first book to cover Python for security analysis. Justin can be found teaching OSINT techniques on his blog and is active on Twitter as @jms_dot_py.

About the Author

Tim Arnold is currently a professional Python programmer and statistician. He spent much of his early career at North Carolina State University as a respected international speaker and educator. Among his accomplishments, he has ensured that educational tools are accessible to underserved communities worldwide, including making mathematical documentation accessible to the blind. Tim lives in North Carolina with his wife, Treva, and a villainous cockatiel named Sidney. You can find him on Twitter at @jtimarnold.

Python for Kids, 2nd Edition: A Playful Introduction to Programming
Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to P...
Automate the Boring Stuff with Python, 3rd Edition
Python Tools for Scientists: An Introduction to Using Anaconda, JupyterLab, a...
Python Playground, 2nd Edition: Geeky Projects for the Curious Programmer
Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters
Customer Reviews
4.7 out of 5 stars 156
4.8 out of 5 stars 2,366
4.8 out of 5 stars 159
4.6 out of 5 stars 59
5.0 out of 5 stars 5
4.7 out of 5 stars 821
Price $21.49$21.49 $23.96$23.96 $29.30$29.30 $43.77$43.77 $32.76$32.76 $20.78$20.78
User experience level Beginner Beginner Beginner Beginner Intermediate Experienced
For readers who want A gentle, kid-friendly introduction to Python A fast-paced, thorough introduction to Python A practical guide to using Python for automating tedious tasks To use Python for research, simulation, and collaboration To deepen their skills and explore creative applications of Python To explore the stealthier side of programming
Compatible with Python version Python 3 Python 3 Python 3 Python 3 Python 3 Python 3
Special features Kid-friendly, full-color code and illustrations Covers Django, matplotlib and plotly, and pygame Covers working with files en masse, automating emails and texts, scraping the web, and more Covers Anaconda, Spyder, Jupyter Notebooks, JupyterLab Covers matplotlib, Numpy, OpenGL, Pillow, Arduino, and Raspberry Pi Covers Python 3.x, Volatility Framework,ctypes, struct, lxml, BeautifulSoup
Page count 368 pages 511 pages 592 pages 744 pages 448 pages 216 pages

About the Publisher

No Starch Press has published the finest in geek entertainment since 1994, creating both timely and timeless titles like Python Crash Course, Python for Kids, How Linux Works, and Hacking: The Art of Exploitation. An independent, San Francisco-based publishing company, No Starch Press focuses on a curated list of well-crafted books that make a difference. They publish on many topics, including computer programming, cybersecurity, operating systems, and LEGO. The titles have personality, the authors are passionate experts, and all the content goes through extensive editorial and technical reviews. Long known for its fun, fearless approach to technology, No Starch Press has earned wide support from STEM enthusiasts worldwide.

Editorial Reviews

Review

“Black Hat Python is a fun read written by experts with years of experience who are willing to share the secrets they have learned along the way. While It might not immediately turn you into a super stunt hacker like me, it will certainly get you started down the correct path.” (from the foreword)
—Charlie Miller, Security Researcher

"This book breaks down how to create powerful tools using Python like network sniffers or keyloggers. This book even goes over how to escalate privileges in Windows."
—Davin Jackson, Alpha Cyber Security, Books to Start Your Penetration Testing Journey

"An essential resource for anyone involved in offensive security or looking to improve their Python programming skills. Its comprehensive coverage, practical examples, and step-by-step instructions make it an invaluable tool for anyone looking to become a skilled hacker or penetration tester."
—InfoSecNoobs.com

Praise for the first edition of Black Hat Python

"Another incredible Python book. With a minor tweak or two many of these programs will have at least a ten year shelf life, and that is rare for a security book."
—Stephen Northcutt, founding president of the SANS Technology Institute

"A great book using Python for offensive security purposes."
—Andrew Case, Volatility core developer and coauthor of The Art of Memory Forensics

"If you truly have a hacker’s mindset, a spark is all you need to make it your own and do something even more amazing. Justin Seitz offers plenty of sparks."
—Ethical Hacker

"Whether you're interested in becoming a serious hacker/penetration tester or just want to know how they work, this book is one you need to read. Intense, technically sound, and eye-opening."
—Sandra Henry-Stocker, IT World

"Definitely a recommended read for the technical security professional with some basic previous exposure to Python."
—Richard Austin, IEEE Cipher

"A well-written book that will put you on track to being able to write powerful and potentially scary tools. It’s up to you to use them for good."
—Steve Mansfield-Devine, editor of Elsevier's Network Security Newsletter

"A well implemented read with lots of good ideas for fun offensive Python projects. So enjoy, and don't forget it's all about the code!"
—Dan Borges, LockBoxx

"A useful eye-opener."
—MagPi Magazine

"If you work as a computer security professional and want to code in Python, this is definitely a book that belongs on your bookshelf."
—Craig Mullins, Data and Technology Today

About the Author

Justin Seitz is the president and co-founder of Dark River Systems Inc., where he spends his time shipping Hunchly (https://www.hunch.ly), consulting for hedge funds and doing OSINT research. He is the author of Gray Hat Python (No Starch Press), the first book to cover Python for security analysis.

Tim Arnold has worked as a professional Python software developer at the SAS Institute for more than 20 years. He contributes to several open source software projects and volunteers as a hacking trainer in his local community.

Product details

Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Videos

Help others learn more about this product by uploading a video!
Upload your video

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.7 out of 5 stars
821 global ratings
How customer reviews and ratings work

Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.

To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.

Learn more how customers reviews work on Amazon


Customers say

Customers find the book valuable for cybersecurity learning, with one noting it's particularly suitable for entry-level professionals. Moreover, the content receives positive feedback for being informative, with one customer highlighting its practical demonstrations. However, the difficulty level receives mixed reviews, with some customers finding it challenging to follow.
AI Generated from the text of customer reviews👁 Image

Select to learn more

17 customers mention content, 16 positive, 1 negative
Customers find the book great for learning cybersecurity, with one customer noting it's particularly suitable for entry-level cybersecurity professionals.
while this looks like a great book, whoever is responsible for the kindle edition (specifically kindle app on a new ipad) did not care enough to...Read more
The book is simply perfect. Good book and good practical contents, complex, but direct at the same time with what it has to say....Read more
This is an amazing book for someone trying to learn new things and techniques for my future endeavors!Read more
...Most is still next level hacking.... but the book is greatRead more
11 customers mention informative, 10 positive, 1 negative
Customers find the book informative and consider it a great resource to add to their arsenal, with one customer noting its ability to explain complex topics.
Great content and very informative, a great resource to add to your arsenal!Read more
...It has some good examples and theory but if you are learning python for cybersecurity I wouldn’t say it’s worth it.Read more
Black Hat Python, 2nd Edition, is an invaluable resource that dives deep into Python programming techniques specifically tailored for ethical...Read more
..."Black Hat Python, 2nd Edition" by Justin Seitz and Tim Arnold was quite helpful....Read more
6 customers mention difficulty, 3 positive, 3 negative
Customers have mixed opinions about the book's difficulty level, with some finding it well-structured with step-by-step instructions that gradually progress from foundational Python programming concepts, while others find it challenging to follow.
...comprehensive guide equips readers with the knowledge and tools necessary to understand and implement advanced cybersecurity concepts using the...Read more
...is going to be a tough read and hard to practice....Read more
...This book makes difficult ideas far simpler by combining theory with practical examples....Read more
...however Kindle version still has bad format which is quite challenging to follow by no matter on which OS book is opened....Read more

Amazon Customer
5 out of 5 stars
Great book !!
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review
There was a problem filtering reviews. Please reload the page.

Top reviews from the United States

  • 5 out of 5 stars
    A Comprehensive Guide to Python Programming for Ethical Hackers and Pentesters
    Reviewed in the United States on June 13, 2023
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Black Hat Python, 2nd Edition, is an invaluable resource that dives deep into Python programming techniques specifically tailored for ethical hackers and penetration testers. This comprehensive guide equips readers with the knowledge and tools necessary to understand and implement advanced cybersecurity concepts using the Python programming language.

    One of the standout features of Black Hat Python, 2nd Edition, is its focus on practicality. The book provides real-world examples and hands-on exercises that allow readers to apply the concepts learned to practical hacking scenarios. By following along with the provided code and step-by-step instructions, readers gain a deeper understanding of how Python can be leveraged for offensive security purposes.

    The book covers a wide range of topics, including network scanning, packet sniffing, exploiting vulnerabilities, building trojans, web hacking, and more. It explores various Python libraries and frameworks that are instrumental in performing these tasks effectively. The author, Justin Seitz, demonstrates a wealth of knowledge and presents complex topics in a manner that is accessible and engaging.

    Black Hat Python, 2nd Edition, places a strong emphasis on ethical hacking and responsible use of the techniques discussed. It highlights the importance of obtaining proper authorization and conducting assessments within legal boundaries. This approach ensures that readers develop a strong ethical framework while honing their technical skills.

    The book's organization and structure are commendable. It gradually progresses from foundational Python programming concepts to more advanced topics, allowing beginners to follow along and grasp the material. Each chapter builds upon the previous ones, creating a cohesive learning experience.

    Seitz's writing style is clear, concise, and engaging, making complex concepts easier to understand. The book strikes a good balance between theoretical explanations and practical demonstrations, ensuring that readers not only comprehend the underlying concepts but also know how to apply them effectively.

    One minor limitation is that due to the rapidly evolving nature of cybersecurity, some of the specific tools and techniques discussed in the book may become outdated over time. However, the foundational knowledge and programming skills gained through Black Hat Python, 2nd Edition, remain invaluable for adapting to new technologies and methodologies.

    In conclusion, Black Hat Python, 2nd Edition, is a highly recommended resource for aspiring ethical hackers, pentesters, and anyone interested in cybersecurity. With its practical approach, extensive coverage of Python hacking techniques, and emphasis on ethical use, this book equips readers with the necessary skills to navigate the world of offensive security effectively. Justin Seitz's expertise and ability to explain complex topics make this book a must-have reference for anyone looking to strengthen their Python programming skills for cybersecurity purposes.

    14 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sorry, we failed to record your vote. Please try again
    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again
  • 5 out of 5 stars
    Great read for students
    Reviewed in the United States on June 4, 2024
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Studying cybersecurity, I thought "Black Hat Python, 2nd Edition" by Justin Seitz and Tim Arnold was quite helpful. This book makes difficult ideas far simpler by combining theory with practical examples. The revised material maintains it current given the cybersecurity issues of today. The practical uses it goes over, such as scraping and sniffing, which are essential skills for anyone working in the field. Whether you're brand-new or seasoned, the simple explanations make it easy to follow. Any student studying cybersecurity should not miss this book since it provides the ideal combination of knowledge and useful abilities through guided projects.

    6 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sorry, we failed to record your vote. Please try again
    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again
  • 5 out of 5 stars
    Python cybersecurity
    Reviewed in the United States on September 6, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Best book for entry level cybersecurity professional new to python.

    One person found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sorry, we failed to record your vote. Please try again
    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again
  • Cliente Amazon
    4 out of 5 stars
    The book is simply perfect. Very good book. Problem with shipping.
    Reviewed in the United States on August 23, 2024
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    The book is simply perfect. Good book and good practical contents, complex, but direct at the same time with what it has to say. Very useful if you want to learn Python but from the point of view of a Hacker or Pentester.

    There was a problem with the shipping, it was solved, but I received the book days later and for a few hours the book was lost, and the shipping agency couldn't track it, and they didn't know where it was. Luckily in the end it was fixed and I received it a few days later.

    One person found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sorry, we failed to record your vote. Please try again
    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again
  • Seagull Stahpitnow
    5 out of 5 stars
    Tough read for a newbie
    Reviewed in the United States on June 23, 2024
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    To start off, I am not the world’s best at writing code. I do have a low level understanding of the concepts and can figure out (with a longer amount of time) how to get some of the code functional.

    With this in mind, this book (if your a beginner or struggle with Python) is going to be a tough read and hard to practice. Its pseudocode is solid and makes the coding easier but you need to beware of pythons syntax differences between the different versions when you are using this. (This is something I struggle with).

    I am beyond happy with this book, albeit there are typos and errors inside it but I think it’s solid for practice in this field.

    Coming from a nontechnical profession, having the concepts explained and taken out from theory into working practice helps understand the practical side of doing something like this.

    Despite being a tough read, i have the frame of mind that ethical hacking and program development is not for a total newbie and some experience is needed for maximum efficiency.

    Hope this helps!

    12 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sorry, we failed to record your vote. Please try again
    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again
  • NewBUTbarelyused
    5 out of 5 stars
    💯 just buy
    Reviewed in the United States on March 22, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Hey guys I'm a im an E-black belt now

    Sending feedback...
    Thank you for your feedback.
    Sorry, we failed to record your vote. Please try again
    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again
  • Kindle Customer
    5 out of 5 stars
    Great learning guide!
    Reviewed in the United States on June 4, 2024
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Great book to learn from and well written!

    Sending feedback...
    Thank you for your feedback.
    Sorry, we failed to record your vote. Please try again
    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again
  • 5 out of 5 stars
    Excelente
    Reviewed in the United States on February 15, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.
    Sending feedback...
    Thank you for your feedback.
    Sorry, we failed to record your vote. Please try again
    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again

Top reviews from other countries

    Translated by Amazon
    See original
  • DeadBossy
    5 out of 5 stars
    Python İle Arası Olan Mutlaka Alsın Ve Siber Güvenlikle Arası Olan
    Reviewed in Turkey on April 26, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Elime Kısa Bir Süre İçerisin'de Ulaştı Şuan Güzel İlerliyor Ben Beğendim.

    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again
    Sorry, we couldn't translate the review
    Translated from Turkish by Amazon
    See original
  • 5 out of 5 stars
    Learn basic Python first
    Reviewed in Australia on December 8, 2023
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Luckily I learnt a lot of python concepts first. Obviously you can't exactly jump into this topic with zero knowledge - good luck if you do. But awesome book!

    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again
  • Barbara Boel
    5 out of 5 stars
    Perfect
    Reviewed in Belgium on May 14, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Mijn zoon van 14 vindt het de max. Zit vaak met dit boek en zijn laptop zaken uit te proberen.

    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again
    Sorry, we couldn't translate the review
    Translated from Dutch by Amazon
    See original
  • Osmar Miotto
    5 out of 5 stars
    Ótimo!
    Reviewed in Brazil on May 24, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Produto ótimo! Possui diversos scripts em python que ajudam a abrir os olhos para trabalhar com sockets e utilitários a partir delas. Existem também scripts feitos para outras finalidades e auxiliam bastante no processo de aprendizagem de segurança cibernética ofensiva.

    A única desvantagem é que os scripts poderiam ser mais discutidos para melhor entendimento de cada parte, portanto se você já tem uma base sólida em python é altamente recomendado. Caso contrário, você vai ter que buscar complementos durante seus estudos e leitura.

    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again
    Sorry, we couldn't translate the review
    Translated from Portuguese by Amazon
    See original
  • PEDRO ALEXANDRE CLEMENTE FERNANDES
    5 out of 5 stars
    Best
    Reviewed in Spain on August 10, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Sorry, We failed to report this review. Please try again
    Sorry, we couldn't translate the review
    Translated from Portuguese by Amazon
    See original