Bolt is in beta phase of development which means there can be bugs. Any production use of this tool discouraged. Pull requests and issues are welcome.
Also Read : PRETty : “PRinter Exploitation Toolkit” LAN Automation Tool
Workflow
Crawling
Bolt crawls the target website to the specified depth and stores all the HTML forms found in a database for further processing.
Evaluating
In this phase, Bolt finds out the tokens which aren’t strong enough and the forms which aren’t protected.
Comparing
This phase focuses on detection on replay attack scenarios and hence checks if a token has been issued more than one time.
It also calculates the average levenshtein distance between all the tokens to see if they are similar. Tokens are also compared against a database of 250+ hash patterns.
Observing
In this phase, 100 simultaneous requests are made to a single webpage to see if same tokens are generated for the requests.
Testing
This phase is dedicated to active testing of the CSRF protection mechanism.
It includes but not limited to checking if protection exsists for mobile browsers, submitting requests with self-generated token and testing if token is being checked to a certain length.
Analysing
Various statistical checks are performed in this phase to see if the token is really random. Following tests are performed during this phase
Usage
Scanning a website for CSRF using Bolt is as easy as doing
python3 bolt.py -u https://github.com -l 2
Where -u is used to supply the URL and -l is used to specify the depth of crawling.
Other options and switches:
Credit : hashID & highfestiva
Introduction to the Model Context Protocol (MCP) The Model Context Protocol (MCP) is an open…
While file extensions in Linux are optional and often misleading, the file command helps decode what a…
The touch command is one of the quickest ways to create new empty files or update timestamps…
Handling large numbers of files is routine for Linux users, and that’s where the find command shines.…
Managing files and directories is foundational for Linux workflows, and the mv (“move”) command makes it easy…
Creating directories is one of the earliest skills you'll use on a Linux system. The mkdir (make…