You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I've tried it - it doesn't work :(
I understand that CryptDecode uses CRC32? - If so, you can take the CRC32 hash from the archive and slip it into the end of the packed array:
Z.I. Now I read that hash is an optional attribute and in some cases can be filled with zeros.No, not CRC32, Adler32
(they corrected the text, and they corrected it and I corrected it - reread )
I wrote, it doesn't work!!!!!
No, not CRC32, Adler32
(they've corrected the text, re-read it)
I wrote, it doesn't work!!!!!
Right:
... and CRC32 from ZIP archive I pasted - it doesn't unpack :(
Thank you.
ZIP without 4 bytes and CRC32 from ZIP archive is not unpacked :(
Vasily, our idea will not work.
Unless, of course, the guys from MQ will meet us halfway and add a flag in
functionCryptDecode(CRYPT_ARCH_ZIP, data, key, result,NO_READ_CRC) ;
or take CRC32 from the ZIP file:
CryptDecode(CRYPT_ARCH_ZIP, data, key, result,USE_CRC_FROM_ZIP) ;
You don't have to add a flag. It's enough to change CryptDecode so that it accepts the CRC code, if it exists. If it's missing and the code field is filled with zeros, no CRC code is used, that's it. Also not every archive can contain hash:
Sometimes it is impossible to calculate data at the time of writingLocalFileHeader, thenzeros are written tocrc32,compressedSize anduncompressedSize, thethird bit ingeneralPurposeBitFlag is set to one and afterLocalFileHeader is added a structure likeData descriptor.
http://blog2k.ru/archives/3391
There is no need to add a flag. Simply change CryptDecode so that it accepts the CRC code, if there is one. If it does not exist and the code field is filled with zeros, the CRC code is not used, that's it. Also not every archive can contain hash:
I do not know how MQ implemented the function, so I made a few suggestions
( maybe with a flag it will be easier for them to do)
That would be very nice.
Quick access to a large number of files in a ZIP archive!
A small database with quick access to files - super!
Open ZIP - make a correspondence table and "race" through the offsets.
... They must be thinking.
They must be surprised, that local craftsmen will find such unexpected use forCRYPT_ARCH_ZIP.
That would be very nice.
Quick access to a large number of files in a ZIP archive!
Small DB with fast access to files - super!
Open ZIP - make a table of matches and "race" through the offsets.
+100 Archiving is very useful. With full preservation of content control by MQ, of course.
... They must be thinking.
They must be surprised, that local craftsmen will find such unexpected use forCRYPT_ARCH_ZIP.
+100 Archiving is very useful. With full preservation of MQ's content control, of course. No exe and executable files inside the archive should be.
Vasiliy!
It doesn't matter if there is an EXE or not!
I can "build" an executable from seemingly unremarkable files,
by adding or modifying bytes.
You don't have to use ZIP to do that!
As long as we can download and save files, making an EXE is a piece of cake!
Vasiliy!
It doesn't matter if there is an EXE or not!
I can "build" an executable file from seemingly unremarkable files!
You don't have to use ZIP for that!