#1
|
||||
|
||||
Password protected Files while Extracting
I tried to extract this setup (which is created by Inno setup) using Inno Extractor 7.3:
https://dl2.soft98.ir/soft/j-k-l/K-L...rar?1711629087 but when I try to extract a file, It will prompt me for a password!!! The setup files such as the wizard images and iss file can be extracted but the files that should be installed can not be extracted and need a password!!! I do not need to retrieve the password. I just need to know how to make such an inner password-protected setup. thank you brothers. |
Sponsored Links |
#2
|
||||
|
||||
Try this
Code:
[Setup]: Password Description: Specifies a password you want to prompt the user for at the beginning of the installation. When using a password, you might consider setting Encryption to yes as well, otherwise files will be stored as plain text and it would not be exceedingly difficult for someone to gain access to them through reverse engineering. The password itself is not stored as clear text; it's stored as a 160-bit SHA-1 hash, salted with a 64-bit random number. (Note: When encryption is enabled, this stored hash is not used for the encryption key; a different hash with a different salt is generated for that.)
__________________
Haters gonna hate
|
#3
|
||||
|
||||
Quote:
|
#4
|
|||
|
|||
Imho innosetup cant do this.
Instead of it,create an .arc archive with pw and extract it via innosetup. Just like a game-repack... |
#5
|
||||
|
||||
it seems K-Lite Codec Pack Mega have done it using inno setup without .arc
|
#6
|
||||
|
||||
Quote:
"Password=123"). I don't know if it is possible to unpack an installer that uses this encryption library, however the K-kite Codec Pack installer does not ask the user to enter the password. The Password is internally in the executable code and is inserted into WizardForm.PasswordEdit when calling the "CurPageChanged" function. I tested the installer executable "K-Lite_Codec_Pack_1820_Mega.exe" here and discovered that its password is: Code:
fJYYzCYYSj2VWssUVrWW5oskvCs1Yzzf2zzSWWWVs5IvzYI2IWnsnzzI0nC052vd Last edited by Cesar82; 28-03-2024 at 13:55. |
#7
|
||||
|
||||
could you please tell me how did you test and how did you retrieve the password?
|
#8
|
||||
|
||||
Quote:
here, . |
#9
|
||||
|
||||
@BLACKFIRE69, thank you bro for your script. Nice job,
but how to get: CIR = '2vdJwYqCkY5jWVGs5UerJW3oqk5CM1GznfrzESjWtVm5evLY0 2RWYsvzUIPnP0mm'? how did you obtain [CompiledCode.bin]? I'm currently using Inno Extarctor and it does not provide me a code bin, it is empty! |
#10
|
||||
|
||||
I arrived at code like this:
Code:
function CX(lpKey: String): String; var I, Y: Integer; S1, S2: String; begin S1 := lpKey; for I := 0 to 17 do begin for Y := 16 to 47 do begin S2 := S2 + S1[(I + Y) mod 63 + 1] + lpKey[(I + Y) * 2 mod 63 + 1]; end; S1 := S2; S2 := ''; end; Result := S1; end; function InitializeSetup(): Boolean; begin SaveStringToFile('Password.txt', CX('2vdJwYqCkY5jWVGs5UerJW3oqk5CM1GznfrzESjWtVm5evLY02RWYsvzUIPnP0mm'), False); Result := False; end; P.S: "Inno Setup Decompiler 1.5" is also included in the Inno Setup repack that I shared in the DiskSpan GUI thread. @BLACKFIRE69, could you tell us which software you used to extract the code from CompiledCode.bin? |
The Following 2 Users Say Thank You to Cesar82 For This Useful Post: | ||
Behnam2018 (29-03-2024), shazzla (29-03-2024) |
#11
|
|||
|
|||
find the password
Hello, I want to find the password of this file
|
#12
|
||||
|
||||
Quote:
Code:
innounp -x -m K-Lite_Codec_Pack_1820_Mega.exe embedded\CompiledCode.bin (This is fun! )
__________________
Joe Forster/STA For more information, see the FileForums forum rules and the PC Games forum FAQ! Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply! Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back! |
The Following 2 Users Say Thank You to Joe Forster/STA For This Useful Post: | ||
Behnam2018 (30-03-2024), shazzla (30-03-2024) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about extracting, encoding and rebuilding ".usm" files. | L33THAK0R | Conversion Tutorials | 5 | 22-04-2021 23:41 |
Inno Setup + ISDone Extracting files | buttignol | PC Games - CD/DVD Conversions | 11 | 28-02-2013 17:31 |
How to Edit CAB files | Grumpy | PC Games | 12 | 24-02-2013 10:47 |
Having problems extracting .001-.0?? files... | Tamahome_ | DC Games | 2 | 03-09-2003 20:16 |
HOW CAN I CORRECT CRC ERRORS ON .ZIPS & SELF EXTRACTING FILES? | thetamal | PC Games | 1 | 05-11-2001 18:23 |