Book Image

Hands-On Bug Hunting for Penetration Testers

By : Joe Marshall, Himanshu Sharma
Book Image

Hands-On Bug Hunting for Penetration Testers

By: Joe Marshall, Himanshu Sharma

Overview of this book

Bug bounties have quickly become a critical part of the security economy. This book shows you how technical professionals with an interest in security can begin productively—and profitably—participating in bug bounty programs. You will learn about SQli, NoSQLi, XSS, XXE, and other forms of code injection. You’ll see how to create CSRF PoC HTML snippets, how to discover hidden content (and what to do with it once it’s found), and how to create the tools for automated pentesting work?ows. Then, you’ll format all of this information within the context of a bug report that will have the greatest chance of earning you cash. With detailed walkthroughs that cover discovering, testing, and reporting vulnerabilities, this book is ideal for aspiring security professionals. You should come away from this work with the skills you need to not only find the bugs you're looking for, but also the best bug bounty programs to participate in, and how to grow your skills moving forward in freelance security research.
Table of Contents (16 chapters)

Technical Requirements

For this chapter, we'll be using Burp Suite and its hidden content features, as well as Chrome (66.0.3359.139). We'll also be using WebGoat, an intentionally vulnerable app created by OWASP that you can download and practice against.

Please clone or download the repository to your local system (https://github.com/WebGoat/WebGoat).

There are several ways you can set up WebGoat. You can download and run it as a jar executable (as we've been doing with Burp Suite), you can download a Docker image, or you can build it directly from source. Although using jvm to manage Java dependencies works for Burp, I prefer to use Docker when it's available, since there's so much great tooling around it.

There is one concern: if you're running the Burp Suite proxy and using the default proxy ports (localhost:8080), you'll need to make sure...