Skip to content

Commit

Permalink
Fixes #981
Browse files Browse the repository at this point in the history
  • Loading branch information
stasinopoulos committed Nov 18, 2024
1 parent 4ea7410 commit 92cf5d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Version 4.0 (TBA)
* Revised: Minor bug-fix regarding tamper script "backticks.py"
* Revised: Improvements regarding shell options `reverse_tcp`, `bind_tcp`.
* Revised: Major code refactoring regarding session handler.
* Revised: Minor improvement regarding options `--prefix`, `--suffix`.
Expand Down
2 changes: 1 addition & 1 deletion src/core/tamper/backticks.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
def tamper(payload):
settings.TAMPER_SCRIPTS[__tamper__] = True
settings.USE_BACKTICKS = True
payload = payload.replace("$((", "`expr ").replace("))", "`")
payload = payload.replace("$((", "`expr" + settings.WHITESPACES[0]).replace("))", "`")
return payload

# eof
2 changes: 1 addition & 1 deletion src/utils/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def sys_argv_errors():
DESCRIPTION = "The command injection exploiter"
AUTHOR = "Anastasios Stasinopoulos"
VERSION_NUM = "4.0"
REVISION = "114"
REVISION = "115"
STABLE_RELEASE = False
VERSION = "v"
if STABLE_RELEASE:
Expand Down

0 comments on commit 92cf5d0

Please sign in to comment.