Add LeakIX search module with 6 actions and bulk streaming#21002
Open
Chocapikk wants to merge 4 commits intorapid7:masterfrom
Open
Add LeakIX search module with 6 actions and bulk streaming#21002Chocapikk wants to merge 4 commits intorapid7:masterfrom
Chocapikk wants to merge 4 commits intorapid7:masterfrom
Conversation
Add auxiliary/gather/leakix_search module with 6 actions: SEARCH, HOST, DOMAIN, SUBDOMAINS, PLUGINS, and BULK streaming. Includes chunked NDJSON streaming for bulk API, MAXRESULTS limiting, subdomain enumeration, and database reporting.
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.
Hello Metasploit Team,
This PR adds
auxiliary/gather/leakix_search, a new module for the LeakIX API - a search engine focused on indexing internet-exposed services and leaked credentials/databases.The module provides 6 actions:
The BULK action implements manual chunked transfer-encoding dechunking and NDJSON line parsing, processing events as they arrive rather than buffering the entire response. A
MAXRESULTSoption caps collected results across both SEARCH and BULK. SettingDATABASE truepopulates the MSF services database for seamless pivoting into other modules.Query syntax examples:
Verification
msfconsoleuse auxiliary/gather/leakix_searchset LEAKIX_APIKEY <your-api-key>set QUERY +port:3306runset ACTION HOSTset TARGET_IP <ip-from-results>runset ACTION DOMAINset TARGET_DOMAIN example.comrunset ACTION SUBDOMAINSrunset ACTION PLUGINSrunset ACTION BULKset QUERY +country:"France"set MAXRESULTS 30runDATABASE truepopulates hosts/services (hostsandservicescommands)