We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff144d2 commit 2233067Copy full SHA for 2233067
check_http.py
@@ -1,7 +1,11 @@
1
import requests
2
import sys
3
+import warnings
4
from colorama import init, Fore, Style
5
6
+# Suppress InsecureRequestWarning
7
+warnings.filterwarnings("ignore", message="Unverified HTTPS request")
8
+
9
# Initialize colorama
10
init(autoreset=True)
11
@@ -25,7 +29,7 @@ def check_subdomains(subdomain_file):
25
29
else:
26
30
print(Fore.WHITE + f"[{response.status_code}] - {subdomain}")
27
31
except requests.exceptions.Timeout:
28
- print(Fore.WHITE + "[TIMEOUT] - " + subdomain)
32
+ print(Fore.BLUE + "[TIMEOUT] - " + subdomain)
33
except requests.exceptions.ConnectionError:
34
print(Fore.WHITE + "[CONNECTION ERROR] - " + subdomain)
35
except Exception as e:
0 commit comments