Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
add comment

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.

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
add comment

http://legroom.net/software/uniextract

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

Your Answer

 
discard

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.