From c5b2e37fe0655b23f7d24133f1f1a190b15792b2 Mon Sep 17 00:00:00 2001 From: Helvio Junior Date: Tue, 5 Nov 2024 20:39:01 -0300 Subject: [PATCH] BugFix --- shell_libs/__meta__.py | 2 +- shell_libs/compiler.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shell_libs/__meta__.py b/shell_libs/__meta__.py index df72520..718c241 100644 --- a/shell_libs/__meta__.py +++ b/shell_libs/__meta__.py @@ -1,4 +1,4 @@ -__version__ = '0.2.13' +__version__ = '0.2.14' __title__ = "ShellcodeTester" __description__ = "ShellcodeTester is a tool to assembly, compile and test ASM shellcode." __url__ = "https://github.com/helviojunior/shellcodetester" diff --git a/shell_libs/compiler.py b/shell_libs/compiler.py index 71a9763..7921398 100644 --- a/shell_libs/compiler.py +++ b/shell_libs/compiler.py @@ -93,7 +93,7 @@ def compile(self) -> bool: f.write('\n') f.write('char ZEROARRAY[1024] = {0};\n') f.write('\n') - f.write('void shell(int*, int*);\n') + f.write('void shell(void*, void*);\n') f.write('void code_cave();\n') f.write('int wtext();\n') f.write('int end_of_code();\n') @@ -204,7 +204,7 @@ def compile(self) -> bool: f.write('}\n') f.write('\n') - f.write('void shell(int *code_cave, int *data) {\n') + f.write('void shell(void *code_cave, void *data) {\n') if self.arch == 'x86': f.write(' asm("mov 0x8(%esp),%edi");\n')