सेल्फ एक्सट्रैक्टिंग एक्स से जिप कैसे निकालें?


18

खैर, विषय यह सब कहता है। मेरे पास एक एक्सई है जो एक एसएफएक्स है, और मैं एसएफएक्स से जिप निकालना चाहता हूं। मैं उसे कैसे कर सकता हूँ?

जवाबों:


16

7-ज़िप ऐसा करने में सक्षम होना चाहिए। आप फ़ाइल पर राइट क्लिक कर सकते हैं और "ओपन आर्काइव" का चयन कर सकते हैं या 7-जिप के भीतर फाइल पर जाएँ और राइट-क्लिक करें और "ओपन इनसाइड" चुनें।


@ डार्क्स: मैं आर्काइव नहीं खोल सकता क्योंकि ज़िप पासवर्ड से एन्क्रिप्टेड है। मैं सिर्फ एक्ज़ से जिप निकालना चाहता हूं, बीच में बिना अनज़िप किए।
टीसीएस

यह नहीं कह सकता कि क्या यह आपकी फ़ाइल के लिए काम करेगा, लेकिन केवल .exe से .zip के एक्सटेंशन को बदलना मेरे लिए ठीक काम करता है। इसमें अभी भी फ़ाइल के निष्पादन योग्य भाग शामिल होंगे, लेकिन 7-ज़िप इसे अनदेखा करने में पूरी तरह से खुश हैं।
ड्रेक्स 10

7-ज़िप खुल जाएगा और इसे पहचान लेगा, लेकिन मैं फ़ाइल में एक्स भाग नहीं चाहता (शुद्ध रूप से ज़िप फ़ाइल, कि इसका हेडर पीके है, और एमजेड की तरह नहीं है)।
टीसीएस

1
मैं एक हेक्स संपादक का उपयोग कर ऐसा करने में कामयाब रहा। सादे ज़िप फ़ाइल और संपादित SFX समान हैं। मैंने जो प्रक्रिया की, वह SFX में जिप फाइल के हेडर की तलाश थी। 7-जिप के लिए यह 37 7 ए ईसा पूर्व लगता है, मैंने इसकी अंतिम घटना की खोज की। फिर मैंने उससे पहले सब कुछ डिलीट कर दिया। ऐसा लगता है कि मुझे अपने परीक्षण फ़ाइल को खुद से जिप करने के लिए एक फाइल के समान दिया गया है। यदि आपको एक हेक्स संपादक की आवश्यकता है तो मैंने XVI32 का उपयोग किया । मुझे बताएं कि क्या यह आपके लिए काम करता है या यदि आपको अब मदद की ज़रूरत है।
ड्रेक

1
यदि यह एक उचित ZIPप्रारूप संग्रह है, तो डेटा का पता लगाने का सही तरीका केंद्रीय निर्देशिका हेडर को उसके चार बाइट मैजिक नंबर से पता लगाना है और पहली फ़ाइल हेडर खोजने के लिए केंद्रीय निर्देशिका पढ़ना है।
JdeBP

8

लिनक्स पर यह "ज़िप" उपयोगिता के साथ संभव है:

$ file london_f.exe
london_f.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit

चेतावनी: अगली पंक्ति मूल .exe फ़ाइल को परिवर्तित करती है ताकि इसे exe भागों के बिना एक शुद्ध ज़िप संग्रह बनाया जा सके!

$ zip -J london_f.exe
$ file london_f.exe
london_f.exe: Zip archive data, at least v1.0 to extract
$ zip --version
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.0 (July 5th 2008), by Info-ZIP.
Currently maintained by E. Gordon.  Please send bug reports to
the authors using the web page at www.info-zip.org; see README for details.
...

2

लिनक्स पर, अगर यह एक जिद्दी है और

zip -J file.exe

इसे हटाने योग्य ज़िप में परिवर्तित नहीं किया जाता है क्योंकि गैर-ज़िप वाला भाग केवल पहले से तैयार नहीं होता है, मैनुअल पेज देखें:

   -J
   --junk-sfx
          Strip any prepended data (e.g. a SFX stub) from the archive.

फिर जिप उपयोगिता के दो अन्य उपयोगी विकल्प हैं:

   -F
   --fix
   -FF
   --fixfix
          Fix the zip archive. The -F option can be used if some portions of the archive are missing, but requires a reasonably intact  central  directory.   The
          input archive is scanned as usual, but zip will ignore some problems.  The resulting archive should be valid, but any inconsistent entries will be left
          out.

          When doubled as in -FF, the archive is scanned from the beginning and zip scans for special signatures to identify the limits between the archive  mem‐
          bers. The single -F is more reliable if the archive is not too much damaged, so try this option first.

          If  the  archive is too damaged or the end has been truncated, you must use -FF.  This is a change from zip 2.32, where the -F option is able to read a
          truncated archive.  The -F option now more reliably fixes archives with minor damage and the -FF option is needed to fix archives where -F  might  have
          been sufficient before.

          Neither  option  will recover archives that have been incorrectly transferred in ascii mode instead of binary. After the repair, the -t option of unzip
          may show that some files have a bad CRC. Such files cannot be recovered; you can remove them from the archive using the -d option of zip.

          Note that -FF may have trouble fixing archives that include an embedded zip archive that was stored (without compression) in the archive and, depending
          on the damage, it may find the entries in the embedded archive rather than the archive itself.  Try -F first as it does not have this problem.

          The format of the fix commands have changed.  For example, to fix the damaged archive foo.zip,

                 zip -F foo --out foofix

          tries  to read the entries normally, copying good entries to the new archive foofix.zip.  If this doesn't work, as when the archive is truncated, or if
          some entries you know are in the archive are missed, then try

                 zip -FF foo --out foofixfix

          and compare the resulting archive to the archive created by -F.  The -FF option may create an inconsistent archive.  Depending on what is damaged,  you
          can then use the -F option to fix that archive.

          A split archive with missing split files can be fixed using -F if you have the last split of the archive (the .zip file).  If this file is missing, you
          must use -FF to fix the archive, which will prompt you for the splits you have.

          Currently the fix options can't recover entries that have a bad checksum or are otherwise damaged.

इसलिए कोशिश करें

zip -F file.exe --out extracted.zip

और अगर वह विफल रहता है

zip -FF file.exe --out extracted.zip

1

मुझे अभी तक एक जिप-हेरफेर प्रोग्राम नहीं देखना है जो ऐसा नहीं कर सकता। सेल्फ एक्सट्रैक्टिंग अभिलेखागार भी मान्य ज़िप फाइलें हैं, बस उनमें अतिरिक्त सामग्री का एक गुच्छा (चिमटा) है।

आप शायद पाएंगे कि आप फ़ाइल खोलने के एक तरीके के रूप में उपयोगिता का चयन नहीं कर सकते हैं, लेकिन यदि आप बस उपयोगिता चलाते हैं और फिर उस फ़ाइल का चयन करें जो यह काम करती है।


आप इसे विंडोज के डिफॉल्ट बिल्ट-इन "कम्प्रेस्ड फोल्डर्स" उपयोगिता के साथ कैसे करेंगे?
काउलिनेटर

@cowlinator कोई विचार नहीं। बहुत समय पहले, मुझे बिल्ट-इन हैंडलर बुग्गी मिली और मैंने इसे इस्तेमाल करने की कोशिश नहीं की।
लोरेन Pechtel

0

आप WinZip के साथ एक SFX फाइल खोल सकते हैं यदि आप फाइलों को एक्सेस करना चाहते हैं। आपको फ़ाइल निष्पादित करने की आवश्यकता नहीं है।

ऐसा लगता है कि अन्य संपीड़न उपयोगिताओं की एक श्रृंखला भी SFX फाइलें खोलेगी।


मैं फ़ाइल को विघटित नहीं करना चाहता (यह पासवर्ड से सुरक्षित है), मैं सिर्फ exe से ज़िप निकालना चाहता हूं।
टीसीएस

वह आपके लिए कर देगा। WinZip में खोलें, और आर्काइव को कुछ के रूप में सहेजें।
Rip

0

मुझे एक समान समस्या थी, एक एसएफएक्स निष्पादन योग्य, जो मूल रूप से एक exe चलाता है जो तब आपको संग्रह के भीतर फ़ाइलों को चलाने की अनुमति देता है। 7zip में एक्साई खोलना इसे संरक्षित पासवर्ड दिखाता है। मैंने एक समाधान के लिए खोज की, यह पासवर्ड को किसी प्रकार के हेडर में संग्रहीत करना चाहिए ... इस धागे को पढ़ते समय मेरे लिए एक वैकल्पिक समाधान हुआ।

Exe को चलाएं, फिर C: \ windows \ temp सॉर्ट को चेक करें और उस फ़ोल्डर को ढूंढें जिसे एक्सई एक्सट्रैक्ट किया गया है, ज़िप के अंदर फाइलें हैं। उन्हें बाहर ले जाओ और उन्हें वापस ऊपर ज़िप। आहा! आपके पास exe, sans पासवर्ड का ज़िप है।


0

यदि आप gog.com गेम के साथ काम कर रहे हैं, तो Innoextract का उपयोग करेंunzip, unrar7zip और अन्य ने मेरे लिए काम नहीं किया।


क्या अन्य ज़िप प्रोग्राम GOG फ़ाइलों के साथ काम नहीं करते हैं? क्या GOG फाइलें स्व-निष्कर्षण हैं?
संगीत 2
हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.