Skip to content

Instantly share code, notes, and snippets.

@1lastBr3ath
Last active June 1, 2022 06:04
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save 1lastBr3ath/85829d350cd19304e40ffdb2f73b73d7 to your computer and use it in GitHub Desktop.
Save 1lastBr3ath/85829d350cd19304e40ffdb2f73b73d7 to your computer and use it in GitHub Desktop.
Usage of LinkFinder (@GerbenJavado)
  • Navigate to page from where you want to extract links
  • Open your browser's console and paste the following ;
    document.querySelectorAll('script[src]').forEach((i)=>document.write(i.src+'<br/>'))
  • Copy all links and write it into a file (ex: jslinks.txt)
  • Open your terminal and cd to directory where you've downloaded LinkFinder
  • Run the following command
    while IFS= read link; do python linkfinder.py -i "$link" -o cli; done < jslinks.txt | tee -a output.html

You have it- all unique paths only :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment