Update mw.py

This commit is contained in:
dami 2026-06-30 20:18:46 +08:00
parent 7673a16779
commit e64610a2dc
1 changed files with 4 additions and 0 deletions

View File

@ -201,6 +201,10 @@ def getCommonFile():
}
return data
def getSysTTL():
f = "/proc/sys/net/ipv4/ip_default_ttl"
return readFile(f).strip()
def checkCert(certPath='ssl/certificate.pem'):
# 验证证书
openssl = '/usr/bin/openssl'