Skip to content

Commit

Permalink
BugFix
Browse files Browse the repository at this point in the history
  • Loading branch information
helviojunior committed Nov 5, 2024
1 parent f221454 commit c5b2e37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion shell_libs/__meta__.py
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions shell_libs/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit c5b2e37

Please sign in to comment.