Updating Black Hat Python Scripts for Python 3

Filed under python on October 14, 2019

I’ve been working through the book Black Hat Python, and it’s got some good code recipes, but the code doesn’t really work as is. Black Hat Python Cover

I’m thinking I could do a blog series where I update each script to work with Python 3, then I might port it all to golang for laughs. I’ll start with the Replacing Netcat chapter over the course of this week, and we’ll see how that goes, then take it from there. I hope to not only rewrite the scripts, but go into depth about why they broke, if only to get my own thoughts straight on it.


Stephen Gream

Written by Stephen Gream who lives and works in Melbourne, Australia. You should follow him on Minds