Показать сообщение отдельно

  #263  
Старый 20.04.2008, 10:23
taha
Постоянный
Регистрация: 20.08.2006
Сообщений: 327
Провел на форуме:
2472378

Репутация: 1077
По умолчанию

Код:
include 'include\win32ax.inc'
.code
 Buffer db 0x74

start:
  stdcall [GetCurrentProcessId]

  stdcall [OpenProcess],0x0028,TRUE,eax

  push NULL                ; pBytesWritten = NULL
  push 1                   ; BytesToWrite  = 1
  push Buffer              ; [Buffer]      = 0x74
  push WriteHere           ; Address of WriteHere
  push eax                 ; hProcess
  call [WriteProcessMemory]

WriteHere:  JMP WriteHere

.end start
push Buffer ; [Buffer] = 0x74
push eax ; hProcess


Работало, пока не завопил нод и не удалил файл =\\ епанутый какой то =\\
 
Ответить с цитированием