Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(int argc, char const *argv[])
- {
- int cookie;
- char buf[16];
- printf("&buf:_%p,_&cookie:_%p\n", buf, &cookie);
- gets(buf);
- if (cookie == 0x41424344)
- {
- printf("You_win!\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement