Hoşgeldin Misafir

WPScan | Kapsamlı Cheatsheet (Commands)

tc4dy

Planet 9, Backrooms
19 Haz 2026
112 Mesaj

Aktiflik

Seviye

Deneyim

TIM / GÖREV:

TEMEL KULLANIM​

Basit bir WordPress site taraması yap​

wpscan --url https://example.com

Sadece zafiyet tespiti yap (hızlı mod)​

wpscan --url https://example.com --detection-mode quick

Kullanıcı adlarını enumerate et (author id ve API yoluyla)​

wpscan --url https://example.com -e u

Tüm kullanıcıları, eklentileri, temaları enumerate et​

wpscan --url https://example.com -e at,ap,u

Sadece eklentileri ve temaları tespit et (versiyonlarla)​

wpscan --url https://example.com -e ap,at --plugins-version-detection aggressive

Tüm detaylı enumerasyon (en kapsamlı)​

wpscan --url https://example.com -e vp,vt,tt,cb,dbe,u,m --plugins-version-detection aggressive

Sadece zafiyetli eklentileri tespit et​

wpscan --url https://example.com -e vp

Sadece zafiyetli temaları tespit et​

wpscan --url https://example.com -e vt

Timthumb dosyalarını tara​

wpscan --url https://example.com -e tt

Config backup dosyalarını tara​

wpscan --url https://example.com -e cb

Database tablolarını tespit et (db exports)​

wpscan --url https://example.com -e dbe

Medya dosyalarını tara (media)​

wpscan --url https://example.com -e m

Tüm sürümleri detaylı araştır​

wpscan --url https://example.com -e ap,at --plugins-version-detection aggressive --themes-version-detection aggressive


BRUTE FORCE TESTLERİ​

Zayıf şifre brute force denemesi yap​

wpscan --url https://example.com -U usernames.txt --passwords /path/to/wordlist.txt

Tek bir kullanıcıya brute force saldırısı​

wpscan --url https://example.com -U admin --passwords /path/to/wordlist.txt

Brute 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-crack

XML-RPC brute force saldırısı​

wpscan --url https://example.com -U admin --passwords wordlist.txt --xmlrpc

Login throttle atlatmak için gecikme ekle​

wpscan --url https://example.com -U admin --passwords wordlist.txt --request-timeout 30 --delay 1000

Password attack sadece belirli bir metot ile​

wpscan --url https://example.com -U admin --passwords wordlist.txt --login-method xmlrpc

WordPress.com hesaplarına brute force (Jetpack)​

wpscan --url https://example.com -U admin --passwords wordlist.txt --login-method jetpack


PROXY VE KİMLİK DOĞRULAMA​

Proxy kullanarak tarama yap​

wpscan --url https://example.com --proxy socks5://127.0.0.1:9050

HTTP proxy kullan (Burp Suite)​

wpscan --url https://example.com --proxy http://127.0.0.1:8080

Proxy auth gerekiyorsa​

wpscan --url https://example.com --proxy http://127.0.0.1:8080 --proxy-auth user:pass

HTTP Basic Auth kullanarak giriş yaparak tarama yap​

wpscan --url https://example.com --basic-auth user:password

Cookie 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.txt

JSON formatında çıktı al​

wpscan --url https://example.com -o output.json --format json

API Token ile WPScan Vulnerability Database kullan​

wpscan --url https://example.com --api-token YOUR_TOKEN_HERE

API token ile derinlemesine zafiyet taraması​

wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --plugins-version-detection aggressive -e vp,vt

Sadece zafiyetleri göster (output temiz)​

wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -o vulnerabilities.txt --no-banner

Markdown formatında rapor​

wpscan --url https://example.com -o report.md --format markdown --api-token YOUR_TOKEN_HERE


GELİŞMİŞ AYARLAR​

User-Agent değiştirmek​

wpscan --url https://example.com --random-user-agent

SSL sertifikasını yok sayarak tarama yap​

wpscan --url https://example.com --disable-tls-checks

Belirli bir eklentiyi test et​

wpscan --url https://example.com --plugins-detection mixed

Daha ayrıntılı çıktı almak için verbose​

wpscan --url https://example.com --verbose

Timeout süresini ayarla (saniye)​

wpscan --url https://example.com --request-timeout 30

Maksimum redirect sayısı​

wpscan --url https://example.com --max-redirects 10

FTP/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/key

FTP üzerinden dosya yükleme testi​

wpscan --url https://example.com --ftp-host ftp.example.com --ftp-user user --ftp-pass pass

WordPress version fingerprinting (zayıf mod)​

wpscan --url https://example.com --detection-mode mixed

WordPress 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-redirect

URL'de path belirtme​

wpscan --url https://example.com/wp

Admin dizinini belirtme​

wpscan --url https://example.com --wp-content-dir custom-content

Plugin dizinini belirtme​

wpscan --url https://example.com --wp-plugins-dir custom-plugins

Exclude bot detection​

wpscan --url https://example.com --exclude-content

Force SSL kullan​

wpscan --url https://example.com --force

Headers'ı göster​

wpscan --url https://example.com --headers

HTTP 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-agent

Burp ile yakalama​

wpscan --url https://example.com --proxy http://127.0.0.1:8080 --no-banner

