@@ -19,14 +19,22 @@ echo -e "$cyan
1919 ╚══▀▀═╝ ╚═════╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝
2020$end "
2121
22- printf " $bold$blue ** Developed by theinfosecguy ** \n\n$end "
22+ printf " $bold$blue ** Developed by theinfosecguy <3 ** \n\n$end "
2323
2424contruct_mode (){
25+ if [ -d " results" ]
26+ then
27+ cd results;
28+ else
29+ mkdir results;
30+ cd results;
31+ fi
32+
2533 echo -e " ${green} Creating Directory for $1 ....$end " ;
2634
2735 if [ -d " $1 " ]; then
28- printf " $red $1 Directory already exits. Please try again.\n\n$end " ;
29- exit 1;
36+ printf " $red $1 Directory already exits. Please try again.\n\n$end " ;
37+ exit 1;
3038 fi
3139
3240 mkdir $1
@@ -49,12 +57,16 @@ contruct_mode(){
4957}
5058
5159usage (){
52- printf " Usage Coming Soon\n"
60+ printf " QuickXSS Usage:\n\n"
61+ printf " ./QuickXSS.sh -d <target.com>\n"
62+ printf " ./QuickXSS.sh -d <target.com> -b <blindxss.xss.ht>\n"
63+ printf " ./QuickXSS.sh -d <target.com> -o xss_results.txt \n"
64+ printf " ./QuickXSS.sh -d <target.com> -b <blindxss.xss.ht> -o xss_results.txt\n\n"
5365 exit 1;
5466}
5567
5668missing_arg (){
57- echo -e " ${red}${bold} Missing Argument $1 $end " ;
69+ echo -e " ${red}${bold} Missing Argument $1 $end \n " ;
5870 usage;
5971}
6072
@@ -92,11 +104,11 @@ done
92104if [ -z " $out " ]
93105then
94106 out=" results.txt"
107+ printf " No Output File selected, Results will be stored in $out \n"
95108fi
96109
97110# STart XSS Hunting by checking if Blind XSS payload is present or not.
98- if [ -z " $blind " ]
99- then
111+ if [ -z " $blind " ] ; then
100112 echo " XSS Automation Started using Dalfox.."
101113 dalfox file $domain_xss .txt -o $out
102114else
105117fi
106118
107119# Final Result
108- echo -e " XSS automation completed, Results stored in$blue $domain Directory $ end"
120+ echo -e " XSS automation completed, Results stored in$blue results/ $domain ${ end} Directory "
0 commit comments