AhanDotID/subsleuth

GitHub: AhanDotID/subsleuth

一个使用多线程 DNS 解析的简单子域名发现工具,帮助快速收集目标域的子域名。

Stars: 0 | Forks: 0

``` ██████ ██ ██ ██████ ███████ ██ ███████ ██ ██ ████████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █████ ██ ██ ██████ ███████ ██ █████ ██ ██ ██ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██████ ██████ ███████ ███████ ███████ ██████ ██ ██ ██ ``` **Subdomain Finder Sederhana** [![Python](https://img.shields.io/badge/Python-3.6+-3776AB?style=flat-square&logo=python&logoColor=white)](https://python.org) [![License](https://img.shields.io/badge/License-MIT-39ff14?style=flat-square)](LICENSE) [![Author](https://img.shields.io/badge/Author-AhanDotID-00e5ff?style=flat-square)](https://ahandotid.github.io) ## 📌 关于 SubSleuth adalah alat sederhana untuk mencari subdomain dari sebuah domain target menggunakan teknik DNS resolution. Cocok untuk CTF, bug bounty recon, dan pembelajaran cybersecurity. ## ⚡ 功能 - 🔍 Wordlist bawaan 100+ kata umum - ⚡ Multithreading untuk scanning lebih cepat - 📁 Support wordlist eksternal kustom - 💾 Simpan hasil ke file `.txt` - 🎨 Output terminal berwarna - ⌨️ Ctrl+C aman - hasil tersimpan saat dihentikan ## 🔧 要求 - Python 3.6+ - Tidak perlu install library tambahan - menggunakan module bawaan Python! ## 📥 安装 **1. Clone repository:** ``` git clone https://github.com/AhanDotID/subsleuth.git cd subsleuth ``` **2. Atau download langsung:** ``` wget https://raw.githubusercontent.com/AhanDotID/subsleuth/main/subsleuth.py ``` **3. Beri permission execute (Linux/Mac):** ``` chmod +x subsleuth.py ``` ## 🚀 使用 ### 基础 - 使用默认单词表扫描 ``` python3 subsleuth.py example.com ``` ### 自定义单词表 ``` python3 subsleuth.py example.com -w wordlist.txt ``` ### 增加线程数量(更快) ``` python3 subsleuth.py example.com -t 100 ``` ### 保存结果到文件 ``` python3 subsleuth.py example.com -o hasil.txt ``` ### 详细模式(显示所有尝试) ``` python3 subsleuth.py example.com -v ``` ### 组合所有选项 ``` python3 subsleuth.py example.com -w wordlist.txt -t 100 -o hasil.txt -v ``` ## 📋 选项 | Argument | Keterangan | Default | |----------|-----------|---------| | `domain` | Target domain (wajib) | - | | `-w, --wordlist` | Path ke file wordlist kustom | Wordlist bawaan | | `-t, --threads` | Jumlah thread | `50` | | `-o, --output` | Simpan hasil ke file | Tidak disimpan | | `-v, --verbose` | Tampilkan semua percobaan | Off | ## 📤 示例输出 ``` [*] Target : example.com [*] Words : 100 [*] Threads : 50 [*] Started : 14:32:01 ───────────────────────────────────────────────────── [+] www.example.com → 93.184.216.34 [+] mail.example.com → 93.184.216.50 [+] api.example.com → 93.184.216.51 [+] dev.example.com → 93.184.216.52 ───────────────────────────────────────────────────── [✔] Found : 4 subdomain(s) [*] Time : 3.21s ``` ## 📁 自定义单词表格式 Buat file `.txt` dengan satu kata per baris: ``` www mail api dev staging admin # 这是一个注释,忽略 ``` Wordlist publik yang bisa dipakai: - [SecLists](https://github.com/danielmiessler/SecLists/tree/master/Discovery/DNS) - [Assetnote Wordlists](https://wordlists.assetnote.io/) ## 📌 使用提示 ``` # 使用 SecLists 的单词表以获得最佳结果 python3 subsleuth.py target.com -w /path/to/SecLists/Discovery/DNS/subdomains-top1million-5000.txt -t 100 -o results.txt # 使用高线程数进行快速扫描 python3 subsleuth.py target.com -t 200 # 保存并分析结果 python3 subsleuth.py target.com -o results.txt && cat results.txt ``` ## ⚖️ 法律与伦理 Alat ini dibuat untuk: - ✅ Kompetisi CTF - ✅ Bug bounty (pada scope yang diizinkan) - ✅ Pengujian pada sistem milik sendiri - ✅ Pembelajaran & edukasi cybersecurity **DILARANG** digunakan untuk: - ❌ Scanning tanpa izin - ❌ Aktivitas ilegal apapun ## 👤 作者 **Ahan Pahlevi (AhanDotID)** [![Website](https://img.shields.io/badge/Portfolio-ahandotid.github.io-39ff14?style=flat-square&logo=github&logoColor=black&labelColor=0d1117)](https://ahandotid.github.io) [![HackerOne](https://img.shields.io/badge/HackerOne-ahandotid-FF6F61?style=flat-square&logo=hackerone&logoColor=white)](https://hackerone.com/ahandotid) [![Twitter](https://img.shields.io/badge/Twitter-@paranoiahan-1DA1F2?style=flat-square&logo=twitter&logoColor=white)](https://twitter.com/paranoiahan)
Made with ♥ by Ahan Pahlevi | CianjurSec 🔐
标签:DNS解析, Python, T1592.003, 二进制发布, 侦察与发现, 内置词表, 动态插桩, 域名信息收集, 子域名枚举, 子域名查找, 并发扫描, 开源工具, 开源项目, 无后门, 系统安全, 终端着色, 结果保存, 网络安全, 自定义词表, 逆向工具, 隐私保护