yanncam / UnSHc

UnSHc - How to decrypt SHc *.sh.x encrypted file ?
GNU General Public License v3.0
363 stars 252 forks source link

Hello, I can't decrypt arc4. I tried two versions of decryption script with almost the same tips. How can I solve this problem? #21

Open xiaowei58148 opened 5 years ago

xiaowei58148 commented 5 years ago

| | | | / | | | |
| | | |
\ --.| |_| | ___ | | | | '_ \--. \ _ |/ | | || | | | /_/ / | | | (_ \/|| |_/_| |/_|

--- UnSHc - The shc decrypter. --- Version: 0.8

UnSHc is used to decrypt script encrypted with SHc Original idea from Luiz Octavio Duarte (LOD) Updated and modernized by Yann CAM

[*] Input file name to decrypt [0x41c2d0] [+] Output file name specified [a.sh] [-] Error, File [0x41c2d0] not found. [root@localhost ~]# ./unshc.sh a.sh


| | | | / | | | |
| | | |
\ --.| |_| | ___ | | | | '_ \--. \ _ |/ | | || | | | /_/ / | | | (_ \/|| |_/_| |/_|

--- UnSHc - The shc decrypter. --- Version: 0.7

UnSHc is used to decrypt script encrypted with SHc Original idea from Luiz Octavio Duarte (LOD) Updated and modernized by Yann CAM

[*] Input file name to decrypt [a.sh] [-] Unable to define arc4() call address... [root@localhost ~]# ^C [root@localhost ~]# ./unshc1.sh a.sh


| | | | / | | | |
| | | |
\ --.| |_| | ___ | | | | '_ \--. \ _ |/ | | || | | | /_/ / | | | (_ \/|| |_/_| |/_|

--- UnSHc - The shc decrypter. --- Version: 0.8

UnSHc is used to decrypt script encrypted with SHc Original idea from Luiz Octavio Duarte (LOD) Updated and modernized by Yann CAM

[*] Input file name to decrypt [a.sh] [-] Unable to define arc4() call address...

Wqrld commented 5 years ago

Same here, were you able to fix this?

yanncam commented 5 years ago

From your UnSHc execution shown behind, you have tried to run UnSHc on a file a.sh and not a.sh.x.

Try again with the right enrcrypted file.

Wqrld commented 5 years ago

I had the same arc4() error with i.sh.x: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=f6faf4df13eeaf8681bce8c1a5c29d90aa5865, stripped

yanncam commented 4 years ago

Hello,

Which version of shc do you use ? UnSHc need the *.sh.x file as argument, not the *.sh. Please read : https://github.com/yanncam/UnSHc/issues/31

Sincerely,

phreaker56 commented 2 years ago

I have the same issue could you help me!