From ceca8cd17cb5f167d1cce8ecccbe8fc75b08faf7 Mon Sep 17 00:00:00 2001 From: stasinopoulos Date: Fri, 17 Jan 2025 08:02:55 +0200 Subject: [PATCH] Minor update regarding commit: https://github.com/commixproject/commix/commit/79909148b3aa7e45d0d2f09e08d4c2d7638cd832 --- src/core/tamper/rev.py | 2 +- src/utils/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/tamper/rev.py b/src/core/tamper/rev.py index 55993592e2..b667a40e0d 100644 --- a/src/core/tamper/rev.py +++ b/src/core/tamper/rev.py @@ -32,7 +32,7 @@ def tamper(payload): if settings.EXPLOITATION_PHASE: if settings.USER_APPLIED_CMD in settings.RAW_PAYLOAD: if settings.USE_BACKTICKS: - rev_cmd = "`echo " + settings.USER_APPLIED_CMD[::-1] + "|rev`" + rev_cmd = "\\`echo " + settings.USER_APPLIED_CMD[::-1] + "|rev\\`" else: rev_cmd = "$(echo " + settings.USER_APPLIED_CMD[::-1] + "|rev)" payload = settings.RAW_PAYLOAD.replace(settings.USER_APPLIED_CMD, rev_cmd).replace(settings.SINGLE_WHITESPACE, settings.WHITESPACES[0]) diff --git a/src/utils/settings.py b/src/utils/settings.py index 7c1d8027f9..15daa009a2 100755 --- a/src/utils/settings.py +++ b/src/utils/settings.py @@ -262,7 +262,7 @@ def sys_argv_errors(): DESCRIPTION = "The command injection exploiter" AUTHOR = "Anastasios Stasinopoulos" VERSION_NUM = "4.1" -REVISION = "3" +REVISION = "4" STABLE_RELEASE = False VERSION = "v" if STABLE_RELEASE: