Description
GoLinkFinder extracts endpoints from HTML and JavaScript files. Written in Go for speed, it parses JS files for API routes, relative paths, and full URLs. Faster than Python alternatives for bulk JS analysis.
Installation
BASH
go install github.com/0xsha/GoLinkFinder@latest
Basic Usage
BASH
# Extract endpoints from a URL
GoLinkFinder -d https://target.com
# Output to file
GoLinkFinder -d https://target.com -o endpoints.txt
Advanced Usage
BASH
# With custom cookies
GoLinkFinder -d https://target.com -c "session=abc123; token=xyz"
# Pipe from stdin
echo "https://target.com/app.js" | GoLinkFinder
# Bulk scanning
cat js_urls.txt | while read url; do GoLinkFinder -d "$url"; done | sort -u
Common Workflows
BASH
# Subdomain → JS → Endpoints pipeline
subfinder -d target.com -silent | httpx -silent | while read url; do
GoLinkFinder -d "$url" 2>/dev/null
done | sort -u | tee endpoints.txt
# Filter for interesting paths
GoLinkFinder -d https://target.com | grep -iE "api/|admin|internal|v[0-9]|graphql|upload|config"
# Check endpoints for live responses
GoLinkFinder -d https://target.com | httpx -silent -status-code -content-length