Created
June 24, 2020 17:31
-
-
Save Avileox/4c986f2dba28d0482ed3dd36ae8a89c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
GREEN='\033[0;32m' | |
YELLOW='\033[0;33m' | |
CYAN='\033[0;36m' | |
END='\033[0m' | |
echo -e """${CYAN} | |
____ ______ __ | |
/ __ \/ __/ /____/ /______ | |
/ /_/ / /_/ / ___/ __/ ___/ | |
/ _, _/ __/ / /__/ /_/ / | |
/_/ |_/_/ /_/\___/\__/_/ | |
${GREEN}-Avileox | |
${GREEN}Use value xref1 to check the refection in source code | |
""" | |
url=$1 | |
rcode=`curl -s "$url" | grep "xref1"` | |
if [[ $rcode == *"xref1"* ]]; | |
then | |
printf "${GREEN}[+]${END} Scan Has Been Completed. \\n"; | |
printf "${GREEN}[+]${END} Reflection has been found. \\n"; | |
printf "${GREEN}[+]${END} Migh Be Vulnerable to XSS"; | |
elif [[ $rcode == "" ]]; then | |
printf "${GREEN}[+]${END} Scan Has Been Completed\\n"; | |
printf "${GREEN}[+]${END} No Reflection has been found \\n"; | |
fi | |
echo -e "\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment