Skip to content

Commit

Permalink
Add csrf scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
robotshell authored Aug 24, 2021
1 parent 127c724 commit 759c0da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions magicrecon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ vulnerabilities(){
printf "${NORMAL}${CYAN}Checking all known misconfigurations in CORS implementations...${NORMAL}\n\n"
python3 ~/tools/Corsy/corsy.py -u $domainName | tee cors.txt

printf "\n${GREEN}[+] Vulnerability: Cross Site Request Forgery (CSRF/XSRF)${NORMAL}\n"
printf "${NORMAL}${CYAN}Checking all known misconfigurations in CORS implementations...${NORMAL}\n\n"
xsrfprobe -u $domainName --crawl --malicious > csrf.txt
cat csrf.txt

printf "\n${GREEN}[+] Vulnerability: Open Redirect${NORMAL}\n"
printf "${NORMAL}${CYAN}Finding Open redirect entry points in the domain...${NORMAL}\n\n"
gau $domain | gf redirect archive | qsreplace | tee or_urls.txt
Expand Down

0 comments on commit 759c0da

Please sign in to comment.