Answer the question
In order to leave comments, you need to log in
Python - how to open any file through an archiver?
The essence is simple. I have a file, in the interior of which there is another file. It was created through
Required to get a hidden file from a Python script.
What are the options? copy /b 1.jpg + 2.rar 3.jpg
Answer the question
In order to leave comments, you need to log in
Look for the rar signature , then read the file from that location and write it to a new one with the desired name.
Since the jpeg file is a random byte stream, there is a tiny chance that such a signature will also appear in it, so look for all the necessary signatures in the file and save several files in this case, then check for integrity and leave the one that is not broken.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question