diff --git a/Vagrantfile b/Vagrantfile index 4f91739..8c0381d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -14,9 +14,9 @@ apt-get install -y tmux git wget build-essential vim apt-get install -y libcurl4-openssl-dev python3-dev libssl-dev # pycurl apt-get install -y ldap-utils # ldapsearch apt-get install -y libmariadbclient-dev # mysqlclient-python +apt-get install -y libpq-dev # psycopg2 apt-get install -y ike-scan unzip default-jdk apt-get install -y libsqlite3-dev libsqlcipher-dev # pysqlcipher -apt-get install -y libpq-dev # psycopg2 # cx_oracle apt-get install -y libaio1 wget unzip diff --git a/patator.py b/patator.py index 684c32d..6322789 100755 --- a/patator.py +++ b/patator.py @@ -18,7 +18,7 @@ __url__ = 'http://www.hsc.fr/ressources/outils/patator/' __git__ = 'https://github.com/lanjelot/patator' __twitter__ = 'https://twitter.com/lanjelot' -__version__ = '0.8-dev' +__version__ = '0.9' __license__ = 'GPLv2' __pyver__ = '%d.%d.%d' % sys.version_info[0:3] __banner__ = 'Patator %s (%s) with python-%s' % (__version__, __git__, __pyver__) @@ -609,6 +609,13 @@ CHANGELOG --------- +* v0.9 2020/07/26 + - fixed encoding bugs + - new Dockerfile + - new --groups and --auto-progress options + - fixed various issues reported on Github + - new testing env with docker-compose + * v0.8 2020/03/22 - new switches (-R, --csv, --xml, --hits) - new pathasis option for http_fuzz @@ -669,7 +676,6 @@ ---- * new option -e ns like in Medusa (not likely to be implemented due to design) * replace dnspython|paramiko|IPy with a better module (scapy|libssh2|netaddr... ?) // https://netaddr.readthedocs.org/en/latest/tutorial_01.html - * use impacket/enum_lookupsids to automatically get the sid ''' # }}} @@ -2860,8 +2866,11 @@ def execute(self, host, port='79', user='', timeout='5'): # }}} # DCOM {{{ -from impacket.dcerpc.v5.dcomrt import DCOMConnection -from impacket.dcerpc.v5.dcom import wmi +try: + from impacket.dcerpc.v5.dcomrt import DCOMConnection + from impacket.dcerpc.v5.dcom import wmi +except ImportError: + notfound.append('impacket') class DCOM_login: '''Brute-force DCOM''' diff --git a/setup.py b/setup.py index 5a94067..5a05cbb 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def parse_requirements(file): setup( name="patator", - version="0.8", + version="0.9", description="multi-purpose brute-forcer", long_description=long_description, url="https://github.com/lanjelot/patator",