{"id":13762764,"url":"https://github.com/gwen001/github-regexp","last_synced_at":"2025-07-21T15:04:03.462Z","repository":{"id":57564544,"uuid":"285318930","full_name":"gwen001/github-regexp","owner":"gwen001","description":"Basically a regexp over a GitHub search.","archived":false,"fork":false,"pushed_at":"2023-03-28T15:47:13.000Z","size":30303,"stargazers_count":68,"open_issues_count":0,"forks_count":19,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-05T08:11:23.043Z","etag":null,"topics":["bugbounty","github","go","golang","pentesting","private","regexp","secrets","security-tools"],"latest_commit_sha":null,"homepage":"","language":"Go","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/gwen001.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},"funding":{"github":["gwen001"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-08-05T14:47:48.000Z","updated_at":"2025-04-29T22:14:19.000Z","dependencies_parsed_at":"2024-01-15T03:59:40.732Z","dependency_job_id":"59043b32-60c6-41ce-b19f-ebb30bd21872","html_url":"https://github.com/gwen001/github-regexp","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/gwen001/github-regexp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Fgithub-regexp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Fgithub-regexp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Fgithub-regexp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Fgithub-regexp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gwen001","download_url":"https://codeload.github.com/gwen001/github-regexp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Fgithub-regexp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266324439,"owners_count":23911226,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bugbounty","github","go","golang","pentesting","private","regexp","secrets","security-tools"],"created_at":"2024-08-03T14:00:57.090Z","updated_at":"2025-07-21T15:04:03.412Z","avatar_url":"https://github.com/gwen001.png","language":"Go","readme":"\u003ch1 align=\"center\"\u003egithub-regexp\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eBasically a regexp over a GitHub search.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/go-v1.13-blue\" alt=\"go badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-green\" alt=\"MIT license badge\"\u003e\n    \u003ca href=\"https://twitter.com/intent/tweet?text=https%3a%2f%2fgithub.com%2fgwen001%2fgithub-regexp%2f\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fgithub.com%2Fgwen001%2Fgithub-regexp\" alt=\"twitter badge\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!-- \u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/gwen001/github-regexp?style=social\" alt=\"github stars badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/watchers/gwen001/github-regexp?style=social\" alt=\"github watchers badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/gwen001/github-regexp?style=social\" alt=\"github forks badge\"\u003e\n\u003c/p\u003e --\u003e\n\n---\n\n## Description\n\nThis Go tool performs the search supplied by the user on GitHub and apply the regexp also supplied by the user on all results.\nThis can be use to find subdomains, endpoints, passwords, api keys...\n\n## Install\n\n```\ngo install github.com/gwen001/github-regexp@latest\n```\n\nor\n\n```\ngit clone https://github.com/gwen001/github-regexp\ncd github-regexp\ngo install\n```\n\n## Usage\n\n```\n$ github-regexp -h\n\nUsage of github-regexp:\n  -i\tforce the regexp to be case insensitive\n  -k\texit the program when all tokens have been disabled\n  -r string\n    \tregexp to search, default is SecLists secret-keywords list\n  -s string\n    \tsearch term you are looking for (required)\n  -t string\n    \tgithub token (required), can be:\n    \t  • a single token\n    \t  • a list of tokens separated by comma\n    \t  • a file (.tokens) containing 1 token per line\n    \tif the options is not provided, the environment variable GITHUB_TOKEN is readed, it can be:\n    \t  • a single token\n    \t  • a list of tokens separated by comma\n```\n\nIf you want to use multiple tokens, you better create a `.tokens` file in the executable directory with 1 token per line  \n```\ntoken1\ntoken2\n...\n```\nor use an environment variable with tokens separated by comma:  \n```\nexport GITHUB_TOKEN=token1,token2...\n```\n\nTokens are disabled when GitHub raises a rate limit alert, however they are re-enable 1mn later.\nYou can disable that feature by using the option `-k`.\n\n\u003cimg src=\"https://github.com/gwen001/github-regexp/raw/master/preview.png\"\u003e\n\n## Todo\n\n- fix the output bug when the file is only 1 line (strpos)\n- change the order of the extra searches ?\n- ?\n\n## Changelog\n\n**25/09/2020**\n- quick mode added\n- tokens can be read from any file\n\n**23/09/2020**\n- fixed an issue in the api call (params name)\n- added binary\n\n**13/08/2020**\n- fixed some types \u0026 output bugs\n\n**06/08/2020**\n- disabled languages and noise searches\n- added an option to display urls only\n- added an option to display only the matched parts\n- added an option to force the regexp to be case insensitive\n- creation\n\n---\n\nFeel free to [open an issue](/../../issues/) if you have any problem with the script.  \n\n","funding_links":["https://github.com/sponsors/gwen001"],"categories":["Weapons","Go"],"sub_categories":["Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgwen001%2Fgithub-regexp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgwen001%2Fgithub-regexp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgwen001%2Fgithub-regexp/lists"}