Using twill to walk through the source

Python has a library that allows you to browse and interact with web applications at the source level. After installing the library, you either import the library or use the twill shell, called twill-sh.

Using twill to walk through the source

You can then load the target website and review the page's source with the following commands:

go http://192.168.195.159/dvwa/index.php
show

This simply shows the source code of the site, which allows you to further interact with the site.

Using twill to walk through the source

This allows you to interact directly with the components of the site and ...

Get Learning Penetration Testing with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.