Skip to content

Commit 9003379

Browse files
authored
Fix: use thash instead of path when building init payload
1 parent 3ef0703 commit 9003379

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

auth.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void KeyAuth::api::init()
140140
thash = exec(("certutil -hashfile \"" + path + XorStr("\" MD5 | find /i /v \"md5\" | find /i /v \"certutil\"")).c_str());
141141

142142
data += XorStr("&token=").c_str() + token;
143-
data += XorStr("&thash=").c_str() + path;
143+
data += XorStr("&thash=").c_str() + thash;
144144
}
145145
curl_easy_cleanup(curl);
146146

0 commit comments

Comments
 (0)