You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: chomp-scan.sh
+36-4
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@ ENABLE_FFUF=0;
50
50
ENABLE_GOBUSTER=0;
51
51
ENABLE_DIRSEARCH=0;
52
52
ENABLE_SUBJACK=0;
53
+
ENABLE_CORSTEST=0;
53
54
ENABLE_BFAC=0;
54
55
ENABLE_WHATWEB=0;
55
56
ENABLE_WAFW00F=0;
@@ -119,7 +120,7 @@ function usage() {
119
120
echo -e "$BLUE""\\t-c \\n\\t\\t$ORANGE (optional) Enable content discovery phase. The wordlist for this option defaults to short if not provided.""$NC";
120
121
echo -e "$BLUE""\\t-C wordlist \\n\\t\\t$ORANGE (optional) The wordlist to use for content discovery. Five built-in lists, small, medium, large, xl, and xxl can be used, as well as the path to a custom wordlist. The default is small.""$NC";
121
122
echo -e "$BLUE""\\t-s \\n\\t\\t$ORANGE (optional) Enable screenshots using Aquatone.""$NC";
122
-
echo -e "$BLUE""\\t-i \\n\\t\\t$ORANGE (optional) Enable information gathering phase, using subjack, bfac, whatweb, wafw00f, and nikto.""$NC";
123
+
echo -e "$BLUE""\\t-i \\n\\t\\t$ORANGE (optional) Enable information gathering phase, using subjack, CORStest, bfac, whatweb, wafw00f, and nikto.""$NC";
123
124
echo -e "$BLUE""\\t-p \\n\\t\\t$ORANGE (optional) Enable portscanning phase, using masscan (run as root) and nmap.""$NC";
124
125
echo -e "$BLUE""\\t-I \\n\\t\\t$ORANGE (optional) Enable interactive mode. This allows you to select certain tool options and inputs interactively. This cannot be run with -D.""$NC";
125
126
echo -e "$BLUE""\\t-D \\n\\t\\t$ORANGE (optional) Enable default non-interactive mode. This mode uses pre-selected defaults and requires no user interaction or options. This cannot be run with -I.""$NC";
@@ -306,6 +307,10 @@ function parse_config() {
306
307
ENABLE_SUBJACK=1;
307
308
fi
308
309
310
+
if [[ $(grep '^ENABLE_CORSTEST'"$CONFIG_FILE"| cut -d '=' -f 2)=="YES" ]];then
311
+
ENABLE_CORSTEST=1;
312
+
fi
313
+
309
314
if [[ $(grep '^ENABLE_BFAC'"$CONFIG_FILE"| cut -d '=' -f 2)=="YES" ]];then
310
315
ENABLE_BFAC=1;
311
316
fi
@@ -1583,7 +1588,7 @@ function run_corstest() {
1583
1588
DIFF=$(( END - START ));
1584
1589
echo -e "$GREEN""[i]$BLUE CORStest took $DIFF seconds to run.""$NC";
1585
1590
else
1586
-
echo -e "$GREEN""[i]$BLUE Running CORStest against all $(wc -l "$2"| cut -d '' -f 1)unique discovered domains.""$NC";
1591
+
echo -e "$GREEN""[i]$BLUE Running CORStest against all $(wc -l "$2"| cut -d '' -f 1) discovered interesting domains.""$NC";
0 commit comments