Advertisement
allen343434

Untitled

May 29th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. if (GETURLPAGE(GuidTechUrl, buffer, len2) != 0)
  2. {
  3. char nameandguid[MAX_PATH], nameandguid2[MAX_PATH], computerName[255];
  4. DWORD dwSize = 256;
  5. GetComputerName(computerName, &dwSize);
  6. sprintf(nameandguid, "%s: %s, %s", computerName, buffer5, "Brix");
  7. sprintf(nameandguid2, "%s: %s, %s, %s", computerName, buffer5, "Brix", "Failed");
  8. if (strcmp(buffer, Positive) == 0)
  9. {
  10. Tools.getMessage(nameandguid);
  11. Tools.canaccess = 1;
  12. }
  13. else {
  14. Tools.getMessage(nameandguid2);
  15. ExitProcess(0);
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement