File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ STRUC Configuration
15
15
.gadget: RESD 1
16
16
.shadow: RESD 2
17
17
.stack: RESB 0x10000
18
- .cast : RESD 9
18
+ .trampoline : RESD 9
19
19
ENDSTRUC
20
20
21
21
; Call me like void (*__cdecl callable)(void* workspace);
22
22
23
23
mov ebx , [ esp + 4 ] ; Configuration in ebx now
24
- lea esp , [ ebx + Configuration.cast - 4 ] ; Bottom of "stack"
24
+ lea esp , [ ebx + Configuration.trampoline - 4 ] ; Bottom of "stack"
25
25
mov ebp , esp
26
26
mov edx , [ ebx + Configuration.initialized ]
27
27
@@ -58,7 +58,7 @@ ENDSTRUC
58
58
; Replace the return address on our trampoline
59
59
reset_trampoline:
60
60
mov ecx , [ ebx + Configuration.VirtualProtectEx ]
61
- mov [ ebx + Configuration.cast ], ecx
61
+ mov [ ebx + Configuration.trampoline ], ecx
62
62
63
63
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
64
64
;;;; Arbitrary code goes here. Note that the
You can’t perform that action at this time.
0 commit comments