#include #include int main(int argc, char *argv[]) { FILE *f; int i; char buf[128]; if(argc < 3) return 1; f = fopen(argv[1], "r+b"); if(f == NULL) return 1; strcpy(buf, "grandtheftauto3"); strcat(buf, argv[2]); fseek(f, 100, SEEK_SET); for(i = 0; i < 128; i++){ buf[i] += 23; fwrite(&buf[i], 1, 1, f); if(buf[i] == 23) break; fseek(f, 99, SEEK_CUR); } return 0; }