MCPcopy Index your code
hub / github.com/LCBOWER33/StegoScan / is_web_server

Function is_web_server

StegoScan.py:455–460  ·  view source on GitHub ↗
(ip)

Source from the content-addressed store, hash-verified

453
454
455def is_web_server(ip):
456 try:
457 response = requests.get(f"http://{ip}/", timeout=5)
458 return response.status_code == 200
459 except requests.RequestException:
460 return False
461
462
463def process_ip_range(ip_range):

Callers 2

start_progressFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected