3 ms·
Black Hat Python, along with RTFM: Red Team Field Manual; are excellent resources for binpacking your brain with some simple effective uses of tools to serve a
by dijit 2y ago
Black Hat Python, along with RTFM: Red Team Field Manual; are excellent resources for binpacking your brain with some simple effective uses of tools to serve a need.
I don't feel the same about this book.
Python is pretty ubiquitous, and RTFM focuses on oneliners and easily composable programs with utilities that already exist on target systems.
A lot of what makes Red Team work harder is the need for portability, which pushes people to need to learn lots of interpreted languages and OS internals.
My memory of using Rust for interop with the OS, is syscalls in win32 api; which consumed the better part of a couple weeks to get right, and required the use of unsafe, a lot.
- daghamm 2y agoI recently read blackhat python. I feel it has not aged well as large parts are dedicated to issues that are no longer relevant. I don't see this book doing the same mistake. On the other hand, I dont know if I want to fight the borrow checker for weeks instead if throwing together a quick script in python...
- nicce 2y ago> I dont know if I want to fight the borrow checker for weeks instead if throwing together a quick script in python... To be fair, you only need to fight if you care about maximum performance.
- lord-squirrel 2y agoHave you read the 2nd Edition or the first one?
- red-iron-pine 2y agothe 2nd edition one is from 2021 and has some errors; there is errata for it it's alright, a lot of stuff I'd characterize as a 'good start'