Сейчас на форуме: (+7 невидимых)

 eXeL@B —› Протекторы —› asprotect patching GetHardwareID via DLL redirection (license duplication)
Посл.ответ Сообщение

Ранг: 0.5 (гость)
Активность: 0=0
Статус: Участник

Создано: 05 мая 2011 07:07 · Поправил: stackoverflow
· Личное сообщение · #1

Hello expert

i'm trying to duplicate a valid license for an asprotect program looked to hardwareid so i start by unpacking

my application with codedoctor then i write this dll to redirect the GetHardwareid to my own code and return

the hardwareID i already have valide license for it.

Code:
  1. #pragma comment(linker, "/export:CheckKey=aspr_ideOr.CheckKey")
  2. #pragma comment(linker, "/export:CheckKeyAndDecrypt=aspr_ideOr.CheckKeyAndDecrypt")
  3. #pragma comment(linker, "/export:GetExpirationDate=aspr_ideOr.GetExpirationDate")
  4. //#pragma comment(linker, "/export:GetHardwareID=aspr_ideOr.GetHardwareID")
  5. #pragma comment(linker, "/export:GetHardwareIDEx=aspr_ideOr.GetHardwareIDEx")
  6. #pragma comment(linker, "/export:GetKeyDate=aspr_ideOr.GetKeyDate")
  7. #pragma comment(linker, "/export:GetKeyExpirationDate=aspr_ideOr.GetKeyExpirationDate")
  8. #pragma comment(linker, "/export:GetModeInformation=aspr_ideOr.GetModeInformation")
  9. //#pragma comment(linker, "/export:GetRegistrationInformation=aspr_ideOr.GetRegistrationInformation")
  10. #pragma comment(linker, "/export:GetRegistrationKeys=aspr_ideOr.GetRegistrationKeys")
  11. #pragma comment(linker, "/export:GetTrialDays=aspr_ideOr.GetTrialDays")
  12. #pragma comment(linker, "/export:GetTrialExecs=aspr_ideOr.GetTrialExecs")
  13. #pragma comment(linker, "/export:RemoveKey=aspr_ideOr.RemoveKey")
  14. #pragma comment(linker, "/export:SetUserKey=aspr_ideOr.SetUserKey")
  15.  
  16.  
  17. __declspec () char* myGetHardwareID(void) {
  18.  
  19. return "5CV41BCA-83AA";
  20. }
  21.  
  22.  
  23. __declspec ( ) char* myGetRegistrationInformation(void) {
  24.  
  25. return "1556PO-528VA-5F8OC-PMZP5-RBNLO-ZR5XF-LDRV3-KM2LV-F12JT-95AMI-76YXR";
  26.  
  27. }
  28.  
  29. /// aspr_ide.def
  30.  
  31. LIBRARY aspr_ide.dll
  32. EXPORTS
  33. GetHardwareID=myGetHardwareID
  34. GetRegistrationInformation =myGetRegistrationInformation


Ok, i build my aspr_ide.dll then rename the orginal one to aspr_ideOr.dll and create a local dll redirection

manifest file on my application directory. Now when i start my unpacked application, the hardwareID is

successfully injected as shown below



Ok, until now all is fine but when i put the valid User name and Registration Key for that hardwareID i got

access violation and the application crash. What i'm doing wrong, Is there any other method to duplicate a

valid asprotect license ?




Ранг: 2014.5 (!!!!), 1278thx
Активность: 1.340.25
Статус: Модератор
retired

Создано: 05 мая 2011 09:18
· Личное сообщение · #2

You've already been banned once. Thought I won't you recognize you? You were wrong.


 eXeL@B —› Протекторы —› asprotect patching GetHardwareID via DLL redirection (license duplication)
Эта тема закрыта. Ответы больше не принимаются.
   Для печати Для печати