From da8d614a3fd7bdeb3b28e0689a4b89073d688b66 Mon Sep 17 00:00:00 2001 From: Keshav Malik <33570148+theinfosecguy@users.noreply.github.com> Date: Sun, 15 Nov 2020 14:27:00 +0530 Subject: [PATCH] Create QuickXSS.sh --- QuickXSS.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 QuickXSS.sh diff --git a/QuickXSS.sh b/QuickXSS.sh new file mode 100644 index 0000000..f3b9ca9 --- /dev/null +++ b/QuickXSS.sh @@ -0,0 +1,31 @@ +#! /bin/bash + +set -e + +echo -e "\e[1;31m + ██████╗ ██╗ ██╗██╗ ██████╗██╗ ██╗ ██╗ ██╗███████╗███████╗ + ██╔═══██╗██║ ██║██║██╔════╝██║ ██╔╝ ╚██╗██╔╝██╔════╝██╔════╝ + ██║ ██║██║ ██║██║██║ █████╔╝ ╚███╔╝ ███████╗███████╗ + ██║▄▄ ██║██║ ██║██║██║ ██╔═██╗ ██╔██╗ ╚════██║╚════██║ + ╚██████╔╝╚██████╔╝██║╚██████╗██║ ██╗ ██╔╝ ██╗███████║███████║ + ╚══▀▀═╝ ╚═════╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝ + + \e[0m " + + +echo -e "\n\n" + +echo -e "\e[1;34mCreating Directory for $1 .... \e[0m" + +mkdir $1 +cd $1 + +echo -e "\e[1;34m\nFinding URLs for $1 .... \n \e[0m" + +echo "$1" | waybackurls | tee $1.txt + +echo -e "\e[1;31m\nFinding valid URLs for XSS \n \e[0m" + +cat $1.txt | gf xss | sed 's/=.*/=/' | sed 's/URL: //' | tee $1_xss.txt + +dalfox file $1_xss.txt pipe