İçerik Keşfi & Recon
recon difficulty: kolay
İyi bir web testi, saldırı yüzeyini genişletmekle başlar. Amaç; gizli alt alan adlarını, uçları, parametreleri ve eski/terk edilmiş içeriği bulup test edilecek her noktayı ortaya çıkarmaktır.
Komut üreteci
Section titled “Komut üreteci”ffuf · directory brute
embedded toolffuf -u https://hedef.com/FUZZ -w raft-medium-directories.txt -mc 200,301,302,403 -t 40ffuf · directory brute
Section titled “ffuf · directory brute”Subdomain & varlık keşfi
Section titled “Subdomain & varlık keşfi”subfinder -d hedef.com -all -o subs.txtamass enum -passive -d hedef.comassetfinder --subs-only hedef.comhttpx -l subs.txt -title -tech-detect -status-code -o live.txtpuredns bruteforce wordlist.txt hedef.com -r resolvers.txtCertificate Transparency (crt.sh), SecurityTrails, ZoneTransfer (açıksa) ve reverse WHOIS pasif kaynakları tamamlar.
curl -s "https://crt.sh/?q=%25.hedef.com&output=json" | jq -r '.[].name_value' | sort -udig axfr @ns1.hedef.com hedef.comDizin & dosya brute force
Section titled “Dizin & dosya brute force”ffuf -u https://hedef.com/FUZZ -w raft-medium-directories.txt \ -mc 200,204,301,302,307,401,403 -o ffuf.jsonferoxbuster -u https://hedef.com -w wordlist.txt -x php,bak,zip,txt,oldgobuster dir -u https://hedef.com -w wordlist.txt -t 50ffuf -u https://hedef.com/FUZZ -w files.txt -e .php,.bak,.sql,.zip,.git,.envİlginç hedefler: /.git/, /.env, /backup/, /api/, /swagger, /graphql, /actuator, /server-status, phpinfo.php, /.svn/, /WEB-INF/web.xml, /debug, /metrics.
Virtual host keşfi
Section titled “Virtual host keşfi”ffuf -u https://IP/ -H "Host: FUZZ.hedef.com" -w vhosts.txt -fs <default_len>ffuf -u https://hedef.com/ -H "Host: FUZZ" -w vhosts.txt -fc 404Parametre & JS madenciliği
Section titled “Parametre & JS madenciliği”-
Gizli parametreler — arjun -u https://hedef.com/api veya Burp Param Miner .
-
JS çıkar — uçlar, API anahtarları, iç yollar:
Terminal window katana -u https://hedef.com -jc -d 3 -o crawl.txtTerminal window getJS -url https://hedef.com | tee js.txtTerminal window python linkfinder.py -i https://hedef.com/app.js -o cli -
Arşivler :
Terminal window gau hedef.com | tee gau.txtTerminal window waybackurls hedef.com | sort -uTerminal window cat gau.txt | grep -EI '\.(js|json|config|bak|sql|env)' -
Sözlük birleştir — crawl + wayback + wordlist → ikinci tur brute.
API & şema keşfi
Section titled “API & şema keşfi”ffuf -u https://hedef.com/FUZZ -w api-routes.txt -mc 200,401nuclei -u https://hedef.com -t http/exposures/GraphQL introspection → GraphQL.
Teknoloji parmak izi
Section titled “Teknoloji parmak izi”whatweb https://hedef.comwafw00f https://hedef.comnuclei -u https://hedef.com -t technologies/ -silentcurl -sI https://hedef.com | grep -iE 'server|x-powered|via'WAF/CDN varlığı payload stratejisini (encoding, timing) belirler.
Hassas dosya checklist
Section titled “Hassas dosya checklist”□ /.git/HEAD /.git/config → git-dumper□ /.env /config.php.bak /web.config□ /backup.zip /db.sql /dump.tar.gz□ /actuator/env /jolokia (Spring)□ /server-status /server-info (Apache)□ /_profiler /phpinfo.php□ S3 / Azure blob public listing (JS veya DNS)git-dumper https://hedef.com/.git/ ./git-dumpgrep -RniE 'api[_-]?key|secret|password' git-dump | headSonraki adım
Section titled “Sonraki adım”subs + live → takeover taramasıdirs + js endpoints → SQLi/XSS/SSRF/IDORapi docs → BOLA/BFLAwayback params → reflected XSS / open redirect→ SQLi · XSS · SSRF · IDOR · API · Takeover