Advertisement
Guest User

Untitled

a guest
Feb 19th, 2013
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. /*Does not work*/
  2.  
  3. #include <stdio.h>
  4. #include <Windows.h>
  5.  
  6. int main()
  7. {
  8. char buffer[2];
  9. char *sc =
  10. "\x8B\xF4" //mov esi,esp
  11. "\x6A\x00" //push 0
  12. "\x6A\x00" //push 0
  13. "\x6A\x00" //push 0
  14. "\x6A\x00" //push 0
  15. "\xFF\x15\x30\x83\x07\x00"; //call dword ptr [__imp__MessageBoxW@16 (78330h)]
  16.  
  17. strcpy(buffer, sc);
  18.  
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement