

Buy anything from 5,000+ international stores. One checkout price. No surprise fees. Join 2M+ shoppers on Desertcart.
Desertcart purchases this item on your behalf and handles shipping, customs, and support to Austria.
Master the art of offensive bash scripting. This highly practical hands-on guide covers chaining commands together, automating tasks, crafting living-off-the-land attacks, and more! In the hands of the penetration tester, bash scripting becomes a powerful offensive security tool. In Black Hat Bash , you’ll learn how to use bash to automate tasks, develop custom tools, uncover vulnerabilities, and execute advanced, living-off-the-land attacks against Linux servers. You’ll build a toolbox of bash scripts that will save you hours of manual work. And your only prerequisite is basic familiarity with the Linux operating system. You’ll learn the basics of bash syntax, then set up a Kali Linux lab to apply your skills across each stage of a penetration test—from initial access to data exfiltration. Along the way, you’ll learn how to perform OS command injection, access remote machines, gather information stealthily, and navigate restricted networks to find the crown jewels. Hands-on exercises throughout will have you applying your newfound skills. Key topics covered include: Bash scripting essentials: From control structures, functions, loops, and text manipulation with grep, awk, and sed. How to set up your lab: Create a hacking environment with Kali and Docker and install additional tools. Reconnaissance and vulnerability scanning: Learn how to perform host discovery, fuzzing, and port scanning using tools like Wfuzz, Nmap, and Nuclei. Exploitation and privilege escalation: Establish web and reverse shells, and maintain continuous access. Defense evasion and lateral movement: Audit hosts for landmines, avoid detection, and move through networks to uncover additional targets. Whether you’re a pentester, a bug bounty hunter, or a student entering the cybersecurity field, Black Hat Bash will teach you how to automate, customize, and optimize your offensive security strategies quickly and efficiently, with no true sorcery required. Review: Awesome book! - Really good book! Review: Simple yet comprehensive and informative - I've utilized BASH scripting for my research, analysis, and testing for nearly a decade, but my knowledge of the BASH terminal was incomplete. Blackhat BASH provides a thorough rundown of the basic fundamentals and then delves into some more advanced topics as the book progresses. This book has helped me to feel considerably more confident with my BASH scripting and has given me TONS of new tricks and techniques to implement into my research, development, and testing. This book can benefit anyone from Whitehats to Grayhats, and Blackhats. As always; BIG UPS to Dolev Farhi, Nick Aleks, and NO STARCH PRESS!!






| Best Sellers Rank | #369,742 in Books ( See Top 100 in Books ) #85 in Linux Networking & System Administration #125 in Computer Hacking #224 in Computer Network Security |
| Customer Reviews | 4.8 out of 5 stars 66 Reviews |
T**U
Awesome book!
Really good book!
M**N
Simple yet comprehensive and informative
I've utilized BASH scripting for my research, analysis, and testing for nearly a decade, but my knowledge of the BASH terminal was incomplete. Blackhat BASH provides a thorough rundown of the basic fundamentals and then delves into some more advanced topics as the book progresses. This book has helped me to feel considerably more confident with my BASH scripting and has given me TONS of new tricks and techniques to implement into my research, development, and testing. This book can benefit anyone from Whitehats to Grayhats, and Blackhats. As always; BIG UPS to Dolev Farhi, Nick Aleks, and NO STARCH PRESS!!
D**Y
Loving this book!
I really appreciate this book in that it give anyone who is interested in this subject the matter the information to get them started in doing their own scripting. I love the workflow of the book. I am just digging in with cgwin, and my kali vm. It's a fun book for the enthusiast. Love the backup material that is included. Solid purchase! Thanks!
B**Z
Exactly what I was looking for, and more
I was looking for a good book for getting starred on bash, preferably geared towards cybersecurity. Lucky day, this was on the verge of being released when I was looking. This book is beautifully and thoughtfully written/designed. The inclusion of building a testing environment is amazing. The book feels awesome, holds awesome content, and is beautifully presented. I really couldn’t be happier
L**N
A great addition
This goes pretty far into bash and it's nice that it sets up a great environment, to save people any issues I would recommend setting up a 80GB VM storage drive in the Kali-linux to avoid any issues when you start to install the containers.
A**H
Excellent choice for pentesting dive (especially for beginners)
Huuge kudos to the authors! Thank YOU! I'm glad I've chosen this book to dive into penseting topic. The lab you've prepared is amazing. It's a real 'toy' I played with throughout the chapters. Practicing all the exercises outlined in the chapters was a real joy. I learned a lot, especially the presence of tools that 'solve' problems of different cases. What I also admire is the fact that I boosted my scripting skills.
M**L
Great
Great book, down to earth hands on learning.
F**C
Excellent addition to any security arsenal
A great addition to any security professional's arsenal. The book, examples, and exercises are indeed simple enough for those without much technical experience. The material is also a wealth of info any security team can use to look for weaknesses, misconfigurations, and inefficiencies in their environment, and how they can use their other security controls such as SIEM, EDR, and others to detect this type of offensive activity.
P**A
Um must-have para qualquer ethical hacker
O livro é muito bom. Bem escrito e de excelente qualidade. Aborda vários assuntos necessários à formação de um ethical hacker.
L**A
Muito bom
Ótimo livro
E**A
Excelente
Shell para segurança.
Trustpilot
1 month ago
1 month ago