This commit is contained in:
Jing Ling
2020-08-08 18:00:36 +08:00
parent 69ce692ff1
commit 4f462fcd60
76 changed files with 177 additions and 207 deletions
+3 -3
View File
@@ -83,7 +83,7 @@ class CheckAXFR(Module):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -94,5 +94,5 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('ZoneTransfer.me')
# do('example.com')
run('ZoneTransfer.me')
# run('example.com')
+2 -2
View File
@@ -44,7 +44,7 @@ class CheckCDX(Module):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -55,4 +55,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -46,7 +46,7 @@ class CheckCert(Module):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -57,4 +57,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -65,7 +65,7 @@ class CheckCSP(Module):
self.save_db()
def do(domain, header=None): # 统一入口名字 方便多线程调用
def run(domain, header=None):
"""
类统一调用入口
@@ -78,4 +78,4 @@ def do(domain, header=None): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
resp = requests.get('https://content-security-policy.com/')
do('google-analytics.com', dict(resp.headers))
run('google-analytics.com', dict(resp.headers))
+2 -2
View File
@@ -42,7 +42,7 @@ class CheckNSEC(Module):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -53,4 +53,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('iana.org')
run('iana.org')
+2 -2
View File
@@ -43,7 +43,7 @@ class CheckRobots(Module):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -54,4 +54,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('qq.com')
run('qq.com')
+2 -2
View File
@@ -48,7 +48,7 @@ class CheckRobots(Module):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -59,4 +59,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('qq.com')
run('qq.com')