Skip to content

Commit

Permalink
Update magicrecon.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
robotshell authored Sep 8, 2021
1 parent fe44f9f commit e0d7698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magicrecon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ vulnerabilities(){
printf "${NORMAL}${CYAN}Obtaining all the JavaScript files of the domain ...${NORMAL}\n\n"
gau $domain |grep -iE '\.js'|grep -iEv '(\.jsp|\.json)' | tee js.txt
printf "${NORMAL}${CYAN}Discovering sensitive data like apikeys, accesstoken, authorizations, jwt, etc in JavaScript files...${NORMAL}\n\n"
python3 ~/tools/secretfinder/SecretFinder.py --input js.txt -o cli | tee secrefinder.txt
python3 ~/tools/SecretFinder/SecretFinder.py --input js.txt -o cli | tee secrefinder.txt
printf "\n"
printf "${NORMAL}${CYAN}Searching enpoints in JS files...${NORMAL}\n\n"
cat js.txt | grep -aoP "(?<=(\"|\'|\`))\/[a-zA-Z0-9_?&=\/\-\#\.]*(?=(\"|\'|\`))" | sort -u | tee endpoints.txt
Expand Down

0 comments on commit e0d7698

Please sign in to comment.