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
+2 -2
View File
@@ -39,7 +39,7 @@ class BinaryEdgeAPI(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -50,4 +50,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -42,7 +42,7 @@ class BufferOver(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -53,4 +53,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -35,7 +35,7 @@ class CeBaidu(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -46,4 +46,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -35,7 +35,7 @@ class Chinaz(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -46,4 +46,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -39,7 +39,7 @@ class ChinazAPI(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -50,4 +50,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -39,7 +39,7 @@ class CirclAPI(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -50,4 +50,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -113,7 +113,7 @@ class CloudFlareAPI(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
class call entrance
@@ -124,4 +124,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -40,7 +40,7 @@ class DNSdbAPI(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -52,4 +52,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -42,7 +42,7 @@ class DNSdumpster(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -54,4 +54,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -37,7 +37,7 @@ class HackerTarget(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -48,4 +48,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -35,7 +35,7 @@ class IP138(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -46,4 +46,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+4 -5
View File
@@ -39,10 +39,9 @@ class IPv4InfoAPI(Query):
self.subdomains = self.subdomains.union(subdomains)
# 不直接使用subdomains是因为可能里面会出现不符合标准的子域名
subdomains = json.get('Subdomains')
if subdomains:
if subdomains and len(subdomains) < 300:
# ipv4info子域查询接口每次最多返回300个 用来判断是否还有下一页
if len(subdomains) < 300:
break
break
page += 1
if page >= 50: # ipv4info子域查询接口最多允许查询50页
break
@@ -61,7 +60,7 @@ class IPv4InfoAPI(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -72,4 +71,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -73,7 +73,7 @@ class NetCraft(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -84,4 +84,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -41,7 +41,7 @@ class PassiveDnsAPI(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -52,4 +52,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -50,7 +50,7 @@ class PhoneBook(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -61,4 +61,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('freebuf.com')
run('freebuf.com')
+2 -2
View File
@@ -47,7 +47,7 @@ class QianXun(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -58,4 +58,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -35,7 +35,7 @@ class RapidDNS(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -46,4 +46,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -35,7 +35,7 @@ class Riddler(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -46,4 +46,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -49,7 +49,7 @@ class Robtex(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -60,4 +60,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -43,7 +43,7 @@ class SecurityTrailsAPI(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -54,4 +54,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -46,7 +46,7 @@ class SiteDossier(Query):
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
@@ -49,7 +49,7 @@ class SpyseAPI(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -60,4 +60,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -34,7 +34,7 @@ class Sublist3r(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -45,4 +45,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')
+2 -2
View File
@@ -41,7 +41,7 @@ class ThreatCrowd(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -52,4 +52,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('mi.com')
run('mi.com')
+3 -3
View File
@@ -51,7 +51,7 @@ class WZPCQuery(Query):
self.save_db()
def do(domain):
def run(domain):
"""
类统一调用入口
@@ -62,5 +62,5 @@ def do(domain):
if __name__ == '__main__':
do('sc.gov.cn')
do('bkzy.org')
run('sc.gov.cn')
run('bkzy.org')
+2 -2
View File
@@ -36,7 +36,7 @@ class Ximcx(Query):
self.save_db()
def do(domain): # 统一入口名字 方便多线程调用
def run(domain):
"""
类统一调用入口
@@ -47,4 +47,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
run('example.com')