Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Bash Shell Scripting for Pentesters

You're reading from   Bash Shell Scripting for Pentesters Master the art of command-line exploitation and enhance your penetration testing workflows

Arrow left icon
Product type Paperback
Published in Dec 2024
Publisher Packt
ISBN-13 9781835880821
Length 402 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Steve Campbell Steve Campbell
Author Profile Icon Steve Campbell
Steve Campbell
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Part 1: Getting Started with Bash Shell Scripting
2. Chapter 1: Bash Command-Line and Its Hacking Environment FREE CHAPTER 3. Chapter 2: File and Directory Management 4. Chapter 3: Variables, Conditionals, Loops, and Arrays 5. Chapter 4: Regular Expressions 6. Chapter 5: Functions and Script Organization 7. Chapter 6: Bash Networking 8. Chapter 7: Parallel Processing 9. Part 2: Bash Scripting for Pentesting
10. Chapter 8: Reconnaissance and Information Gathering 11. Chapter 9: Web Application Pentesting with Bash 12. Chapter 10: Network and Infrastructure Pentesting with Bash 13. Chapter 11: Privilege Escalation in the Bash Shell 14. Chapter 12: Persistence and Pivoting 15. Chapter 13: Pentest Reporting with Bash 16. Part 3: Advanced Applications of Bash Scripting for Pentesting
17. Chapter 14: Evasion and Obfuscation 18. Chapter 15: Interfacing with Artificial Intelligence 19. Chapter 16: DevSecOps for Pentesters 20. Index 21. Other Books You May Enjoy

Part 1: Getting Started with Bash Shell Scripting

In this part, you will establish a solid foundation in Bash scripting specifically tailored for pentesting. Beginning with setting up a proper hacking environment and configuring the Bash shell, this section progresses through essential file and directory management techniques needed for security assessments. You will master core programming concepts, including variables, conditionals, loops, and arrays, before diving into pattern matching with regular expressions – a crucial skill for parsing security tool outputs. The section then advances to function creation and script organization, ensuring you can build maintainable, professional-grade security tools. Moving into networking fundamentals, you will learn how Bash interacts with network services and protocols. The section concludes with parallel processing techniques, enabling you to develop efficient scripts that can handle multiple tasks simultaneously – an essential capability for large-scale security assessments. By the end of Part 1, you will have all the fundamental skills needed to begin writing sophisticated security-focused Bash scripts.

This part has the following chapters:

  • Chapter 1, Bash Command-Line and Its Hacking Environment
  • Chapter 2, File and Directory Management
  • Chapter 3, Variables, Conditionals, Loops, and Arrays
  • Chapter 4, Regular Expressions
  • Chapter 5, Functions and Script Organization
  • Chapter 6, Bash Networking
  • Chapter 7, Parallel Processing
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image