Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Untitled
SUBMITTED BY:
Guest
DATE:
March 3, 2014, 12:06 p.m.
FORMAT:
Text only
SIZE:
454 Bytes
Raw
Download
Tweet
HITS:
1133
Go to comments
Report
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void){
FILE *fp = fopen("BackupBtcInv.rar","rb");
fseek(fp,0,SEEK_END);
size_t size = ftell(fp);
fseek(fp,0,SEEK_SET);
unsigned char *t = malloc(size);
fread(t,1,size,fp);
fclose(fp);
int i;
for (i=0;i<size;i++){
t[i] ^= 0xFF;
}
fp = fopen("out.dat","wb");
fwrite(t,1,size,fp);
fclose(fp);
return 0;
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus