#include <cstdio>int main(int, char** argv){ FILE* f (fopen (argv[1], "rw")); const int null (0); fseek (f, 0x120, SEEK_SET); fwrite (&null, 4, 1, f); fwrite (&null, 4, 1, f); fwrite (&null, 4, 1, f); fwrite (&null, 4, 1, f); fclose (f); return 0;}
Would be nice if you could write a tutorial for this. Thanks
#include <cstdio>int main(int, char** argv){ FILE* f (fopen (argv[1], "rw")); const int null (0); fseek (f, 0x128, SEEK_SET); fwrite (&null, 4, 1, f); fwrite (&null, 4, 1, f); fclose (f); return 0;}
#include <cstdio>int main(int, char** argv){ FILE* f (fopen (argv[1], "rw")); const int null (0); fseek (f, 0x120, SEEK_SET); fwrite (&null, 4, 1, f); fwrite (&null, 4, 1, f); fclose (f); return 0;}
#include <cstdio>int main(int, char** argv){ FILE* f (fopen (argv[1], "rw")); const int null (0); fseek (f, 0x108, SEEK_SET); fwrite (&null, 4, 1, f); fwrite (&null, 4, 1, f); fclose (f); return 0;}
#include <cstdio>int main(int, char** argv){ FILE* f (fopen (argv[1], "rw")); const int null (0); fseek (f, 0x100, SEEK_SET); fwrite (&null, 4, 1, f); fwrite (&null, 4, 1, f); fclose (f); return 0;}