diff --git a/README.md b/README.md index 5c3670f..204c635 100644 --- a/README.md +++ b/README.md @@ -67,17 +67,15 @@ python3 -m pip install smbclientng ## Usage ``` -$ ./smbclient-ng.py -h +$ ./smbclient-ng.py _ _ _ _ ___ _ __ ___ | |__ ___| (_) ___ _ __ | |_ _ __ __ _ / __| '_ ` _ \| '_ \ / __| | |/ _ \ '_ \| __|____| '_ \ / _` | \__ \ | | | | | |_) | (__| | | __/ | | | ||_____| | | | (_| | |___/_| |_| |_|_.__/ \___|_|_|\___|_| |_|\__| |_| |_|\__, | - by @podalirius_ v2.1 |___/ + by @podalirius_ v2.1.4 |___/ -usage: smbclient-ng.py [-h] [--debug] [--no-colors] [-S startup_script] [-N] --host HOST [--port PORT] - [--kdcHost FQDN KDC] [-d DOMAIN] [-u USER] [--no-pass | -p [PASSWORD] | -H - [LMHASH:]NTHASH | --aes-key hex key] [-k] +usage: smbclient-ng.py [-h] [--debug] [--no-colors] [-S startup_script] [-N] [-L LOGFILE] --host HOST [--port PORT] [--kdcHost FQDN KDC] [-d DOMAIN] [-u USER] [--no-pass | -p [PASSWORD] | -H [LMHASH:]NTHASH | --aes-key hex key] [-k] smbclient-ng, a fast and user friendly way to interact with SMB shares. @@ -89,6 +87,8 @@ options: File containing the list of commands to be typed at start of the console. -N, --not-interactive Non interactive mode. + -L LOGFILE, --logfile LOGFILE + File to write logs to. Target: --host HOST IP address or hostname of the SMB Server to connect to. @@ -106,9 +106,8 @@ Authentication & connection: -H [LMHASH:]NTHASH, --hashes [LMHASH:]NTHASH NT/LM hashes, format is LMhash:NThash. --aes-key hex key AES key to use for Kerberos Authentication (128 or 256 bits). - -k, --kerberos Use Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target - parameters. If valid credentials cannot be found, it will use the ones specified in the - command line. + -k, --kerberos Use Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target parameters. If valid credentials cannot be found, it will use the ones specified in the command line. + ``` diff --git a/pyproject.toml b/pyproject.toml index 78d54fb..d16426f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "smbclientng" -version = "2.1.3" +version = "2.1.4" description = "smbclient-ng, a fast and user friendly way to interact with SMB shares." authors = ["p0dalirius"] diff --git a/setup.py b/setup.py index 9be3855..73ba4f1 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ import setuptools -VERSION = "2.1.3" +VERSION = "2.1.4" long_description = """ @@ -79,17 +79,15 @@ ## Usage ``` -$ ./smbclient-ng.py -h +$ ./smbclient-ng.py _ _ _ _ ___ _ __ ___ | |__ ___| (_) ___ _ __ | |_ _ __ __ _ / __| '_ ` _ \| '_ \ / __| | |/ _ \ '_ \| __|____| '_ \ / _` | \__ \ | | | | | |_) | (__| | | __/ | | | ||_____| | | | (_| | |___/_| |_| |_|_.__/ \___|_|_|\___|_| |_|\__| |_| |_|\__, | - by @podalirius_ v2.1.3 |___/ + by @podalirius_ v2.1.4 |___/ -usage: smbclient-ng.py [-h] [--debug] [--no-colors] [-S startup_script] [-N] --host HOST [--port PORT] - [--kdcHost FQDN KDC] [-d DOMAIN] [-u USER] [--no-pass | -p [PASSWORD] | -H - [LMHASH:]NTHASH | --aes-key hex key] [-k] +usage: smbclient-ng.py [-h] [--debug] [--no-colors] [-S startup_script] [-N] [-L LOGFILE] --host HOST [--port PORT] [--kdcHost FQDN KDC] [-d DOMAIN] [-u USER] [--no-pass | -p [PASSWORD] | -H [LMHASH:]NTHASH | --aes-key hex key] [-k] smbclient-ng, a fast and user friendly way to interact with SMB shares. @@ -101,6 +99,8 @@ File containing the list of commands to be typed at start of the console. -N, --not-interactive Non interactive mode. + -L LOGFILE, --logfile LOGFILE + File to write logs to. Target: --host HOST IP address or hostname of the SMB Server to connect to. @@ -118,9 +118,7 @@ -H [LMHASH:]NTHASH, --hashes [LMHASH:]NTHASH NT/LM hashes, format is LMhash:NThash. --aes-key hex key AES key to use for Kerberos Authentication (128 or 256 bits). - -k, --kerberos Use Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target - parameters. If valid credentials cannot be found, it will use the ones specified in the - command line. + -k, --kerberos Use Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target parameters. If valid credentials cannot be found, it will use the ones specified in the command line. ``` diff --git a/smbclientng/__main__.py b/smbclientng/__main__.py index c3fc4bd..2bfd802 100644 --- a/smbclientng/__main__.py +++ b/smbclientng/__main__.py @@ -13,7 +13,7 @@ from smbclientng.core.SessionsManager import SessionsManager -VERSION = "2.1.3" +VERSION = "2.1.4" def parseArgs():