
Nmap परिणामों के आधार पर लक्ष्य की गणना करें
mkdir -p ~/pyenv
python3 -m pip install virtualenv
virtualenv -p python3 ~/pyenv/autorecon
cd /opt
git clone https://github.com/Knowledge-Wisdom-Understanding/recon.git
cd recon
chmod +x setup.sh
./setup.sh
source ~/pyenv/autorecon/bin/activate
python3 -m pip install -r requirements.txt
python3 setup.py install
_____________ ____ ________________
/___/___ \ / / | /___/__ \ Mr.P-Millz _____
O.G./ / _ \______/__/ |______|__|_____ * \_________________/__/ |___
__/__/ /_\ \ | | \ __\/ _ \| | __/ __ \_/ ___\/ _ \| |
| | ___ \| | /| | ( |_| ) | | \ ___/\ \__( |_| ) | |
|___|____/\__\____|____/_|__|\_\____/|__|____|_ /\___ |\___ \____/|___| /
github.com/Knowledge-Wisdom-Understanding \___\/ \__\/ \__\_/ \___\/ v4.2.0
usage: autorecon -t 10.10.10.10
An Information Gathering and Enumeration Framework
optional arguments:
-h, --help show this help message and exit
-t TARGET, --target TARGET
Single IPv4 Target to Scan
-F, --FUZZ auto fuzz found urls ending with .php for params
-v, --version Show Current Version
-f FILE, --file FILE File of IPv4 Targets to Scan
-w [WEB], --web [WEB]
Get open ports for IPv4 address, then only Enumerate
Web & and Dns Services. -t,--target must be specified.
-w, --web takes a URL as an argument. i.e. python3
recon.py -t 10.10.10.10 -w secret
-i {http,httpcms,ssl,sslcms,aquatone,smb,dns,ldap,removecolor,oracle,source,sort_urls,proxy,proxycms,fulltcp,topports,remaining,searchsploit,peaceout,ftpAnonDL,winrm} [{http,httpcms,ssl,sslcms,aquatone,smb,dns,ldap,removecolor,oracle,source,sort_urls,proxy,proxycms,fulltcp,topports,remaining,searchsploit,peaceout,ftpAnonDL,winrm} ...], --ignore {http,httpcms,ssl,sslcms,aquatone,smb,dns,ldap,removecolor,oracle,source,sort_urls,proxy,proxycms,fulltcp,topports,remaining,searchsploit,peaceout,ftpAnonDL,winrm} [{http,httpcms,ssl,sslcms,aquatone,smb,dns,ldap,removecolor,oracle,source,sort_urls,proxy,proxycms,fulltcp,topports,remaining,searchsploit,peaceout,ftpAnonDL,winrm} ...]
Service modules to ignore during scan.
-s {http,httpcms,ssl,sslcms,aquatone,smb,dns,ldap,removecolor,oracle,source,sort_urls,proxy,proxycms,fulltcp,topports,remaining,searchsploit,peaceout,ftpAnonDL,winrm} [{http,httpcms,ssl,sslcms,aquatone,smb,dns,ldap,removecolor,oracle,source,sort_urls,proxy,proxycms,fulltcp,topports,remaining,searchsploit,peaceout,ftpAnonDL,winrm} ...], --service {http,httpcms,ssl,sslcms,aquatone,smb,dns,ldap,removecolor,oracle,source,sort_urls,proxy,proxycms,fulltcp,topports,remaining,searchsploit,peaceout,ftpAnonDL,winrm} [{http,httpcms,ssl,sslcms,aquatone,smb,dns,ldap,removecolor,oracle,source,sort_urls,proxy,proxycms,fulltcp,topports,remaining,searchsploit,peaceout,ftpAnonDL,winrm} ...]
Scan only specified service modules
-b {ftp,smb,http,ssh}, --brute {ftp,smb,http,ssh}
Experimental! - Brute Force ssh,smb,ftp, or http. -t,
--target is REQUIRED. Must supply only one protocol at
a time. For ssh, first valid users will be enumerated
before password brute is initiated, when no user or
passwords are supplied as options.
-p PORT, --port PORT port for brute forcing argument. If no port specified,
default port will be used
-u USER, --user USER Single user name for brute forcing, for SSH, if no
user specified, will default to
wordlists/usernames.txt and bruteforce usernames
-U USERS, --USERS USERS
List of usernames to try for brute forcing. Not yet
implimented
-P PASSWORDS, --PASSWORDS PASSWORDS
List of passwords to try. Optional for SSH, By default
wordlists/probable-v2-top1575.txt will be used.
एकल लक्ष्य को स्कैन करने और nmap परिणामों के आधार पर एन्युमेरेट करने के लिए:
autorecon -t 10.10.10.10
बड़ी वर्डलिस्ट के साथ वेब एन्युमेरेट करने के लिए
autorecon -t 10.10.10.10 -w secret
autorecon -t 10.10.10.10 -w somedirectory
autorecon -t 10.10.10.10 -w ' '
आमतौर पर, अपने पहले रन पर, आपको केवल -t --target विकल्प (autorecon -t 10.10.10.10) निर्दिष्ट करना चाहिए। इससे पहले कि आप विशिष्ट मॉड्यूल निर्दिष्ट करने के लिए -s --service विकल्प का उपयोग कर सकें, आपको पहले से topports मॉड्यूल चला लेना चाहिए। उदाहरण के लिए, यदि आप वास्तव में अपने पहले रन पर अन्य सभी मॉड्यूल को छोड़ना चाहते हैं, और topports के बाद केवल वेब को स्कैन करना चाहते हैं, तो आप कुछ ऐसा कर सकते हैं,
autorecon -t 10.10.10.10 -s topports dns http httpcms ssl sslcms sort_urls aquatone source
या वेब एन्युमेरेशन को पूरी तरह छोड़ दें लेकिन बाकी सब स्कैन करें।
autorecon -t 10.10.10.10 -i dns http httpcms ssl sslcms sort_urls aquatone source
बचे हुए सेवाओं का मॉड्यूल भी topports और/या fulltcp मॉड्यूल पर निर्भर है। अब आप लक्ष्य धीमा होने पर fulltcp स्कैन छोड़ सकते हैं। हालांकि, सलाह दी जाती है, UDP nmap स्कैन वर्तमान में fulltcp मॉड्यूल के साथ बंडल किया गया है, इसलिए fulltcp मॉड्यूल छोड़ने पर कुछ UDP एन्युमेरेशन छूट जाएगी।
ips.txt फ़ाइल में सभी IPv4 पतों को स्कैन + एन्युमेरेट करने के लिए
autorecon -f ips.txt
सभी मिले php URL के पैरामीटर के लिए फज करने के लिए, आप बिना तर्क के -F --FUZZ फ्लैग का उपयोग कर सकते हैं।
autorecon -t 10.10.10.10 --FUZZ
डिफ़ॉल्ट पोर्ट 22 पर ssh उपयोगकर्ताओं पर ब्रूट फोर्स करें यदि अद्वितीय वैध उपयोगकर्ता मिलते हैं, तो पासवर्ड पर ब्रूट फोर्स करें
autorecon -t 10.10.10.10 -b ssh
उपरोक्त के समान लेकिन पोर्ट 2222 आदि पर ssh के लिए...
autorecon -t 10.10.10.10 -b ssh -p 2222
autorecon -t 10.10.10.10 -b ssh -p 2222 -u slickrick
कुछ सेवाओं को स्कैन होने से अनदेखा करने के लिए आप -i, --ignore फ्लैग निर्दिष्ट कर सकते हैं।
अनदेखा करने के लिए कई सेवाओं को निर्दिष्ट करते समय, सेवाओं को स्पेस से अलग किया जाना चाहिए। केवल topports को अनदेखा करें यदि आप पहले से यह मॉड्यूल चला चुके हैं क्योंकि अधिकांश अन्य मॉड्यूल nmap के प्रारंभिक शीर्ष पोर्ट आउटपुट पर निर्भर हैं।
सभी उपलब्ध मॉड्यूल इस प्रकार हैं:
http,httpcms,ssl,sslcms,aquatone,smb,dns,ldap,oracle,source,sort_urls,proxy,proxycms,fulltcp,topports,remaining,searchsploit,peaceout,ftpAnonDL,winrm
autorecon -t 10.10.10.10 -i http
autorecon -t 10.10.10.10 -i http ssl
autorecon --target 10.10.10.10 --ignore fulltcp http
आप केवल उन्हीं सेवाओं को भी निर्दिष्ट कर सकते हैं जिन्हें आप स्कैन करना चाहते हैं, --ignore विकल्प के समान, -s, --service विकल्प केवल निर्दिष्ट सेवा को स्कैन करेगा। कृपया ध्यान दें कि -s, --service विकल्प का उपयोग करने से पहले, आपको पहले से topports nmap स्कैन चला लेना चाहिए क्योंकि अधिकांश मॉड्यूल nmap के आउटपुट पर निर्भर हैं।
autorecon -t 10.10.10.10 -s topports remaining
autorecon -t 10.10.10.10 -s http httpcms
autorecon -t 10.10.10.10 --service oracle
| Recon | Brute |
|---|---|
![]() | ![]() |
यह प्रोग्राम काली लिनक्स में उपयोग के लिए है। यदि आपको कोई बग दिखे या कोई फीचर अनुरोध हो। कृपया एक इश्यू बनाएं या पुल रिक्वेस्ट सबमिट करें। धन्यवाद!
पूर्व आपसी सहमति के बिना recon.py का उपयोग वेबसाइटों का परीक्षण या शोषण करने के लिए करना एक अवैध गतिविधि माना जा सकता है। यह उपकरण केवल CTF मशीनों के लिए है। अंतिम उपयोगकर्ता की जिम्मेदारी है कि वह सभी लागू स्थानीय, राज्य और संघीय कानूनों का पालन करे। लेखक कोई दायित्व नहीं लेते हैं और इस प्रोग्राम के कारण होने वाले किसी भी दुरुपयोग या क्षति के लिए जिम्मेदार नहीं हैं।