Skip to content

Instantly share code, notes, and snippets.

@pwn1sher
Forked from 1lastBr3ath/linkfinder.md
Created May 20, 2018 05:57
Show Gist options
  • Select an option

  • Save pwn1sher/502340881f3e8bf1ca1ca1b38b5c3e58 to your computer and use it in GitHub Desktop.

Select an option

Save pwn1sher/502340881f3e8bf1ca1ca1b38b5c3e58 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
for i in $(cat jslinks.txt); do python linkfinder.py -i "$i" -o cli; done | 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