{"id":13762804,"url":"https://github.com/1ndianl33t/Gf-Patterns","last_synced_at":"2025-05-10T15:31:56.915Z","repository":{"id":37347277,"uuid":"255912922","full_name":"1ndianl33t/Gf-Patterns","owner":"1ndianl33t","description":"GF Paterns For (ssrf,RCE,Lfi,sqli,ssti,idor,url redirection,debug_logic, interesting Subs) parameters grep","archived":false,"fork":false,"pushed_at":"2024-09-13T15:04:14.000Z","size":84,"stargazers_count":1273,"open_issues_count":20,"forks_count":288,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-03-26T10:48:54.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1ndianl33t.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"1ndianl33t"}},"created_at":"2020-04-15T12:41:09.000Z","updated_at":"2025-03-24T14:16:10.000Z","dependencies_parsed_at":"2024-10-15T08:01:00.220Z","dependency_job_id":null,"html_url":"https://github.com/1ndianl33t/Gf-Patterns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1ndianl33t%2FGf-Patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1ndianl33t%2FGf-Patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1ndianl33t%2FGf-Patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1ndianl33t%2FGf-Patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1ndianl33t","download_url":"https://codeload.github.com/1ndianl33t/Gf-Patterns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253436613,"owners_count":21908371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T14:00:57.751Z","updated_at":"2025-05-10T15:31:56.702Z","avatar_url":"https://github.com/1ndianl33t.png","language":null,"funding_links":["https://github.com/sponsors/1ndianl33t","https://www.paypal.me/1ndianl33t"],"categories":["Others","Weapons","Others (1002)","Pentesting"],"sub_categories":["Tools","Payloads"],"readme":"# Gf-Patterns V 1.9\n\n## [GF](https://github.com/tomnomnom/gf) By [![Twitter](https://img.shields.io/badge/twitter-@TomNomNom-blue.svg)](https://twitter.com/TomNomNom) \n\nA wrapper around grep, to help you grep for things \n\n# installation\n\n[Go Path Setup](https://github.com/golang/go/wiki/SettingGOPATH)\n\nIf you've got Go installed and configured you can install `waybackurls \u0026 Gf` with:\n\n```bash \ngo install github.com/tomnomnom/waybackurls@latest\n```\nNow download the gf tool for go lang 17 (that is go1.17) and may be above\n```bash\ngo install github.com/tomnomnom/gf@latest\n```\nOr download the gf tool for go lang 16 (that is go1.16) and below\n```bash\ngo get -u github.com/tomnomnom/gf\n```\nIf you've installed using `go install`, you can enable auto-completion to your `.bashrc` like this:\n\n```bash\n echo 'source $GOPATH/pkg/mod/github.com/tomnomnom/gf@v0.0.0-20200618134122-dcd4c361f9f5/gf-completion.bash' \u003e\u003e ~/.bashrc\n```\nIf you've installed using `go get`, you can enable auto-completion to your `.bashrc` like this:\n\n```bash\n echo 'source $GOPATH/src/github.com/tomnomnom/gf/gf-completion.bash' \u003e\u003e ~/.bashrc\n```\nNote that you'll have to restart your terminal, or run `source ~/.bashrc` for the changes to\ntake effect.\n\nTo get started quickly, you can copy the example pattern files to `~/.gf` like this:\n```bash\n mkdir .gf\n```\nIf you've installed using `go install`, you can copy the example pattern files to `~/.gf` like this:\n```bash\n cp -r $GOPATH/pkg/mod/github.com/tomnomnom/gf@v0.0.0-20200618134122-dcd4c361f9f5/examples ~/.gf\n```\nIf you've installed using `go get`, you can copy the example pattern files to `~/.gf` like this:\n```bash\ncp -r $GOPATH/src/github.com/tomnomnom/gf/examples ~/.gf\n```\n**MY Gf Patterns installation**\n```bash\n git clone https://github.com/1ndianl33t/Gf-Patterns\n```\n\nTo get started quickly, you can copy the example pattern files to `~/.gf` like this:\n```bash\n mkdir .gf\n```\n```bash\n mv ~/Gf-Patterns/*.json ~/.gf\n```\n**Use example**\n```bash\n\n cat subdomains.txt | waybackurls | sort -u \u003e\u003e waybackdata | gf ssrf | tee -a ssfrparams.txt\n\n cat waybackdata | gf redirect | tee -a redirect.txt\n```\n### Pattern Files\n\nThe pattern definitions are stored in `~/.gf` as little JSON files that can be kept under version control:\n\n**gf ssrf**\n\n```bash\n▶ cat ~/.gf/ssrf.json\n\n{\n    \"flags\": \"-iE\",\n     \"patterns\": [\n\n        \"access\",\n        \"admin\",\n        \"dbg\",\n        \"debug\",\n        \"edit\",\n        \"grant\",\n        \"test\",\n        \"alter\",\n        \"clone\",\n        \"create\",\n        \"delete\",\n        \"disable\",\n        \"enable\",\n        \"exec\",\n        \"execute\",\n        \"load\",\n        \"make\",\n        \"modify\",\n        \"rename\",\n        \"reset\",\n        \"shell\",\n        \"toggle\",\n        \"adm\",\n        \"root\",\n        \"cfg\",\n        \"dest\",\n        \"redirect\",\n        \"uri\",\n        \"path\",\n        \"continue\",\n        \"url\",\n        \"window\",\n        \"next\",\n        \"data\",\n        \"reference\",\n        \"site\",\n        \"html\",\n        \"val\",\n        \"validate\",\n        \"domain\",\n        \"callback\",\n        \"return\",\n        \"page\",\n        \"feed\",\n        \"host\",\n        \"port\",\n        \"to\",\n        \"out\",\n        \"view\",\n        \"dir\",\n        \"show\",\n        \"navigation\",\n        \"open\"\n        \n      ]\n}\n\n```\n\n**gf redirect**\n\n```bash\n▶ cat ~/.gf/redirect\n\n{\n    \"flags\": \"-iE\",\n     \"patterns\": [\n\"forward=\",\n\"dest=\",\n\"redirect=\",\n\"uri=\",\n\"path=\",\n\"continue=\",\n\"url=\",\n\"window=\",\n\"to=\",\n\"out=\",\n\"view=\",\n\"dir=\",\n\"show=\",\n\"navigation=\",\n\"Open=\",\n\"file=\",\n\"val=\",\n\"validate=\",\n\"domain=\",\n\"callback=\",\n\"return=\",\n\"page=\",\n\"feed=\",\n\"host=\",\n\"port=\",\n\"next=\",\n\"data=\",\n\"reference=\",\n\"site=\",\n\"html=\"\n]\n}\n\n```\n***gf rce***\n```bash\n▶ cat ~/.gf/rce.json\n{\n    \"flags\": \"-iE\",\n     \"patterns\": [\n \n        \"daemon\",\n        \"upload\",\n        \"dir\",\n        \"execute\",\n        \"download\",\n        \"log\",\n        \"ip\",\n        \"cli\",\n        \"cmd\"\n]\n}\n```\n***Gf idor***\n\n```bash\n▶ cat ~/.gf/idor.json\n{\n    \"flags\": \"-iE\",\n     \"patterns\": [\n\n \"id\",\n \"user\",\n \"account\",\n \"number\",\n \"order\",\n \"no\",\n \"doc\",\n \"key\",\n \"email\",\n \"group\",\n \"profile\",\n \"edit\",\n \"report\"\n \n ]\n}\n\n```\n\n\n\n\n\n\n***Gf Sqli***\n```bash\n▶ cat ~/.gf/sqli.json\n{\n    \"flags\": \"-iE\",\n     \"patterns\": [\n\n         \"id\",\n        \"select\",\n        \"report\",\n        \"role\",\n        \"update\",\n        \"query\",\n        \"user\",\n        \"name\",\n        \"sort\",\n        \"where\",\n        \"search\",\n        \"params\",\n        \"process\",\n        \"row\",\n        \"view\",\n        \"table\",\n        \"from\",\n        \"sel\",\n        \"results\",\n        \"sleep\",\n        \"fetch\",\n        \"order\",\n        \"keyword\",\n        \"column\",\n        \"field\",\n        \"delete\",\n        \"string\",\n        \"number\",\n        \"filter\"\n]\n}\n```\n***Gf LFI***\n```bash\n▶ cat ~/.gf/lfi.json\n{\n    \"flags\": \"-iE\",\n     \"patterns\": [\n\n        \"file\",\n        \"document\",\n        \"folder\",\n        \"root\",\n        \"path\",\n        \"pg\",\n        \"style\",\n        \"pdf\",\n        \"template\",\n        \"php_path\",\n        \"doc\"\n]\n}\n```\n\n***Gf ssti***\n```bash\n▶ cat ~/.gf/ssti.json\n\n\n{\n    \"flags\": \"-iE\",\n     \"patterns\": [\n        \n        \"template\",\n        \"preview\",\n        \"id\",\n        \"view\",\n        \"activity\",\n        \"name\",\n        \"content\",\n        \"redirect\"\n]\n}\n```\n\n***Gf debug_logic***\n```bash\n▶ cat ~/.gf/debug_logic.json\n{\n    \"flags\": \"-iE\",\n     \"patterns\": [\n\n        \"access\",\n        \"admin\",\n        \"dbg\",\n        \"debug\",\n        \"edit\",\n        \"grant\",\n        \"test\",\n        \"alter\",\n        \"clone\",\n        \"create\",\n        \"delete\",\n        \"disable\",\n        \"enable\",\n        \"exec\",\n        \"execute\",\n        \"load\",\n        \"make\",\n        \"modify\",\n        \"rename\",\n        \"reset\",\n        \"shell\",\n        \"toggle\",\n        \"adm\",\n        \"root\",\n        \"cfg\",\n        \"config\"\n]\n}\n```\n\n### Donations\nYou can encourage me to contribute more to the open source with donations.\n\n- Paypal - [https://www.paypal.me/1ndianl33t](https://www.paypal.me/1ndianl33t)\n\n- GooglePay,Paytm -\n\n`8085778875`\n\n\n# Credit\n\n[![Twitter](https://img.shields.io/badge/twitter-@TomNomNom-blue.svg)](https://twitter.com/TomNomNom)\n[Bugcrowd HUNT](https://github.com/bugcrowd/HUNT)\n[![Twitter](https://img.shields.io/badge/twitter-@1ndianl33t-blue.svg)](https://twitter.com/1ndianl33t)\n\n# Contributers\n@victoni `added more redirect parameters`\n\n@s0meguy1 `redirect \u0026 ssrf pattern Added additional filters`\n\n# Contact\n[![Twitter](https://img.shields.io/badge/twitter-@1ndianl33t-blue.svg)](https://twitter.com/1ndianl33t)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1ndianl33t%2FGf-Patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1ndianl33t%2FGf-Patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1ndianl33t%2FGf-Patterns/lists"}