MCPcopy Create free account
hub / github.com/EASY233/Finger / check

Method check

lib/options.py:45–54  ·  view source on GitHub ↗
(self, url)

Source from the content-addressed store, hash-verified

43 exit(0)
44
45 def check(self, url):
46 for key in self.key:
47 if key in url:
48 url = url.replace(key,"")
49 if not url.startswith('http') and url:
50 # 若没有http头默认同时添加上http与https到目标上
51 Urls.url.append("http://" + str(url))
52 Urls.url.append("https://" + str(url))
53 elif url:
54 Urls.url.append(url)
55
56 def output(self):
57 if self.format not in ["json", "xlsx"]:

Callers 1

targetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected