How to extract certain links from pages with obfuscated links (behind php redirects).
1. Grab the url of the page containing the links
2. Go to https://hackertarget.com/extract-links/ or similar and get the links
3. The links we are interested are behind php redirects, so we can run the following bash script to collect them
links="
https://www.blahblah.com/blah1.php
https://www.blahblah.com/blah2.php
https://www.blahblah.com/blah3.php
https://www.blahblah.com/blah4.php
https://www.blahblah.com/blah5.php
"
for i in $links;
do curl -sw "\n\n%{redirect_url}" $i ;
done
0 Comments:
Post a Comment
<< Home