From 100b81db74df5f5a3067bab1cb3635a38df0a177 Mon Sep 17 00:00:00 2001 From: ZonkSec Date: Thu, 8 Mar 2018 13:31:41 -0600 Subject: [PATCH] adding dirb support adding two port actions for dirb (https://tools.kali.org/web-applications/dirb) to default config. one for http and one for https. its much like dirbuster, except it can run on command line, therefore fully within sparta with one click and no config. --- app/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/settings.py b/app/settings.py index 25b1d1b..adca224 100644 --- a/app/settings.py +++ b/app/settings.py @@ -86,7 +86,9 @@ def createDefaultSettings(self): self.actions.beginGroup('PortActions') self.actions.setValue("banner", ["Grab banner", "bash -c \"echo \"\" | nc -v -n -w1 [IP] [PORT]\"", ""]) self.actions.setValue("nmap", ["Run nmap (scripts) on port", "nmap -Pn -sV -sC -vvvvv -p[PORT] [IP] -oA [OUTPUT]", ""]) - self.actions.setValue("nikto", ["Run nikto", "nikto -o \"[OUTPUT].txt\" -p [PORT] -h [IP]", "http,https,ssl,soap,http-proxy,http-alt"]) + self.actions.setValue("nikto", ["Run nikto", "nikto -o \"[OUTPUT].txt\" -p [PORT] -h [IP]", "http,https,ssl,soap,http-proxy,http-alt"]) + self.actions.setValue("dirb", ["Run dirb (http)", "dirb http://[IP]:[PORT] -S -o \"[OUTPUT].txt\"", "http,https,ssl,soap,http-proxy,http-alt"]) + self.actions.setValue("dirbs", ["Run dirb (https)", "dirb https://[IP]:[PORT] -S -o \"[OUTPUT].txt\"", "http,https,ssl,soap,http-proxy,http-alt"]) self.actions.setValue("dirbuster", ["Launch dirbuster", "java -Xmx256M -jar /usr/share/dirbuster/DirBuster-1.0-RC1.jar -u http://[IP]:[PORT]/", "http,https,ssl,soap,http-proxy,http-alt"]) self.actions.setValue("webslayer", ["Launch webslayer", "webslayer", "http,https,ssl,soap,http-proxy,http-alt"]) self.actions.setValue("whatweb", ["Run whatweb", "whatweb [IP]:[PORT] --color=never --log-brief=\"[OUTPUT].txt\"", "http,https,ssl,soap,http-proxy,http-alt"])