Skip to content

Commit

Permalink
Create QuickXSS.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
theinfosecguy authored Nov 15, 2020
1 parent 5e4acac commit da8d614
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions QuickXSS.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit da8d614

Please sign in to comment.