Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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.

share|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

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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