Skip to content

Commit

Permalink
Merge pull request #1 from linoskoczek/main
Browse files Browse the repository at this point in the history
Change SocksiPy_branch to PySocks and bypass cert verification for logger
  • Loading branch information
zhzyker committed Dec 14, 2021
2 parents b7c16e8 + 39cfdb2 commit 29ce121
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions logmap.py
Expand Up @@ -313,7 +313,7 @@ def dnslog(args, type=1, function="get", token="", md5=""):
if type == 1:
if function == "get":
try:
request = requests.get("https://log.xn--9tr.com/new_gen", headers={"User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"})
request = requests.get("https://log.xn--9tr.com/new_gen", verify=False, headers={"User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"})
domain = json.loads(request.text)["domain"]
key = json.loads(request.text)["key"]
token = json.loads(request.text)["token"]
Expand All @@ -324,7 +324,7 @@ def dnslog(args, type=1, function="get", token="", md5=""):
elif function == "verify":
try:
time.sleep(2)
request = requests.get("https://log.xn--9tr.com/" + token)
request = requests.get("https://log.xn--9tr.com/" + token, verify=False)
if "null" not in request.text:
return request.text
except:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,3 +1,3 @@
urllib3
requests
SocksiPy_branch
PySocks

0 comments on commit 29ce121

Please sign in to comment.