LinkFinder
Extract endpoints from JavaScript files
Recon & OSINT5 commands
#js#link#endpoint#recon#python
Installation
1Clone the repository
2Install Python dependencies
3Verify installation
# Clone the repository
git clone https://github.com/GerbenJavado/LinkFinder.git
cd LinkFinder
# Install dependencies
pip install -r requirements.txt
# Verify
python3 linkfinder.py -hBasic Usage
Extract URLs and endpoints from JavaScript files
# Scan a remote JS file
python3 linkfinder.py -i https://example.com/script.js -o cli
# Scan with HTML output
python3 linkfinder.py -i https://example.com/script.js -o html
# Scan a local JS file
python3 linkfinder.py -i script.js -o cli
# Output to file
python3 linkfinder.py -i https://example.com/script.js -o html -d output_dirCommand Reference
5 commands
1Input URL or file
-i2Output format (cli/html)
-o3Output directory for HTML
-d4Regex for custom endpoint matching
-r5Include subdomains
-bWhen to Use
1
Finding API endpoints in JavaScript files2
Reconnaissance on modern web applications3
Bug bounty JS endpoint discovery4
Mapping application attack surface5
Analyzing third-party JavaScript integrationsNotes & Tips
1
Uses regex and JS parsing to extract endpoints2
Supports both remote and local JS file analysis3
HTML output provides an interactive view of results4
Can be piped into other recon tools5
Works well with gau and katana for URL collectionCommon Errors & Solutions
ModuleNotFoundError
Run: pip install -r requirements.txt
No endpoints found
Check if the JS file contains URLs; try with -r for custom regex
SSL errors
Use HTTP URL or check certificate validity