deleted prints
This commit is contained in:
@@ -44,10 +44,7 @@ def check_ping(hosts):
|
||||
print(f'Pingin host: {host}')
|
||||
response = ping(str(host), count=4, timeout=2) # verbose=True -> Para ver la respuesta del ping
|
||||
if not response.success():
|
||||
print(False)
|
||||
send_discord_message(f"Ping fallido para el host: {host}")
|
||||
else:
|
||||
print(True)
|
||||
except Exception as e:
|
||||
print(f"Error making ping to {host}: {e}")
|
||||
|
||||
@@ -68,7 +65,6 @@ if __name__ == '__main__':
|
||||
ips_and_hosts = set()
|
||||
if args.host:
|
||||
ips_and_hosts.update(toIP(read_document(args.host)))
|
||||
print(ips_and_hosts)
|
||||
if args.web:
|
||||
print("Hay webs")
|
||||
# Parsear correctamente
|
||||
|
||||
Reference in New Issue
Block a user