mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
typos
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user