
एकाधिक खोज इंजनों का उपयोग करके इंटरनेट पर उजागर होस्ट को तुरंत खोजें।
सुविधाएँ • स्थापना • उपयोग • कॉन्फ़िगरेशन • Uncover चलाना • Discord से जुड़ें
uncover एक go रैपर है जो प्रसिद्ध सर्च इंजनों के APIs का उपयोग करके इंटरनेट पर उजागर होस्टों को तेज़ी से खोजता है। इसे स्वचालन को ध्यान में रखते हुए बनाया गया है, ताकि आप इसे क्वेरी कर सकें और परिणामों को अपने मौजूदा पाइपलाइन टूल्स के साथ उपयोग कर सकें।
uncover को सफलतापूर्वक स्थापित करने के लिए go1.21 की आवश्यकता है। रेपो प्राप्त करने के लिए निम्नलिखित कमांड चलाएँ -
go install -v github.com/projectdiscovery/uncover/cmd/uncover@latest
uncover -h
यह टूल के लिए सहायता प्रदर्शित करेगा। यहाँ सभी फ्लैग्स दिए गए हैं:
Usage:
./uncover [flags]
Flags:
INPUT:
-q, -query string[] search query, supports: stdin,file,config input (example: -q 'example query', -q 'query.txt')
-e, -engine string[] search engine to query (shodan,shodan-idb,fofa,censys,quake,hunter,zoomeye,netlas,criminalip,publicwww,hunterhow,google,driftnet,daydaymap) (default shodan)
-asq, -awesome-search-queries string[] use awesome search queries to discover exposed assets on the internet (example: -asq 'jira')
SEARCH-ENGINE:
-s, -shodan string[] search query for shodan (example: -shodan 'query.txt')
-sd, -shodan-idb string[] search query for shodan-idb (example: -shodan-idb 'query.txt')
-ff, -fofa string[] search query for fofa (example: -fofa 'query.txt')
-cs, -censys string[] search query for censys (example: -censys 'query.txt')
-qk, -quake string[] search query for quake (example: -quake 'query.txt')
-ht, -hunter string[] search query for hunter (example: -hunter 'query.txt')
-ze, -zoomeye string[] search query for zoomeye (example: -zoomeye 'query.txt')
-ne, -netlas string[] search query for netlas (example: -netlas 'query.txt')
-cl, -criminalip string[] search query for criminalip (example: -criminalip 'query.txt')
-pw, -publicwww string[] search query for publicwww (example: -publicwww 'query.txt')
-hh, -hunterhow string[] search query for hunterhow (example: -hunterhow 'query.txt')
-gg, -google string[] search query for google (example: -google 'query.txt')
-on, -onyphe string[] search query for onyphe (example: -onyphe 'query.txt')
-df, -driftnet string[] search query for driftnet (example: -driftnet 'query.txt')
-ddm, -daydaymap string[] search query for daydaymap (example: -daydaymap 'query.txt')
CONFIG:
-pc, -provider string provider configuration file (default "$CONFIG/uncover/provider-config.yaml")
-config string flag configuration file (default "$CONFIG/uncover/config.yaml")
-timeout int timeout in seconds (default 30)
-rl, -rate-limit int maximum number of http requests to send per second
-rlm, -rate-limit-minute int maximum number of requests to send per minute
-retry int number of times to retry a failed request (default 2)
-proxy string http proxy to use with uncover
OUTPUT:
-o, -output string output file to write found results
-f, -field string field to display in output (ip,port,host) (default "ip:port")
-j, -json write output in JSONL(ines) format
-r, -raw write raw output as received by the remote api
-l, -limit int limit the number of results to return (default 100)
-nc, -no-color disable colors in output
DEBUG:
-silent show only results in output
-version show version of the project
-v show verbose output
uncover को लाइब्रेरी के रूप में उपयोग करने का उदाहरण examples निर्देशिका में दिया गया है।
डिफ़ॉल्ट प्रदाता कॉन्फ़िगरेशन फ़ाइल $CONFIG/uncover/provider-config.yaml पर स्थित होनी चाहिए और इसकी सामग्री उदाहरण के रूप में नीचे दी गई है।
नोट: API कुंजियाँ आवश्यक हैं और uncover चलाने से पहले कॉन्फ़िगर की जानी चाहिए।
shodan:
- SHODAN_API_KEY_1
- SHODAN_API_KEY_2
censys:
- CENSYS_API_TOKEN_1:CENSYS_ORGANIZATION_ID_1
- CENSYS_API_TOKEN_2:CENSYS_ORGANIZATION_ID_2
fofa:
- FOFA_EMAIL_1:FOFA_KEY_1
- FOFA_EMAIL_2:FOFA_KEY_2
quake:
- QUAKE_TOKEN_1
- QUAKE_TOKEN_2
hunter:
- HUNTER_API_KEY_1
- HUNTER_API_KEY_2
zoomeye:
- ZOOMEYE_API_KEY_1
- ZOOMEYE_API_KEY_2
netlas:
- NETLAS_API_KEY_1
- NETLAS_API_KEY_2
criminalip:
- CRIMINALIP_API_KEY_1
- CRIMINALIP_API_KEY_2
publicwww:
- PUBLICWWW_API_KEY_1
- PUBLICWWW_API_KEY_2
hunterhow:
- HUNTERHOW_API_KEY_1
- HUNTERHOW_API_KEY_2
google:
- GOOGLE_API_KEY_1:Google_API_CX_1
- GOOGLE_API_KEY_2:Google_API_CX_2
onyphe:
- ONYPHE_API_KEY_1
- ONYPHE_API_KEY_2
driftnet:
- DRIFTNET_API_KEY_1
- DRIFTNET_API_KEY_2
daydaymap:
- DAYDAYMAP_API_KEY_1
- DAYDAYMAP_API_KEY_2
nerdydata:
- NERDYDATA_API_KEY_1
- NERDYDATA_API_KEY_2
जब कॉन्फ़िग फ़ाइल में एक ही प्रदाता के लिए कई कुंजियाँ/क्रेडेंशियल निर्दिष्ट किए जाते हैं, तो प्रत्येक निष्पादन के लिए एक यादृच्छिक कुंजी का उपयोग किया जाएगा।
वैकल्पिक रूप से, आप अपने bash प्रोफ़ाइल में API कुंजी को पर्यावरण चर के रूप में भी सेट कर सकते हैं।