بسم الله الرحمن الرحيم
حياكم الله شباب في منتدى شبكة شل العربية
حياكم الله شباب في منتدى شبكة شل العربية
الأداة فكرتها تعطيها قائمة مواقع وتفحص إذا xmlrpc.php موجود, الكود غير مشفر للي يريد يطورها :
Python:
import requests
import threading
from colorama import Fore
from colorama import init
init(True)
#====================
red = Fore.RED
white = Fore.WHITE
green = Fore.GREEN
yellow = Fore.YELLOW
r_green = Fore.LIGHTGREEN_EX
#====================
print(f"""{red}
__ _______
\ \ / / __ \
\ \ /\ / /| |__) |__ ___ ___
\ \/ \/ / | ___/ __|/ _ \/ __|
\ /\ / | | \__ \ __/ (__ {white}
\/ \/ |_| |___/\___|\___|
programmer: Al {red}Mousawi{white}
version: 1.0.0
""")
def main():
try:
targets = input("Enter Your Target Lists >> ")
with open(targets,"r") as f:
file = f.read().splitlines()
for target in file:
url = target + "/xmlrpc.php"
req = requests.get(url)
if req.status_code == 200:
print(url)
else:
print("Error")
except requests.exceptions.RequestException as e:
pass
except KeyboardInterrupt:
pass
except Exception as e:
pass
if __name__ == "__main__":
main()
يُحفظ الكود بملف صيغته .py , على سبيل المثال (main.py) وبعدين تشغله (python3 main.py) , رح يطلب منك قائمة المواقع, اكتب اسم الملف الي حافظهم بيها ولازم تكون في نفس المسار, وبس هيج راح تشتغل .
اعذرونا على التقصير إخوانا, وإذا ما فهمتوا بسبب لهجتي عادي قولولي وان شاء الله نتحسن لخدمتكم.
التعديل الأخير بواسطة المشرف: