NoCrypt/example.c

15 lines
267 B
C
Raw Normal View History

2023-06-01 00:59:20 +02:00
#include <stdio.h>
int main(){
int i;
char origname[20];
char destname[20];
for (i = 0; i < 20; i++) {
sprintf(origname, "test%d", i);
sprintf(destname, "test%d.lockbit", i);
rename(origname, destname);
}
return 0;
}