### 发送邮件 import smtplib from email.mime.multipart import MIMEMultipart from e...
# 检测端口是否可以连通 import socket import time def check_tcp_port(host, port, timeou...
### 进行https访问检测 body+="\r\n" print("HTTPS连通性测试") body+=&q...
import psutil def get_ip_address(ifname): try: return socket.get...
# 获取网关以及其MAC地址 import netifaces import time # 获取默认网关的IP地址 def get_default_ga...
import requests def fetch_and_save(url, filename, verify=False): try: ...
import requests def getPublicIP(): url = 'https://www.op123.ren/myip' ...
### 域名解析 import socket def print_dns_resolution(domain): try: ip...
## tcptraceroute body+="\r\n" print("追踪到NLS服务器端口") body+=...