ခဏလေး ဒီလိုပဲ စဉ်းစားကြည့်
Directory Enumeration ဆိုတာ web server ပေါ်က hidden/undocumented path (`/admin`, `/backup`, `/.git`) ကို wordlist သုံးပြီး systematic ရှာဖွေခြင်းပါ — developer တွေက production မှာ ဖျက်ဖို့ မေ့ခဲ့တဲ့ admin panel/backup file ကို ဒီနည်းနဲ့ ရှာတွေ့နိုင်ပါတယ်။ Technology Fingerprinting ကတော့ website ရဲ့ underlying technology (framework, CMS, server software) ကို HTTP header, HTML source, error message ကနေ ခန့်မှန်းခြင်းပါ — WordPress, ဒါမှမဟုတ် specific framework version သိမှသာ known vulnerability ကို target လုပ်နိုင်ပါတယ်.
လက်တွေ့ scenario နဲ့ ချိတ်ကြည့်မယ်
Lab web app ကို `gobuster dir -u http://192.168.56.101 -w wordlist.txt` လို့ run ရင် — `/admin`, `/uploads`, `/.git` စတဲ့ hidden path တွေကို auto-discover ပေးနိုင်ပါတယ်, `/.git` ကို တွေ့ရင် source code repository တစ်ခုလုံးကို download ရနိုင်တဲ့ risk ရှိပါတယ် (developer တွေက production deploy တဲ့အခါ `.git` folder ကို ဖျက်ဖို့ မေ့ခဲ့ရင်)။ `whatweb` tool ကို သုံးရင် target ရဲ့ CMS/framework/server software ကို auto-detect ပေးနိုင်ပါတယ်.
အတူတူ ကြည့်မယ်
# Directory enumeration (against your own lab web app)
gobuster dir -u http://192.168.56.101 -w /usr/share/wordlists/common.txt
# Technology fingerprinting
whatweb http://192.168.56.101
# Check for an exposed .git directory
curl -s http://192.168.56.101/.git/config===============================================================
/admin (Status: 200)
/uploads (Status: 301)
/backup.zip (Status: 200)၅ မိနစ် စမ်းကြည့်
Lab web app (DVWA ဒါမှမဟုတ် Metasploitable web) ကို `gobuster` ဒါမှမဟုတ် `dirb` နဲ့ directory enumeration လုပ်ကြည့်ပါ — တွေ့ရတဲ့ path list ကို review ပြီး attacker တစ်ယောက်က ဘယ် path ကို စိတ်ဝင်စားမလဲ ခန့်မှန်းကြည့်ပါ။
သတိလေးတစ်ချက်
Directory enumeration (aggressive request rate) ကို production server ပေါ်မှာ authorization ရှိတောင် rate-limit မထားဘဲ run ရင်, DoS-like effect ဖြစ်စေနိုင်ပါတယ် — request rate ကို adjust လုပ်ပြီး server load ကို ထိန်းချုပ်သင့်ပါတယ်.