{"id":26171819,"url":"https://github.com/zebbern/exploitdb-extracter","last_synced_at":"2026-04-20T18:02:29.512Z","repository":{"id":276531283,"uuid":"917189861","full_name":"zebbern/Exploitdb-Extracter","owner":"zebbern","description":"📥 | Extracts and saves dorks in various formats for analysis. Fetches all dorks from Exploit-DB/google-hacking-database!","archived":false,"fork":false,"pushed_at":"2025-01-15T14:27:53.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T16:35:12.315Z","etag":null,"topics":["automation","bugbounty","cross-platform","database","developer","exploit","exploitdb","extractor","google","google-hacking","google-hacking-database","hacker","hacking","osint","pentesting","python","python3","script"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zebbern.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-01-15T14:25:44.000Z","updated_at":"2025-02-14T20:20:22.000Z","dependencies_parsed_at":"2025-02-09T23:32:20.112Z","dependency_job_id":null,"html_url":"https://github.com/zebbern/Exploitdb-Extracter","commit_stats":null,"previous_names":["zebbern/exploitdb-extracter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebbern%2FExploitdb-Extracter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebbern%2FExploitdb-Extracter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebbern%2FExploitdb-Extracter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebbern%2FExploitdb-Extracter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zebbern","download_url":"https://codeload.github.com/zebbern/Exploitdb-Extracter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243104205,"owners_count":20236943,"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":["automation","bugbounty","cross-platform","database","developer","exploit","exploitdb","extractor","google","google-hacking","google-hacking-database","hacker","hacking","osint","pentesting","python","python3","script"],"created_at":"2025-03-11T19:51:27.123Z","updated_at":"2026-04-20T18:02:24.462Z","avatar_url":"https://github.com/zebbern.png","language":"Python","readme":"# ExploitDB Google Hacking Database Scraper\n\n`exploitdb.py` is a Python script that retrieves and organizes Google Dorks from the [Google Hacking Database (GHDB)](https://www.exploit-db.com/google-hacking-database) on Exploit-DB. It allows users to extract and save dorks in various formats for analysis and research purposes.\n\n## Features\n\n- Scrape Google Dorks from Exploit-DB.\n- Organize dorks by category.\n- Save dorks to individual category files.\n- Save all dorks in a single text file.\n- Save the raw JSON response for detailed analysis.\n\n## Requirements\n\n- Python 3.x\n- Libraries:\n  - `requests`\n  - `beautifulsoup4`\n\nInstall the required libraries using pip:\n\n```bash\npip install requests beautifulsoup4\n```\n\n## Usage\n\nRun the script with the following command-line options:\n\n```bash\npython exploitdb.py [options]\n```\n\n### Options\n\n| Flag | Description |\n|------|-------------|\n| `-i` | Save individual dork categories to separate `.txt` files. |\n| `-j` | Save the raw GHDB JSON response to `all_google_dorks.json`. |\n| `-s` | Save all dorks to a single file, `all_google_dorks.txt`. |\n| `-h` | Show the help message and usage instructions. |\n\n### Examples\n\n1. Save individual category files:\n\n   ```bash\n   python exploitdb.py -i\n   ```\n\n2. Save the JSON response:\n\n   ```bash\n   python exploitdb.py -j\n   ```\n\n3. Save all dorks to a single file:\n\n   ```bash\n   python exploitdb.py -s\n   ```\n\n4. Perform all actions:\n\n   ```bash\n   python exploitdb.py -i -j -s\n   ```\n\n## Output\n\nThe script creates a directory named `dorks/` in the current working directory to store all output files.\n\n- **Category Files (`*.txt`)**: Each dork category is saved to its own file in the `dorks/` directory.\n- **JSON File**: The entire GHDB response is saved to `dorks/all_google_dorks.json`.\n- **All Dorks File**: A combined list of all extracted dorks is saved to `dorks/all_google_dorks.txt`.\n\n## Dork Categories\n\nThe script categorizes dorks into the following categories:\n\n```json\n{\n    \"1\": \"Footholds\",\n    \"2\": \"File Containing Usernames\",\n    \"3\": \"Sensitive Directories\",\n    \"4\": \"Web Server Detection\",\n    \"5\": \"Vulnerable Files\",\n    \"6\": \"Vulnerable Servers\",\n    \"7\": \"Error Messages\",\n    \"8\": \"File Containing Juicy Info\",\n    \"9\": \"File Containing Passwords\",\n    \"10\": \"Sensitive Online Shopping Info\",\n    \"11\": \"Network or Vulnerability Data\",\n    \"12\": \"Pages Containing Login Portals\",\n    \"13\": \"Various Online Devices\",\n    \"14\": \"Advisories and Vulnerabilities\"\n}\n```\n\n## Contributing\n\nContributions are welcome! If you'd like to contribute to this project:\n\n1. Fork the repository.\n2. Create a feature branch (`git checkout -b feature-name`).\n3. Commit your changes (`git commit -m 'Add new feature'`).\n4. Push to the branch (`git push origin feature-name`).\n5. Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Disclaimer\n\nThis tool is intended for educational and research purposes only. The misuse of this script can lead to legal consequences. Use responsibly and adhere to all relevant laws and guidelines.\n\n---\n\nHappy Dorking!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebbern%2Fexploitdb-extracter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzebbern%2Fexploitdb-extracter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebbern%2Fexploitdb-extracter/lists"}