
تعداد الهدف بناءً على نتائج 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
وحدة الخدمات المتبقية (remaining services) تعتمد أيضًا على وحدة topports و/أو fulltcp. يمكنك الآن تخطي إجراء فحص fulltcp إذا كان الهدف بطيئًا. ومع ذلك، يُرجى العلم أن فحص UDP من nmap مضمن حاليًا مع وحدة fulltcp، لذا فإن تخطي وحدة fulltcp سيؤدي إلى فقدان بعض تعداد UDP.
لفحص وتعداد جميع عناوين IPv4 في ملف ips.txt
autorecon -f ips.txt
لتجربة (Fuzz) جميع روابط php الموجودة بحثًا عن معلمات، يمكنك استخدام العلامة -F --FUZZ بدون وسيطة.
autorecon -t 10.10.10.10 --FUZZ
فرض المستخدمين ssh على المنفذ الافتراضي 22. إذا تم العثور على مستخدمين صالحين فريدين، قم بفرض كلمات المرور
autorecon -t 10.10.10.10 -b ssh
نفس ما سبق ولكن لـ ssh على المنفذ 2222 إلخ...
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، يجب أن تكون قد قمت بتشغيل فحص nmap topports حيث أن معظم الوحدات تعتمد على إخراج 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 |
|---|---|
![]() | ![]() |
هذا البرنامج مخصص للاستخدام في kali linux. إذا لاحظت خطأ أو كان لديك طلب ميزة، فيرجى إنشاء مشكلة (issue) أو إرسال طلب سحب (pull request). شكرًا!
يمكن اعتبار استخدام recon.py لاختبار أو استغلال مواقع الويب دون اتفاق مسبق متبادل نشاطًا غير قانوني. هذه الأداة مخصصة لأجهزة CTF فقط. إنها مسؤولية المستخدم النهائي الامتثال لجميع القوانين المحلية والولائية والفيدرالية المعمول بها. لا يتحمل المؤلفون أي مسؤولية ولا يتحملون أي سوء استخدام أو ضرر ناتج عن هذا البرنامج.