Created
October 13, 2016 07:52
-
-
Save theMiddleBlue/502f516b38470446d07fa196d65dc79e to your computer and use it in GitHub Desktop.
Download latest nikto from github, change user agent on configuration file and test it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/sullo/nikto.git; | |
cat nikto/program/nikto.conf | grep -v 'USERAGENT\=' > nikto/program/nikto.conf.new; | |
echo -en '\nUSERAGENT=Mozilla/5.0 (Linux; Android 6.0; ALE-L21 Build/HuaweiALE-L21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.124 Mobile Safari/537.36' >> nikto/program/nikto.conf.new; | |
mv -f nikto/program/nikto.conf.new nikto/program/nikto.conf; | |
perl nikto/program/nikto.pl -Help | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment