Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <unistd.h>
- #include <stdio.h>
- #include <string.h>
- int main(int argc, char **argv)
- {
- volatile int need_modificate;
- char buffer[64];
- if(argc == 1) {
- errx(1, "Please specify an argument\n");
- }
- need_modificate = 0;
- strcpy(buffer, argv[1]);
- if(need_modificate == 0x5543414e) {
- printf("Win! You have did it!\n");
- } else {
- printf("Nope, try again, you got 0x%08x\n", need_modificate);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement