
OSINT उपकरण जो केवल उन खुले Elasticsearch और MongoDB निर्देशिकाओं को खोजने, पार्स करने और डंप करने के लिए है जिनमें वह डेटा है जिसके उजागर होने की आपको चिंता है।
![]() | ODBParser |
ODBParser एक ऐसा उपकरण है जो खुले डेटाबेस में उजागर PII की खोज करता है।
केवल उजागर PII की पहचान करने और सर्वर मालिकों को गैर-जिम्मेदार डेटाबेस रखरखाव के प्रति सचेत करने के लिए उपयोग करें
या उन डेटाबेसों को क्वेरी करें जिन्हें एक्सेस करने की आपकी अनुमति है!
कृपया जिम्मेदारी से उपयोग करें
यह एक वन-स्टॉप OSINT टूल बनाने के लिए लिखा गया था जो खुले डेटाबेस को खोजने, पार्स करने और विश्लेषण करने में सक्षम हो, ताकि तृतीय-पक्ष सर्वरों पर PII के रिसाव की पहचान की जा सके। अन्य उपकरण या तो केवल खुले डेटाबेस की खोज करते हैं या उन्हें डंप करते हैं जब आप उनकी पहचान कर लेते हैं और फिर अंधाधुंध डेटा खींचते हैं। यह एक या दो फ़ंक्शन से बढ़कर इस रिपॉजिटरी में विकसित हो गया, इसलिए कोड उतना साफ-सुथरा नहीं है जितना हो सकता था।
खुले डेटाबेस की पहचान करने के लिए आप:
डंपिंग विकल्प:
पोस्ट-प्रोसेसिंग:
अन्य विशेषताएँ:
अपने पैरामीटर निर्दिष्ट करने के लिए odbconfig.py फ़ाइल देखें, क्योंकि वास्तव में खेल का नाम उस डेटा को उजागर करना है जिसमें आपकी रुचि है। मैंने कॉन्फ़िग फ़ाइल में कुछ उदाहरण दिए हैं। उनके साथ खेलें!
आप:
मेरा सुझाव है कि ODBParser के लिए वर्चुअल वातावरण बनाएं ताकि गलत मॉड्यूल संस्करणों से कोई समस्या न हो। नोट: केवल Python 3.7.3 और Windows 10 पर परीक्षण किया गया।
कृपया जिम्मेदारी से उपयोग करें
Examples: python ODBParser.py -cn US -p 8080 -t users --elastic --shodan --csv --limit 100
python ODBParser.py -ip 192.168.2:8080 --mongo --ignorelogs --nosizelimits
Damage to-date: 0 servers parsed | 0 databases dumped | 0 records pulled
_____________________________________________________________________________
optional arguments:
-h, --help show this help message and exit
Query Options:
--shodan, -sh Add this flag if using Shodan. Specify ES or MDB w/
flags.
--binary, -be Add this flag if using BinaryEdge. Specify ES or MDB
w/ flags.
--ip , -ip Query one server. Add port like so '192.165.2.1:8080'
or will use default ports for each db type. Add ES or
MDB flags to specify parser.
--file , -f Load line-separated IPs from file. Add port or will
assume default ports for each db type. Add ES or MDB
flags to specify parser.
--paste, -v Query line-separated IPs from clipboard. Add port or
will assume default ports for each db type, e.g. 9200
for ES. Add ES or MDB flags to specify parser.
Shodan/BinaryEdge Options:
--limit , -l Max number of results per query. Default is
500.
--port , -p Filter by port.
--country , -cn Filter by country (two-letter country code).
--terms , -t Enter any additional query terms you want here, e.g.
'users'
Dump Options:
--mongo, -mdb Use for IP, Shodan, BinaryEdge & Paste methods to
specify parser.
--elastic, -es Use for IP, Shodan, BinaryEdge & Paste methods to
specify parser.
--properjson, -pj Add this flag if would like out put to be proper JSON
file. Default is one JSON string object per line.
--database , -db Specify database you want to grab. For MDB must be in
format format 'db:collection'. Use with IP arg & 'es'
or 'mdb' flag
--getall, -g Get all indices regardless of fields and
collection/index names (overrides selections in config
file).
--ignorelogs Connect to a server you've already checked out.
--nosizelimits, -n Dump index no matter how big it is. Default max doc
count is 800,000.
--csv Convert JSON dumps into CSV format on the fly. (Puts
JSON files in backup folder in case there is issue
with coversion)
CSV/Post-processing Options:
--convertToCSV , -c Convert JSON file or folder of JSON dumps to CSVs
after the fact. Enter full path or folder name in
current working directory
--dontflatten Use if run into memory issues converting JSON files to
CSV during post-processing.
--basic Use with --convertToCSV flag if your JSON dumps are
not true JSON files, but rather line separated JSON
objects that you got from other sources.
--dontclean, -dc Choose if want to keep useless data when convert to
CSV. See docs for more info.