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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.