![logo.png](https://www.turkhackteam.org/styles/v1/tht/logo.png)
Merhabalar Ben CommandBEY, Bugün kendi geliştirdiğim, sitelerin Wordpress olduğunu bulan araca bakacağız
![iwxqmay.png](https://i.hizliresim.com/iwxqmay.png)
Mantığı Nedir
Wordlist verdiğimiz sitelerin sonuna 'wp-login.php' ekler eğer yanıt kodu 200 ise bir dosya'ya kaydeder.
![nhqhx1j.png](https://i.hizliresim.com/nhqhx1j.png)
Avantajları Neledir
2. Hızlı bir şekilde wordpress sitesi olup olmadığını anlarız
![ro3fzuc.png](https://i.hizliresim.com/ro3fzuc.png)
Kod Hali;
Python:
from colorama import Fore
from os import system
import platform
from sys import exit
import requests
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
dosya = 'site.txt'
sites = []
bulunan = 0
def baslangic():
osname = platform.system()
if osname == "Windows":
system("cls")
elif osname == "Linux":
system("clear")
try:
with open('site.txt', 'r', encoding='cp1254') as dosyao:
sites.extend(dosyao.read().split())
except FileNotFoundError:
print(Fore.RED + "Dosya Bulunamadı, 'site.txt' Dosyası Olması Lazım..." + Fore.RESET)
except UnicodeDecodeError:
print(Fore.RED + f"{dosya} Dosyasındaki Verileri Okunulamıyor..." + Fore.RESET)
exit()
banner = Fore.BLUE + """
██████ ██████ ███ ███ ███ ███ █████ ███ ██ ██████ ██████ ███████ ██ ██
██ ██ ██ ████ ████ ████ ████ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ████ ██ ██ ████ ██ ███████ ██ ██ ██ ██ ██ ██████ █████ ████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██████ ██ ██ ██ ██ ██ ██ ██ ████ ██████ ██████ ███████ ██
Coded By CommandBEY
""" + Fore.RESET
print(banner)
baslangic()
for urls in sites:
try:
wp = f"{urls}/wp-login.php"
res = requests.get(wp, verify=False, timeout=25)
if res.status_code == 200:
print(Fore.BLUE + f"Bulundu --> {wp}" + Fore.RESET)
with open("bulunan.txt", "a") as dosya:
dosya.write(wp + "\n")
bulunan += 1
else:
print(Fore.RED + f"Bulunamadı --> {urls}" + Fore.RESET)
except requests.exceptions.MissingSchema:
print(Fore.RED + "'site.txt' Dosyasında Siteye Erişilemiyor" + Fore.RESET)
if bulunan > 0:
print(Fore.GREEN + f"\nBulunan Site: {str(bulunan)}" + Fore.RESET)
else:
print(Fore.RED + f"\nHiçbir Site Bulunamadı..." + Fore.RESET)
Araç bizden sadece 'site.txt' adlı dosya istiyor, Bu dosya bizim kontrol ettirmek istediğimiz site olmalıdır
![i43v996.png](https://i.hizliresim.com/i43v996.png)
Şuanda bu sitelere tarama yapacak ve sonuçları 'bulundu.txt' dosyasına kaydedecek, Şimdi normal bir tarama yapalım.
![7a04880.png](https://i.hizliresim.com/7a04880.png)
Evet, 3 tane buldu 1 tane bulamadı en sonda bulunan sitenin kaç tane olduğunu gösteriyor bu az siteler için gerekmez ancak çok site verirsek lazım olacaktır
![2nw5oij.png](https://i.hizliresim.com/2nw5oij.png)
Bulunan admin paneliyle birlikte dosyaya kaydetti, Şimdi doğru mu diye bakmak için link'e gidelim
![9l200e6.png](https://i.hizliresim.com/9l200e6.png)
Evet doğru çıktı, Şimdi ise 'site.txt' dosyası yoksa ne diyor ona bakalım
![3n0t4ki.png](https://i.hizliresim.com/3n0t4ki.png)
Evet bize dosya bulunamadı hatası verdi, Araç güzel bir şekilde çalışıyor.
![ro3fzuc.png](https://i.hizliresim.com/ro3fzuc.png)
Konuyu Okuduğunuz İçin Teşekkür Ederim.
Son düzenleme: