About 1 results found. (Query 0.05800 seconds)
= 2 or res[0].find(b'HTTP/1.1 200 ') == -1: continue res = len(res[1]).to_bytes(2, byteorder='big') + res[1] except: try: sv_sock.close() except: pass continue return res return b'' # .onionドメインを解決 def dns_resolve_tor(query): try: sv_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) except: return b'' try: sv_sock.sendto(query[2:], ('127.0.0.1', TOR_DNS_PORT)) sv_sock.settimeout(5) res, addr = sv_sock.recvfrom(512) except: return...