One-liner: Dump URLs from sitemap.xml

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.

@healthyoutlet

bash
curl -s http://HOST/sitemap.xml | xmllint --format - | grep -e 'loc' | sed -r 's|</?loc>||g'

Comments

No comments yet.