Skip to content

Commit

Permalink
🔨 update(requests): Updating testing request due to HTTP vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
smb-h committed Jun 13, 2023
1 parent 99a4f80 commit b9d827a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dnsmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import requests

VERSION = "1.0.4"
VERSION = "1.0.5"
CONNECTION_TEST_URL = "https://google.com"
PING_TEST_IP = "1.1.1.1"

Expand Down Expand Up @@ -59,7 +59,7 @@ def test_connection(self) -> None:
Test the connection.
"""
try:
requests.get(CONNECTION_TEST_URL, timeout=5)
requests.get(CONNECTION_TEST_URL, allow_redirects=False, timeout=5)
print("Connection test passed ...")
print("Good luck have fun! :)")
except Exception as e:
Expand Down

0 comments on commit b9d827a

Please sign in to comment.