diff --git a/setup.py b/setup.py index c20583a..2c5babd 100755 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ PROJECT = 'sshame' -VERSION = '0.9' +VERSION = '0.10' from setuptools import setup, find_packages diff --git a/sshame/main.py b/sshame/main.py index e8204fd..4101f17 100644 --- a/sshame/main.py +++ b/sshame/main.py @@ -26,7 +26,7 @@ from sqlalchemy import create_engine from sshame.db import Host, Base, Key, Credential, Command, CommandAlias -version = "0.9" +version = "0.10" try: from colorama import Back @@ -172,9 +172,9 @@ def add_hosts(hosts, ports=None): for l in f: try: ls = l.strip() - ip = socket.gethostbyname(ls) + #ip = socket.gethostbyname(ls) # log.info(f"{ls} > {ip}") - hosts.add(ip) + hosts.add(ls) except Exception as ex: # log.info(f"{ls} > ") # log.error(ex)