██████╗ ███████╗██████╗ ██████╗ ██████╗ ███╗ ██╗███████╗██╗██████╗
██╔══██╗██╔════╝██╔══██╗ ██╔════╝██╔═══██╗████╗ ██║██╔════╝██║██╔════╝
██████╔╝█████╗ ██║ ██║ ██║ ██║ ██║██╔██╗ ██║█████╗ ██║██║ ███╗
██╔══██╗██╔══╝ ██║ ██║ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║
██║ ██║███████╗██████╔╝ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝
╚═╝ ╚═╝╚══════╝╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
Laravel Configuration Exposure & Security Scanner (beta)
red-config adalah alat pemindai keamanan berbasis Python yang dirancang untuk melakukan reconnaissance dan audit konfigurasi pada aplikasi web, dengan fokus pada celah keamanan umum dan spesifik Laravel.
- Reconnaissance Komprehensif: Mendeteksi IP, Hosting Provider, Web Server (Nginx, Apache, dll.), dan keberadaan WAF (Cloudflare, Sucuri, dll.).
- Penemuan Subdomain: Secara pasif menemukan subdomain terkait target menggunakan data Certificate Transparency Logs.
- Analisis Jejak Jaringan: Melakukan
tracerouteuntuk memetakan jalur jaringan ke server target. - Pemindaian Port Lanjutan: Mendukung pemindaian port spesifik, rentang port, atau daftar 100 port terpopuler.
- Audit Konfigurasi Laravel: Memeriksa file sensitif seperti
.env,.git/config,storage/logs/laravel.log, dan mode debug yang aktif. - Deteksi Kerentanan Umum: Mencari Directory Listing, panel admin/login yang terekspos, dan file
phpinfo(). - Pemeriksaan CSRF Token: Mendeteksi keberadaan perlindungan CSRF token pada halaman.
- Pemindaian Berbasis Wordlist: Memungkinkan pengguna untuk menyediakan daftar path kustom untuk penemuan direktori yang lebih mendalam.
- Output Terminal Terstruktur: Laporan yang jelas dan berwarna untuk kemudahan analisis.
Untuk menjalankan skrip ini, Anda memerlukan Python 3.
-
Clone repositori ini:
git clone https://github.com/shitodcy/red-config.git
-
Masuk ke direktori proyek:
cd red-config -
Instal semua dependensi yang dibutuhkan:
pip install -r requirements.txt
(Pastikan Anda memiliki perintah
traceroute(Linux/macOS) atautracert(Windows) di sistem Anda agar fitur traceroute berfungsi). -
(Linux & macOS): Agar Anda bisa menjalankan
redconfigdari direktori mana pun tanpapython3, ikuti langkah berikut:chmod +x redconfig.py sudo ln -s "$(pwd)/redconfig.py" /usr/local/bin/redconfigSetelah ini, Anda dapat menjalankan alat dari direktori manapun hanya dengan perintah
redconfig.
Gunakan perintah -h atau --help untuk melihat semua opsi yang tersedia.
redconfig -husage: redconfig [-h] [--ports <PORTS>] [-w <FILE>] [-t <NUM>] [--timeout <SECONDS>] TARGET
red config - Laravel Configuration Exposure & Security Scanner
Target Specification:
TARGET The root URL of the web application to be scanned (e.g., [https://example.com](https://example.com)).
Discovery & Enumeration Options:
--ports <PORTS> Specify ports to scan. Can be comma-separated, a range, or a keyword.
Examples:
'80,443,8080' - Scan specific ports.
'1-1024' - Scan a range of ports.
'top-100' - Scan the 100 most common ports.
(Default: Scans a small list of common web-related ports).
-w <FILE>, --wordlist <FILE>
Path to a custom wordlist file (one path per line) for discovering
additional files and directories.
Performance & Control:
-t <NUM>, --threads <NUM>
Set the number of concurrent scanning threads (default: 10).
--timeout <SECONDS> Set the request timeout in seconds (default: 7).
Example: python3 redconfig.py [https://example.com](https://example.com) --ports top-100 -w /path/to/wordlist.txt
-
Pemindaian dasar:
redconfig https://target-website.com
-
Pemindaian dengan 100 port terpopuler:
redconfig https://target-website.com --ports top-100
-
Pemindaian menggunakan wordlist kustom:
redconfig https://target-website.com -w common-paths.txt
-
Pemindaian komprehensif dengan 20 threads:
redconfig https://target-website.com --ports 1-1024 -w /usr/share/wordlists/dirb/common.txt -t 20