LinkFinder supports Python 2 & 3 .
$ git clone https://github.com/GerbenJavado/LinkFinder.git $ cd LinkFinder $ python setup.py install
LinkFinder depends on the
requests-file python modules. These dependencies can all be installed using pip .
Short Form | Long Form | Description
-i | --input | Input a: URL, file or folder. For folders a wildcard can be used (e.g. '/*.js').
-o | --output | Where to save the file, including file name or output to CLI. Default: output.html
-r | --regex | RegEx for filtering purposes against found endpoints (e.g. ^/api/)
-b | --burp | Toggle to use when inputting a Burp 'Save selected' file containing multiple JS files
-c | --cookies | Add cookies to the request
-h | --help | show the help message and exit
python linkfinder.py -i https://example.com/1.js -o results.html
CLI ouput (doesn't use jsbeautifier, which makes it very fast):
python linkfinder.py -i https://example.com/1.js -o cli
Burp input (select in target the files you want to save, right click,
Save selected items , feed that file as input):
python linkfinder.py -i burpfile -b
python linkfinder.py -i 'Desktop/*.js' -r ^/api/ -o results.html