mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-28 19:55:52 +08:00
调整请求报错日志等级
This commit is contained in:
+2
-3
@@ -83,8 +83,8 @@ class Takeover(Module):
|
|||||||
utils.save_data(self.path, data)
|
utils.save_data(self.path, data)
|
||||||
|
|
||||||
def compare(self, subdomain, cname, responses):
|
def compare(self, subdomain, cname, responses):
|
||||||
domain_resp = self.get('http://' + subdomain, check=False)
|
domain_resp = self.get('http://' + subdomain, check=False, ignore=True)
|
||||||
cname_resp = self.get('http://' + cname, check=False)
|
cname_resp = self.get('http://' + cname, check=False, ignore=True)
|
||||||
if domain_resp is None or cname_resp is None:
|
if domain_resp is None or cname_resp is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -164,4 +164,3 @@ class Takeover(Module):
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
fire.Fire(Takeover)
|
fire.Fire(Takeover)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user