1ndianl33t / Gf-Patterns

GF Paterns For (ssrf,RCE,Lfi,sqli,ssti,idor,url redirection,debug_logic, interesting Subs) parameters grep
MIT License
1.19k stars 279 forks source link

Add r flag to fix issue #13 #16

Open deepak-pro opened 3 years ago

deepak-pro commented 3 years ago

As the r flag(recursive file searching) was missing in the JSON file, running gf was causing an error and output is "grep: .: Is a directory". So I added r flag on each pattern file.

Screenshot 2020-09-30 at 3 00 01 PM
juniorhero commented 3 years ago

this creates error when it is piped with urls

seems this tool is broken

deepak-pro commented 3 years ago

Do you mean, it creates an error when the r flag is added or without it?

s4s0r1 commented 3 years ago

try changing it with -HnriE

arthur4ires commented 3 years ago
grep -RiIl '"-iE"' | xargs sed -i 's/"-iE"/"-HnriE"/g'

So it is possible to modify all files at once