Skip to content
Somdev Sangwan edited this page Jan 31, 2019 · 1 revision

Scan a website

Option: -u or --url

For sake of comprehensive testing Bolt doesn't support scanning a single URL. You must specify homepage of the website.

python bolt.py -u "http://example.com"

Crawling depth

Option: -l | Default: 2

This option let's you specify the depth of crawling.

python bolt.py -u "http://example.com" -l 3

Number of threads

Option: -t | Default: 2

It is possible to make concurrent requests to the target while crawling and -t option can be used to specify the number of concurrent requests to make. While threads can help to speed up crawling, they might also trigger security mechanisms. A high number of threads can also bring down small websites.

python bolt.py -u "http://example.com" -t 10 -l 3

Timeout

Option: --timeout | Default: 7

It is possible to specify a number of seconds to wait before considering the HTTP(S) request timed out.

python bolt.py -u "http://example.com/page.php?q=query" --timeout=4

Delay

Option: --delay | Default: 0

It is possible to specify a number of seconds to hold between each HTTP(S) request. The valid value is a int, for instance 1 means a second.

python bolt.py -u "http://example.com" --delay 2

Supply HTTP headers

Option: --headers

This option will open your text editor (default is 'nano') and you can simply paste your HTTP headers and press Ctrl + S to save.

headers demo

If your operating system doesn't support this or you don't want to do this anyway, you can simply add headers from command line seperated by \n as follows:

python bolt.py -u http://example.com --headers "Accept-Language: en-US\nCookie: null"