Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. std::string url_time = g_info->get_time(my_lic->host, my_lic->path),
  2. get_token = g_info->gen_token(my_lic->user_name, my_lic->user_password, my_lic->generate_key(), url_time),
  3. url = g_info->get_gen_url(my_lic->host, my_lic->path, my_lic->host_gate_login, my_lic->user_name,
  4. my_lic->host_gate_password, my_lic->user_password, my_lic->host_gate_system_key, my_lic->generate_key(), my_lic->host_gate_token, get_token);
  5.  
  6. std::string download_dll = g_info->get_download_url(url, my_lic->host_gate_inject); //
  7.  
  8. if (g_info->URLDownloadBinary(download_dll.c_str(), &pData, &dwSize) != 0) // если приходит валид ответ от сервера
  9. {
  10. //RebaseProcess | NoSxS | NoExceptions | NoTLS | WipeHeader, nullptr, nullptr, &args
  11. if (auto image = thisProc.mmap().MapImage(dwSize, pData, false, RebaseProcess | NoSxS | NoExceptions | NoTLS | WipeHeader/*CreateLdrRef | RebaseProcess | NoDelayLoad | NoExceptions | PartialExcept*/, callback))
  12. {
  13. inj_suc = true;
  14. ExitProcess(NULL);
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement