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 scan parameters as follows:

Click on the Start Crawling button:

Let's now browse the results folder of the app, which is at the <Xtreme_InjectCrawler/results> path, to see the URLs and forms discovered as follows:

Let's open the JSON file first to see the contents:

Now, let's open the Pages_Dvwa_test file to see the discovered URLs as follows:

It can therefore be verified that the crawler has successfully crawled the application and identified the links shown in the previous screenshot:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.219.189.247