One-liner: Extract Endpoints from JavaScript

ReconDiscovery

From awesome-oneliner-bugbounty by Dwi Siswanto and contributors, under the MIT licence. Shown as written; the title and classification are ours. Licences. Its authors can have this tip removed by writing to abuse@bugbountytips.org.

@renniepak

bash
cat FILE.js | grep -oh "\"\/[a-zA-Z0-9_/?=&]*\"" | sed -e 's/^"//' -e 's/"$//' | sort -u

Comments

No comments yet.