skdatmonster / DecryptSourceProtection

Removes source protection from RSLogix 5000 .L5X files
92 stars 56 forks source link

encryptionConfig == 8 ?? #1

Open barat1213 opened 8 years ago

barat1213 commented 8 years ago

Hello, very good job guy !! Question, studio 5000 is using encryptionConfig == 8 now.... any idea to fix it in the code ?

skdatmonster commented 8 years ago

The encryption config 8 should have already been supported. Do you have a file that doesn't work?

barat1213 commented 8 years ago

I made a test, .L5X file from studio 5000 v28, it's encryption config 8. it doesn't work. in your code = else if (encryptionConfig == 8) {print('Source key recovery is not supported for EncryptionConfig="8"', 'orange');. I changed your code in order to decrypt the key, but the result doesn't give me the correct password.

hkafia commented 8 years ago

thank you and good work can i suggestion can you make that idea as program

skdatmonster commented 8 years ago

Decrypting the value won't work. At EncryptionConfig=8, it is not encrypted any more, but it is hashed. If you have a guess of the key you can maybe hash that and see if it is the same, but you can not njust invert hashing.

You can still get the decrypted routines on the right text box, even though the key is gone. If you put in your test L5X file, then copy the decrypted output from the right box, you can put that in a new L5X file and load it into studio without key.

YariPrince commented 8 years ago

Hello skdatmoster,

I am having issues in V24 file. The error is Source key recovery is not supported for EncryptionConfig="7"

Can u please suggest where is the issue. I can share the protected file, but i dont have your the mail ID.....

Regards,

skdatmonster commented 8 years ago

@YariPrince it is the same with EncryptionConfig=7 as it is with the EncryptionConfig=8 case. It is not possible to just decrypt the source key to recover it, because it isn't stored decyrpted anymore, it is stored hashed. I dont have a working email address right now because it is so hard to get one anyonymously. Even though, I cannot help you get the source key, but you can copy the decrypted routine from the right text box and use that instead. See the same comment above.

PLC407 commented 5 years ago

Hello

Any idea to fix encryptionConfig == 9 please ?

RAVITHUMMAR commented 1 year ago

Any solution for encryptconfig==9 ?

Bobby-Max-Joe commented 1 month ago

Any update on encryptconfig==9 Thanks,