mod1.c
370 Bytes
#include<stdlib.h>
#include<unistd.h>
#include<stdio.h>
#include<string.h>
#include<err.h>
int main(int argc, char **argv){
volatile int modified;
char buffer[64];
if(argc != 2){
perror("argc");
}
modified = 0;
strcpy(buffer,argv[1]);
if(modified == 0x61626364){
printf("success!\n");
}
else{
printf("try again!, you got 0x%08x\n",modified);
}
}