Jump to content

Liufa

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

About Liufa

Profile Information

  • OS
    none specified

Liufa's Achievements

0

Reputation

  1. Hello. I need to make password protected Self Extracting Archive to become unusible in 2 weeks I have found Recource Hacker, is there a way to add business logic to Dialogs? like for example The password prompt dialog 501 DIALOG 0, 0, 186, 82 STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Enter password" LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US FONT 8, "MS Shell Dlg" { CONTROL "&Enter password:", 1000, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 7, 172, 8 CONTROL "", 1001, EDIT, ES_LEFT | ES_PASSWORD | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 7, 19, 172, 14 CONTROL "&Show password", 1002, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 41, 172, 10 CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 41, 61, 64, 14 CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 115, 61, 64, 14 } to add something like 501 DIALOG 0, 0, 186, 82 STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Enter password" LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US FONT 8, "MS Shell Dlg" { CONTROL "&Enter password:", 1000, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 7, 172, 8 CONTROL "", 1001, EDIT, ES_LEFT | ES_PASSWORD | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 7, 19, 172, 14 CONTROL "&Show password", 1002, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 41, 172, 10 if (DateTime.Now < "2011.01.14") CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 41, 61, 64, 14 CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 115, 61, 64, 14 } in ther words Hide OK button from user. explanation Self extracting files contains of 2 parts 7z.SFX file which can be edited by Recource Hacker, and Archive every time user downloads archive i would change 7z.SFX file which gets embeded into Self extracting archive in a way so OK button would be hidden in 2 weeks and he could not submit password. If you think of something else to make files expire please tell me it can be not password protected. I am currently searching for any solution for files to expire.
×
×
  • Create New...