feat: Integrate Exploit-DB Google Hacking Database (GHDB)#2
Merged
Conversation
This feature allows you to browse, search, and import dorks directly from the Exploit-DB Google Hacking Database.
Key components and changes:
1. **GHDB Service (`lib/ghdb-service.ts`):**
- A new service module to fetch and parse GHDB entries from Exploit-DB.
- It accesses the JSON data feed provided by Exploit-DB's DataTables interface.
- Includes logic to extract dork strings, titles, categories, and other relevant information from the JSON response, including parsing HTML snippets within the data.
2. **GHDB Explorer (`components/dork-builder/ghdb-explorer.tsx`):**
- A new UI component that provides:
- Keyword search functionality for the GHDB.
- Paginated display of GHDB entries.
- An "Import" button for each entry to add it to your workspace.
- Handles loading states, error display, and notifications.
3. **Integration into `DorkingInterface`:**
- The GHDB Explorer is now accessible via a new "GHDB Explorer" tab in the left panel of the dork building interface.
- Imported GHDB dorks are added to the workspace as new, editable blocks (currently typed as 'custom' with the dork string as the value).
This integration provides you with a powerful resource for discovering and utilizing a vast collection of Google dorks, enhancing the tool's versatility and effectiveness for OSINT and security research.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This feature allows you to browse, search, and import dorks directly from the Exploit-DB Google Hacking Database.
Key components and changes:
GHDB Service (
lib/ghdb-service.ts):GHDB Explorer (
components/dork-builder/ghdb-explorer.tsx):Integration into
DorkingInterface:This integration provides you with a powerful resource for discovering and utilizing a vast collection of Google dorks, enhancing the tool's versatility and effectiveness for OSINT and security research.