Headless mode (tüm output'u bastır)​

wpscan --url https://example.com --no-banner -q


ZAFİYET TESPİTİ VE İSTİSMAR​

Bilinen zafiyetler için exploit testi​

wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp,vt

Zafiyetli plugin/theme'leri otomatik exploit et​

wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploit

Shell 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 vc

Backup dosyası tarama​

wpscan --url https://example.com -e cb --config-backups

DB export bul​

wpscan --url https://example.com -e dbe


KULLANICI VE ROL TESPİTİ​

Tüm kullanıcıları listele (ID 1-100)​

wpscan --url https://example.com -e u1-100

Admin kullanıcılarını bul​

wpscan --url https://example.com -e u --role admin

Author kullanıcılarını bul​

wpscan --url https://example.com -e u --role author

Editor kullanıcılarını bul​

wpscan --url https://example.com -e u --role editor

Contributor kullanıcılarını bul​

wpscan --url https://example.com -e u --role contributor

Subscriber kullanıcılarını bul​

wpscan --url https://example.com -e u --role subscriber

Kullanıcıları brute force için dışa aktar​

wpscan --url https://example.com -e u -o users.txt


PLUGIN VE THEME KEŞFİ​

Tüm aktif plugin'leri bul​

wpscan --url https://example.com -e ap

Tüm plugin'leri bul (pasif + aktif)​

wpscan --url https://example.com -e ap --plugins-version-detection passive

Plugin versiyonlarını agresif bul​

wpscan --url https://example.com -e ap --plugins-version-detection aggressive

Sadece zafiyetli plugin'leri bul​

wpscan --url https://example.com -e vp --api-token YOUR_TOKEN_HERE

Tüm aktif temaları bul​

wpscan --url https://example.com -e at

Tüm temaları bul (pasif + aktif)​

wpscan --url https://example.com -e at --themes-version-detection passive

Tema versiyonlarını agresif bul​

wpscan --url https://example.com -e at --themes-version-detection aggressive

Sadece zafiyetli temaları bul​

wpscan --url https://example.com -e vt --api-token YOUR_TOKEN_HERE

Belirli 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.com

WPScan + Dirb ile dizin fuzzing​

wpscan --url https://example.com -o wpscan.txt && dirb https://example.com

WPScan + 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.txt

WPScan + Nikto ile web server taraması​

wpscan --url https://example.com && nikto -h https://example.com

WPScan + SQLMap ile SQL injection​

wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp && sqlmap -u https://example.com

WPScan + Burp Suite entegrasyonu​

wpscan --url https://example.com --proxy http://127.0.0.1:8080 --no-banner

WPScan + Metasploit exploit​

wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e vp --exploit && msfconsole

WPScan + ZAP proxy​

wpscan --url https://example.com --proxy http://127.0.0.1:8090


BÜYÜK SCOPELAR / AÇIK KAYNAK​

Çoklu site taraması​

cat domains.txt | xargs -P 10 -I {} wpscan --url {} --no-banner -o {}.txt

Parallel 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.txt

Günlük otomatik tarama​

0 0 * * * wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -o reports/$(date +%Y%m%d).txt

Haftalı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).txt

Yeni eklenen plugin'leri tespit​

diff old_plugins.txt new_plugins.txt | grep ">" | cut -d " " -f2 > new_plugins.txt


ZAFİ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 html

JSON çı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 csv

Markdown report​

wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -o report.md --format markdown

Sadece 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.txt

2. 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.txt

3. Kullanıcı listesi al​

wpscan --url https://example.com --api-token YOUR_TOKEN_HERE -e u -o users.txt

4. Zafiyetli plugin'leri kontrol et​

grep -E "Title:|Fixed in:" detailed_scan.txt | sort | uniq > vulnerabilities.txt

5. Brute force testi (yetkili sistemde)​

wpscan --url https://example.com -U users.txt --passwords /usr/share/wordlists/rockyou.txt --threads 5 --delay 2000

6. Exploit dene (varsa)​

wpscan --url https://example.com --api-token YOUR_TOKEN_HERE --exploit

7. Rapor oluştur​

echo "=== WPScan TARAMA RAPORU (date)===">finalreport.txtecho"−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−">>finalreport.txtecho"Domain:https://example.com">>finalreport.txtecho"ToplamZafiyet:(date)===">finalreport.txtecho"−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−">>finalreport.txtecho"Domain:https://example.com">>finalreport.txtecho"ToplamZafiyet:(grep -c "Title:" vulnerabilities.txt)" >> final_report.txt
echo "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.html

9. Email ile rapor gönder​

mail -s "WordPress Security Report" [email protected] < report.html


HIZLI REFERANS KARTI​

En sık kullanılan komutlar​

wpscan --url https://example.com
wpscan --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

Zafiyet tespiti için optimize​

wpscan --url https://example.com --api-token TOKEN -e vp,vt --plugins-version-detection aggressive --themes-version-detection aggressive -o vuln.txt

Hızlı tarama​

wpscan --url https://example.com --detection-mode quick -o quick.txt

Sessiz mod (sadece sonuç)​

wpscan --url https://example.com --no-banner -q -o results.txt

WAF atlatma​

wpscan --url https://example.com --random-user-agent --proxy socks5://127.0.0.1:9050 --header "X-Forwarded-For: 127.0.0.1"

Regex ile filtreleme​

wpscan --url https://example.com -e ap,at,u | grep -E "Username|Plugin Name|Theme Name"

Özel wordlist ile brute force​

wpscan --url https://example.com -U users.txt --passwords /custom/wordlist.txt --threads 10

Tüm sonuçları temizle​

wpscan --url https://example.com -e vp,vt,tt,cb,dbe,u,m --no-banner | grep -v "ii" | grep -v "\*" > clean_report.txt