
गो में लिखा गया निर्देशिका/फ़ाइल, DNS और VHost खोज उपकरण
Go में लिखा गया एक तेज़ और लचीला ब्रूट-फोर्सिंग टूल
Gobuster एक उच्च-प्रदर्शन डायरेक्ट्री/फ़ाइल, DNS और वर्चुअल होस्ट ब्रूट-फोर्सिंग टूल है जो Go में लिखा गया है। इसे सुरक्षा पेशेवरों और पेनिट्रेशन टेस्टर्स के लिए तेज़, विश्वसनीय और उपयोग में आसान बनाने के लिए डिज़ाइन किया गया है।
# gobuster स्थापित करें
go install github.com/OJ/gobuster/v3@latest
# बुनियादी डायरेक्ट्री एन्युमरेशन
gobuster dir -u https://example.com -w /path/to/wordlist.txt
# DNS सबडोमेन एन्युमरेशन
gobuster dns -do example.com -w /path/to/wordlist.txt
# वर्चुअल होस्ट खोज
gobuster vhost -u https://example.com -w /path/to/wordlist.txt
# S3 बकेट एन्युमरेशन
gobuster s3 -w /path/to/bucket-names.txt
go install github.com/OJ/gobuster/v3@latest
आवश्यकताएँ: Go 1.24 या उच्चतर
रिलीज़ पेज से प्री-कंपाइल्ड बाइनरी डाउनलोड करें।
# नवीनतम इमेज प्राप्त करें
docker pull ghcr.io/oj/gobuster:latest
# Docker में gobuster चलाएँ
docker run --rm -it ghcr.io/oj/gobuster:latest dir -u https://example.com -w /usr/share/wordlists/dirb/common.txt
git clone https://github.com/OJ/gobuster.git
cd gobuster
go mod tidy
go build
यदि आपको समस्याएँ आती हैं:
go version$GOPATH और $GOBIN पर्यावरण चर जाँचें$GOPATH/bin आपके $PATH में हैGobuster मोड-आधारित दृष्टिकोण का उपयोग करता है। प्रत्येक मोड विशिष्ट एन्युमरेशन कार्यों के लिए डिज़ाइन किया गया है:
gobuster [mode] [options]
gobuster help # सामान्य सहायता दिखाएँ
gobuster help [mode] # विशिष्ट मोड के लिए सहायता दिखाएँ
gobuster [mode] --help # वैकल्पिक सहायता सिंटैक्स
dir)वेब सर्वर पर डायरेक्ट्री और फ़ाइलों की गणना करें।
बुनियादी उपयोग:
gobuster dir -u https://example.com -w wordlist.txt
उन्नत विकल्प:
# फ़ाइल एक्सटेंशन के साथ
gobuster dir -u https://example.com -w wordlist.txt -x php,html,js,txt
# कस्टम हेडर और कुकीज़ के साथ
gobuster dir -u https://example.com -w wordlist.txt -H "Authorization: Bearer token" -c "session=value"
# प्रतिक्रिया लंबाई दिखाएँ
gobuster dir -u https://example.com -w wordlist.txt -l
# स्थिति कोड द्वारा फ़िल्टर करें
gobuster dir -u https://example.com -w wordlist.txt -s 200,301,302
dns)DNS रिज़ॉल्यूशन के माध्यम से सबडोमेन खोजें।
बुनियादी उपयोग:
gobuster dns -do example.com -w wordlist.txt
उन्नत विकल्प:
# कस्टम DNS सर्वर का उपयोग करें
gobuster dns -do example.com -w wordlist.txt -r 8.8.8.8:53
# तेज़ स्कैनिंग के लिए थ्रेड बढ़ाएँ
gobuster dns -do example.com -w wordlist.txt -t 50
vhost)वेब सर्वर पर वर्चुअल होस्ट खोजें।
बुनियादी उपयोग:
gobuster vhost -u https://example.com --append-domain -w wordlist.txt
s3)Amazon S3 बकेट गिनें।
बुनियादी उपयोग:
gobuster s3 -w bucket-names.txt
डिबग आउटपुट के साथ:
gobuster s3 -w bucket-names.txt --debug
tftp)TFTP सर्वर पर फ़ाइलों की गणना करें।
बुनियादी उपयोग:
gobuster tftp -s 10.0.0.1 -w wordlist.txt
gcs)Google Cloud Storage बकेट गिनें।
बुनियादी उपयोग:
gobuster gcs -w bucket-names.txt
डिबग आउटपुट के साथ:
gobuster gcs -w bucket-names.txt --debug
fuzz)FUZZ कीवर्ड के साथ कस्टम फ़ज़िंग।
बुनियादी उपयोग:
gobuster fuzz -u https://example.com?FUZZ=test -w wordlist.txt
उन्नत उदाहरण:
# URL पैरामीटर फ़ज़ करें
gobuster fuzz -u https://example.com?param=FUZZ -w wordlist.txt
# हेडर फ़ज़ करें
gobuster fuzz -u https://example.com -H "X-Custom-Header: FUZZ" -w wordlist.txt
# POST डेटा फ़ज़ करें
gobuster fuzz -u https://example.com -d "username=admin&password=FUZZ" -w passwords.txt
यदि आप पहले से ही हमें समर्थन दे रहे हैं, तो आप महान हैं। यदि नहीं, तो भी कोई बात नहीं! हमें समर्थन देना चाहते हैं? समर्थक बनें!
इस परियोजना को दान की गई सभी धनराशि दान में दी जाएगी। संसाधित होने पर इस रिपॉज़िटरी में दान का पूरा लॉग उपलब्ध होगा।
# व्यापक डायरेक्ट्री एन्युमरेशन
gobuster dir -u https://target.com -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -x php,html,js,txt,asp,aspx,jsp
# API एंडपॉइंट खोज
gobuster dir -u https://api.target.com -w /usr/share/wordlists/dirb/common.txt -x json
# प्रशासन पैनल खोज
gobuster dir -u https://target.com -w admin-panels.txt -s 200,301,302,403
# व्यापक सबडोमेन एन्युमरेशन
gobuster dns -do target.com -w /usr/share/wordlists/dnsrecon/subdomains-top1mil-5000.txt -t 50
# पैटर्न के साथ S3 बकेट एन्युमरेशन
gobuster s3 -w company-names.txt -v
# GCS बकेट एन्युमरेशन
gobuster gcs -w company-names.txt -v
-t फ़्लैग के साथ थ्रेड संख्या कम करने का प्रयास करें--delay के साथ अनुरोधों के बीच विलंब जोड़ें-a फ़्लैग के साथ भिन्न उपयोगकर्ता एजेंट का उपयोग करें--timeout फ़्लैग के साथ टाइमआउट बढ़ाएँ-s फ़्लैग के साथ स्टेटस कोड फ़िल्टरिंग जाँचें-t फ़्लैग के साथ थ्रेड संख्या बढ़ाएँ (लेकिन लक्ष्य को ओवरलोड न करने का ध्यान रखें)# परिणाम को फ़ाइल में सहेजें
gobuster dir -u https://example.com -w wordlist.txt -o results.txt
# स्वच्छ आउटपुट के लिए शांत मोड का उपयोग करें
gobuster dir -u https://example.com -w wordlist.txt -q
शुभ हैकिंग! 🚀
याद रखें: हमेशा जिम्मेदारी से और उचित प्राधिकरण के साथ परीक्षण करें।
dir मोड में --force फ़्लैग जोड़ा गया ताकि प्रीचेक त्रुटियाँ होने पर भी निष्पादन जारी रहेshow-cname का नाम बदलकर check-cname किया गयाverbose फ़्लैग से छुटकारा पाया और इसके बजाय debug पेश किया गया--no-progress के साथ चलाने पर अतिरिक्त विशेष वर्ण ठीक करेंinterface और local-ip पैरामीटर जोड़ें--exclude-length पर एकाधिक मान और श्रेणियों की अनुमति देंno-fqdn पैरामीटर। यदि आपने कुछ खोज डोमेन कॉन्फ़िगर किए हैं तो इससे रन गति बढ़नी चाहिए। https://github.com/OJ/gobuster/pull/418{GOBUSTER} शब्द की प्रत्येक घटना को वर्तमान वर्डलिस्ट आइटम से बदल दिया जाएगा। कृपया सावधानी से उपयोग करें क्योंकि इससे जारी अनुरोधों की संख्या में बहुत वृद्धि हो सकती है।p फ़्लैग जो प्रॉक्सी को असाइन किया गया था, अब पैटर्न फ़्लैग द्वारा उपयोग किया जाता है-m अब चला गया है!)