Last active
September 29, 2024 11:07
-
-
Save 1lastBr3ath/85829d350cd19304e40ffdb2f73b73d7 to your computer and use it in GitHub Desktop.
Revisions
-
1lastBr3ath renamed this gist
Mar 11, 2018 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,13 @@ - Navigate to page from where you want to extract links - Open your browser's console and paste the following ; ```js 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 ```bash 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 :) -
1lastBr3ath created this gist
Sep 11, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ - 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 :)