Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Does not work*/
- #include <stdio.h>
- #include <Windows.h>
- int main()
- {
- char buffer[2];
- char *sc =
- "\x8B\xF4" //mov esi,esp
- "\x6A\x00" //push 0
- "\x6A\x00" //push 0
- "\x6A\x00" //push 0
- "\x6A\x00" //push 0
- "\xFF\x15\x30\x83\x07\x00"; //call dword ptr [__imp__MessageBoxW@16 (78330h)]
- strcpy(buffer, sc);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement