Execution of code

The first step we need to do is to convert the model classes into database tables. This can be done by executing the syncdb() command as shown here:

Once the database tables are created, let's start the Django server as shown here:

We will be testing our crawler against the famous DVWA application to see what it discovers. We need to start the Apache server and serve DVWA locally. The Apache server can be started by running the following command:

service Apache2 start

Now, let's browse the Crawler interface and supply the ...

Get Hands-On 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.