From dd1f7994a87b10f86b353a71f3cf6a70a9bec308 Mon Sep 17 00:00:00 2001 From: stasinopoulos Date: Thu, 21 Jul 2022 14:43:40 +0300 Subject: [PATCH] Fixes https://github.com/commixproject/commix/issues/774 --- setup.py | 2 +- src/core/injections/controller/checks.py | 2 +- src/utils/settings.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 5ffe34c7e7..9be60fe7f4 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( name='commix', - version='3.5', + version='3.6-dev', description='Automated All-in-One OS Command Injection Exploitation Tool', long_description=open('README.md').read(), long_description_content_type='text/markdown', diff --git a/src/core/injections/controller/checks.py b/src/core/injections/controller/checks.py index e0149655bf..aa14554b58 100755 --- a/src/core/injections/controller/checks.py +++ b/src/core/injections/controller/checks.py @@ -210,7 +210,7 @@ def tab_autocompleter(): readline.parse_and_bind("tab: complete") # Tab compliter readline.set_completer(menu.tab_completer) - except AttributeError: + except (TypeError, AttributeError) as e: error_msg = "Failed while trying to use platform's readline library." print(settings.print_error_msg(error_msg)) diff --git a/src/utils/settings.py b/src/utils/settings.py index 0cc96984ff..9d2cc475a5 100755 --- a/src/utils/settings.py +++ b/src/utils/settings.py @@ -240,9 +240,9 @@ def sys_argv_errors(): DESCRIPTION_FULL = "Automated All-in-One OS Command Injection Exploitation Tool" DESCRIPTION = "The command injection exploiter" AUTHOR = "Anastasios Stasinopoulos" -VERSION_NUM = "3.5" -REVISION = "99" -STABLE_RELEASE = True +VERSION_NUM = "3.6" +REVISION = "1" +STABLE_RELEASE = False if STABLE_RELEASE: VERSION = "v" + VERSION_NUM + "-stable" else: