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 now! 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
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Python Web Penetration Testing

You're reading from   Learning Python Web Penetration Testing Automate web penetration testing activities using Python

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher Packt
ISBN-13 9781789533972
Length 138 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Christian Martorella Christian Martorella
Author Profile Icon Christian Martorella
Christian Martorella
Arrow right icon
View More author details
Toc

Taking screenshots of the findings

In this short section, we're going to learn how to automatically take a screenshot from our BruteForcer. We're going to see why taking pictures can be useful, and which libraries we need to add this capability to our script. Finally, we're going to run a new BruteForcer and take some pictures.

What do we want to achieve in this section? Basically, we want to take a screenshot of every resource that returns a 200 code. This will help us to speed up the analysis of big apps, or test multiple apps in a shorter period of time.

For this, I chose the selenium web driver for Python (http://docs.seleniumhq.org) and PhantomJS (http://phantomjs.org/). Selenium WebDriver is a tool used to automate web browsers pragmatically, mainly for software testing purposes. Selenium WebDriver will drive PhantomJS, which is a headless browser, and has...

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