1 parent 99414a5 commit 5dd2956Copy full SHA for 5dd2956
1 file changed
gobustd.sh
@@ -4,6 +4,9 @@
4
url=$1
5
out=$(echo $url | sed 's/https:\/\///;s|\/.*||')
6
7
+# If the URL was not HTTPS, replace $out
8
+if [[ $out =~ ^http.*$ ]]; then out=$(echo $url | sed 's/http:\/\///;s|\/.*||'); fi
9
+
10
# SecLists files, symlinked to /root/Web_Content
11
files=/root/Web_Content/raft-large-files-lowercase.txt
12
direc=/root/Web_Content/raft-large-directories-lowercase.txt
0 commit comments