XSStrike is a python3 tool that can be cloned from github using the following command.
git clone https://github.com/s0md3v/XSStrikeXSStrike requires the following packages to operate.
Fuzzywuzzy
python-Levenshtein
prettytable
requests
The ‘pip install –r requirements.txt’ may not work in the case of XSStrike. Try to install the packages using the pip3. Each package can be individually installed as follows.
pip3 install fuzzywuzzy pip3 install python-levenshtein pip3 install prettytable pip3 install requests
python3 xsstrikeThe tool asks for a target url upon loading. The url may contain some parameter to be tested by the tool. Once the url is provided, the tool asks for an optional cookie information. After setting up the url and the cookie information, the tool also gives the option to look for the additional hidden parameters. If more hidden parameters search option is ignored, the tool starts scanning the provided url for possible XSS attacks with the provided parameter.
Similarly, if a url is provided to XSStrike without any parameters, the tool gives the option to test the target url using GET or POST arguments. By selecting GET or POST argument along with the argument data.
XSStrike also generates a series of custom payloads to be tested manually by replacing the url parameters. If any payload matches the XSS requirement, the tool takes over the target website.
XSStrike is loaded with a number of options to test the target websites for possible XSS attacks. The custom payload option allows a red team to test each payload manually against the target website. However, testing each potential payload individually can be toiling job. As a result we will be awarding this tool a rating of 4 out of 5 bunnies.