MCPcopy Create free account
hub / github.com/VMsec/iisShortNameScaner / Scanner

Function Scanner

iisShortNameScaner.py:25–38  ·  view source on GitHub ↗
(url_file,max_thread,output_file)

Source from the content-addressed store, hash-verified

23 pass
24
25def Scanner(url_file,max_thread,output_file):
26 url_list = []
27 if url_file is not None:
28 url_list = list(set([i.replace("\n", "") for i in open(str(url_file), "r").readlines()]))
29 else:
30 exit()
31 with open(outputfile, 'w'):
32 pass
33 l=[]
34 p = ThreadPoolExecutor(max_thread)
35 for url in url_list:
36 obj = p.submit(vlun, url,)
37 l.append(obj)
38 p.shutdown()
39
40
41if __name__ == '__main__':

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected