Search icon CANCEL
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

Scraping interesting stuff

In this section, we'll take a look at how to extract other interesting information such as emails, forms, and comments that will be useful for our security analysis.

We've added recursive capabilities to our crawler, so now we are ready to add more features. In this case, we'll be adding some extraction capabilities for emails because it is always useful to have a valid account, which could be handy during our tests. Forms will be useful where there's information being submitted from the browser to the application. Comments could provide interesting information, which developers may have left in production without realizing.

There is more stuff that you can obtain from web applications but these are usually the most useful:

  1. First, let's add these fields into our item. Open the items.py file in Atom and add the following code...
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