
एकाधिक IPs के लिए स्वचालित रूप से ffuf स्कैन चलाएँ और सहेजें
___ __ ____ _ __ __
/ | __ __/ /_____ / __ \(_)____/ /_ __ _______/ /____ _____
/ /| |/ / / / __/ __ \/ / / / / ___/ __ \/ / / / ___/ __/ _ \/ ___/
/ ___ / /_/ / /_/ /_/ / /_/ / / / / /_/ / /_/ (__ ) /_/ __/ /
/_/ |_\__,_/\__/\____/_____/_/_/ /_.___/\__,_/____/\__/\___/_/
git clone https://github.com/NetSPI/AutoDirbuster.git
cd AutoDirbuster && pip3 install -r requirements.txt
python AutoDirbuster.py ip_port_list.txt -w my_wordlist.txt
Ffuf एक शानदार डायरेक्ट्री बस्टर है, लेकिन इसे कई IPs और पोर्ट्स के खिलाफ चलाना एक बहुत ही मैन्युअल प्रक्रिया है, जिसमें स्कैन के बीच बहुत अधिक डाउनटाइम होता है। यह स्क्रिप्ट उस प्रक्रिया को स्वचालित करने का प्रयास करती है और स्कैन के बीच डाउनटाइम को समाप्त करती है।
यदि कई लक्ष्यों पर हमला कर रहे हैं:
Nmap चलाएं और खुले पोर्ट खोजें
Nmap परिणामों की समीक्षा करें और IP:port की एक सूची बनाएं, प्रति पंक्ति एक
खुले पोर्ट के खिलाफ AutoDirbuster चलाएं
AutoDirbuster यह निर्धारित करेगा कि सेवा HTTP आधारित है या नहीं
python AutoDirbuster.py ip_port_list.txt -w my_wordlist.txt --combineयदि एकल लक्ष्य पर हमला कर रहे हैं:
python AutoDirbuster.py -u example.com:80 -w my_wordlist.txtउपयोगी विकल्पों में शामिल हैं:
पूर्ण विकल्पों की सूची के लिए --help फ़्लैग निर्दिष्ट करें।
प्रोग्राम दो डेटा स्रोत ले सकता है:
python AutoDirbuster.py ip_port_list.txt -w my_wordlist.txtpython AutoDirbuster.py -u example.com:80 -w my_wordlist.txtffuf-report-{proto}_{target}_{port}subprocess.Popen() का उपयोग करके चलाया जाता हैनिम्नलिखित सुनिश्चित करें:
requirements.txt में सूचीबद्ध सभी निर्भरताएँ स्थापित हैं?ffuf स्थापित है और आपके सिस्टम पथ में है?
ffuf -V चलाकर देखेंpython -V चलाकर प्राप्त की जा सकती है# python AutoDirbuster.py --help
usage:
___ __ ____ _ __ __
/ | __ __/ /_____ / __ \(_)____/ /_ __ _______/ /____ _____
/ /| |/ / / / __/ __ \/ / / / / ___/ __ \/ / / / ___/ __/ _ \/ ___/
/ ___ / /_/ / /_/ /_/ / /_/ / / / / /_/ / /_/ (__ ) /_/ __/ /
/_/ |_\__,_/\__/\____/_____/_/_/ /_.___/\__,_/____/\__/\___/_/
AutoDirbuster.py [options] {target file}
Automatically run and save ffuf scans for multiple IPs
options:
-h, --help show this help message and exit
AutoDirbuster options:
target Target file with IP:port, one per line
-u, --url Single target mode, positional argument is target in IP:port
format
-f, --force Force mode; don't check if report file exists, this will result in
previous reports being overwritten
--dns Automatically resolve IP address to hostname to use during dirbust
--debug Show debugging information
--combine Combine all CSV results into a single file after scanning
--quiet Suppress ffuf's stderr output (equivalent of 2>/dev/null);
AutoDirbuster's own output and ffuf stdout are unaffected
ffuf options:
-w WORDLIST, --wordlist WORDLIST
Wordlist to use for list based brute force
-X METHOD, --method METHOD
HTTP method to use; default=GET
-e EXTENSIONS, --extensions EXTENSIONS
File extension list (e.g.: "asp,aspx"); default is None
-t THREADS, --threads THREADS
Override the default number of ffuf threads
--rate RATE Rate of requests per second
-to TIMEOUT, --timeout TIMEOUT
Set a timeout value for each host in minutes; default is None
-fr, --follow-redirects
Follow redirects; default is False
-r, --recursive Recursive mode; default is False
-s STARTPOINT, --startpoint STARTPOINT
Start point of the scan; default=/
-of OUTPUT_FORMAT, --output-format OUTPUT_FORMAT
Output format to write results to; default=csv
-mc MATCH_CODES, --match-codes MATCH_CODES
Match HTTP status codes;
default=200,204,301,302,307,401,403,405,500
-nac, --no-auto-calibrate
Do not automatically calibrate filtering options
-H HEADER, --header HEADER
HTTP header "Name: Value", separated by colon
--custom-option CUSTOM_OPTION [CUSTOM_OPTION ...]
Specify ffuf option that AutoDirbuster doesn't support by default.
Argument should be a key/value pair separated by a comma with no
leading '-', example: --custom-option=ml,1. If the provided
argument is a boolean, provide an empty value: --custom-option=sa,
Examples:
python AutoDirbuster.py ip_port_list.txt -w my_wordlist.txt
python AutoDirbuster.py -st example.com:80 -w my_wordlist.txt -mc 200,500
python AutoDirbuster.py ip_port_list.txt -w my_wordlist.txt -r -e "php,html" --dns
| विकल्प | उद्देश्य |
|---|
| --dns | IP पतों को होस्टनाम में हल करें |
| --extensions | स्कैन करते समय उपयोग करने के लिए फ़ाइल एक्सटेंशन |
| --rate | प्रति सेकंड अनुरोधों की दर |
| --timeout | प्रत्येक होस्ट के लिए मिनटों में टाइमआउट मान सेट करें |
| --match-codes | दिए गए HTTP स्थिति कोड से मिलान करें |
| --combine | स्कैन करने के बाद सभी CSV परिणामों को एक फ़ाइल में संयोजित करें |
| --quiet | ffuf का stderr आउटपुट दबाएं (2>/dev/null के समतुल्य) |
| --custom-option | उस ffuf विकल्प को निर्दिष्ट करें जो AutoDirbuster डिफ़ॉल्ट रूप से समर्थन नहीं करता है |