I have a packed auto-extract sfx file that runs the script.
Is it possible to extract the script code?

link|improve this question
feedback

2 Answers

Maybe. It depends on the exact format of the archive. zip is easy since the file format has 1) a well-defined start signature, and 2) a directory at the end of the archive. Most tools that can handle zip archives could open such a sfx archive readily. For other formats it may not be so easy.

link|improve this answer
The exe-archive file contains some programs installations files, so when I run the exe it unpacks everything and installs every this unattended. So I want to extract the source of this script. – mariki Apr 25 '10 at 6:51
I am almost sure that this is sfx script but not 100%, what else can it be? NSIS? – mariki Apr 25 '10 at 6:53
"SFX" on its own is meaningless. It stands for "self-extracting", but does not give the archive format. Try passing /? or /h to the executable and see if it gives some clue as to the actual format. – Ignacio Vazquez-Abrams Apr 25 '10 at 7:22
when I run it, it displays an extracting a progress bar with 7zip sfx icon. p.s. i tired to open this file with 7zip application but it didn't display the script that was used – mariki Apr 25 '10 at 7:35
feedback

http://legroom.net/software/uniextract

link|improve this answer
how this can help me? – mariki Apr 25 '10 at 6:49
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.