xnLinkFinder
Find hidden endpoints in JS files
Recon & OSINT8 commands
#js#endpoint#recon#link#python
Installation
1Clone the repository
2Install Python dependencies
3Verify installation
# Clone the repository
git clone https://github.com/xnl-h4ck3r/xnLinkFinder.git
cd xnLinkFinder
# Install dependencies
pip install -r requirements.txt
# Verify
python3 xnLinkFinder.py -hBasic Usage
Extract endpoints and links from a target website
# Basic scan of a single URL
python3 xnLinkFinder.py -i https://example.com
# Scan with output file
python3 xnLinkFinder.py -i https://example.com -o results.txt
# Scan multiple URLs from a file
python3 xnLinkFinder.py -i urls.txt -o results.txt
# With verbose output
python3 xnLinkFinder.py -i https://example.com -vCommand Reference
8 commands
1Input URL or file containing URLs
-i2Output file path
-o3Subdomain prefix to filter
-sp4Maximum crawl depth
-d5Verbose mode
-v6Silent mode
-s7Number of threads
-t8Cookies for authenticated requests
-cWhen to Use
1
Finding API endpoints in JavaScript files2
Discovering hidden links and paths3
Reconnaissance on single-page applications4
Bug bounty recon on complex web apps5
Extracting endpoints from JS bundlesNotes & Tips
1
More thorough than simple grep-based approaches2
Supports regex patterns for different endpoint types3
Can extract endpoints from inline JavaScript as well4
Respects robots.txt by default5
Use -sp to focus on specific subdomainsCommon Errors & Solutions
ModuleNotFoundError
Run: pip install -r requirements.txt
No endpoints found
Ensure the target contains JavaScript files; increase depth with -d
SSL errors
The target may have certificate issues; try with different URL format