Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Zed Attack Proxy Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Zed Attack Proxy Cookbook

Zed Attack Proxy Cookbook

By : Ryan Soper, Nestor Torres, Ahmed Almoailu
4.7 (7)
close
close
Zed Attack Proxy Cookbook

Zed Attack Proxy Cookbook

4.7 (7)
By: Ryan Soper, Nestor Torres, Ahmed Almoailu

Overview of this book

Maintaining your cybersecurity posture in the ever-changing, fast-paced security landscape requires constant attention and advancements. This book will help you safeguard your organization using the free and open source OWASP Zed Attack Proxy (ZAP) tool, which allows you to test for vulnerabilities and exploits with the same functionality as a licensed tool. Zed Attack Proxy Cookbook contains a vast array of practical recipes to help you set up, configure, and use ZAP to protect your vital systems from various adversaries. If you're interested in cybersecurity or working as a cybersecurity professional, this book will help you master ZAP. You’ll start with an overview of ZAP and understand how to set up a basic lab environment for hands-on activities over the course of the book. As you progress, you'll go through a myriad of step-by-step recipes detailing various types of exploits and vulnerabilities in web applications, along with advanced techniques such as Java deserialization. By the end of this ZAP book, you’ll be able to install and deploy ZAP, conduct basic to advanced web application penetration attacks, use the tool for API testing, deploy an integrated BOAST server, and build ZAP into a continuous integration and continuous delivery (CI/CD) pipeline.
Table of Contents (14 chapters)
close
close

Testing for JavaScript execution

JavaScript execution is the ability to inject and execute JavaScript in a website even if the website has some kind of protection, such as encoding certain characters. For many attackers, simple encoding of characters is not always a challenge; they find a way to bypass this encoding by creating a more complicated payload that is converted by the backend server as JavaScript and is allowed to run on the website.

Getting ready

This lab requires a PortSwigger academy account and ZAP to intercept requests and responses from the server to your browser.

How to do it...

In this recipe, we are going to bypass an encoding mechanism to deliver our payload. You’ll see that we can inject JavaScript into the page and activate the payload because we’ll discover a way to get around the encoding method.

Take the following steps to get started:

  1. Navigate to the URL with the browser proxied to ZAP and log into the PortSwigger Academy...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Zed Attack Proxy Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon