Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- int main(void){
- char buffer[42262]; int r,w;
- FILE *in=fopen("exe.exe", "rb");
- FILE *out = fopen("ASD.exe", "wb");
- r = fread(buffer, 1000, 1, in);
- w = fwrite(buffer, 1000, 1, out);
- printf("%d\n", r);
- printf("%d\n", w);
- fclose(in);
- fclose(out);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement