From 73429771d4c0f57b5e801d031caa40e44015b9f8 Mon Sep 17 00:00:00 2001 From: Arctic Date: Fri, 7 Mar 2025 06:58:49 -0600 Subject: [PATCH] added additional functions --- list_hosts.py | 77 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 52 insertions(+), 25 deletions(-) diff --git a/list_hosts.py b/list_hosts.py index 58f6e25..664b48c 100644 --- a/list_hosts.py +++ b/list_hosts.py @@ -4,14 +4,11 @@ import os import glob import socket import asyncio +import ipaddress from tabulate import tabulate from collections import OrderedDict from .utils import print_warning, print_error, Colors -""" -This file is responsible for listing all SSH hosts discovered in ~/.ssh/conf/