-
Notifications
You must be signed in to change notification settings - Fork 318
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
"no such pattern" error when executing under sudo #55
Comments
Me too , as i have installed the gf tool and then when i type on terminal gf it shows : no such pattern , if i type gf -list it shows the examples , so i cannot use the tool , its a bug or the problem of parrot systems maybe |
My findings: When performing 'gf --list' I got no results and I found I did not have a ~/.gf directory. I searched and found the json pattern files here: /home/[username]/go/src/github.com/tomnomnom/gf/examples/ My fix: gf works as expected now. |
Thnx worked :) |
Well , i remember that i found a problem i had got another gf and was not full downloaded , but anyway a fixed it a long time ago |
A quick way to find the path to the examples folder is to do a find: sudo find / -type d -name "tomnomnom" Once I found the path I followed the rest of the steps that @stlthwzrd outlined :) |
This is also not working... |
@Karan4580 Try this : git clone https://github.com/1ndianl33t/Gf-Patterns |
Thnx but i have fixed it
Sent from Proton Mail mobile
…-------- Original Message --------
On Nov 23, 2022, 2:45 PM, babatunde-ayoade wrote:
***@***.***(https://github.com/Karan4580)
Try this :
git clone https://github.com/1ndianl33t/Gf-Patterns
mkdir .gf
mv ~/Gf-Patterns/*.json ~/.gf
—
Reply to this email directly, [view it on GitHub](#55 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AQ4HALWGSQMXQVLTAP5WPQLWJYNXBANCNFSM4XUHKZ4Q).
You are receiving this because you commented.Message ID: ***@***.***>
|
Unexpected error while executing something like
echo $string | gf urls
as part of the bash script that need sudo privileges (e.g.massdns
). The simplest example would be:The text was updated successfully, but these errors were encountered: