``How to post a ZIP file disguised as an image'' is discovered on Twitter
![](https://i.gzn.jp/img/2021/03/19/twitter-zip-png-upload/00_m.png)
You can post images and movies to Twitter, but file formats such as text files and ZIP files are not supported and cannot be posted. Meanwhile, security researcher
I found a way to stuff up to ~3MB of data inside a PNG file on twitter. This is even better than my previous JPEG ICC technique, since the inserted data is contiguous.
— Dаvіd Вucӻаnаn (@David3141593) March 17, 2021
The source code is available in the ZIP/PNG file attached: pic.twitter.com/zEOl2zJYRC
The image attached to Mr. Buchanan's post is a ``ZIP file disguised as a PNG image.'' I will actually use something like ' Twitter Image Downloader ' to download the images published by Mr. Buchanan in full size.
Rename the downloaded PNG image file from '○○○.png' to '○○○.zip'. Unzip the created ZIP file using unzipping software such as '
![](https://i.gzn.jp/img/2021/03/19/twitter-zip-png-upload/02_m.png)
Then, it was successfully thawed. The contents of the ZIP file was a file named 'tweetable-polyglot-png-main.'
![](https://i.gzn.jp/img/2021/03/19/twitter-zip-png-upload/03_m.png)
The file contained a Python script ``pack.py'' developed by Buchanan that generates a ``ZIP file disguised as a PNG image'' and an instruction manual.
![](https://i.gzn.jp/img/2021/03/19/twitter-zip-png-upload/05_m.png)
ZIP files are not the only file formats that can be uploaded using the newly discovered method. In fact, Mr. Buchanan also posted ``MP3 files disguised as PNG images.''
Download this one, rename to .mp3, and open in VLC for a surprise. (Note: make sure you download the full resolution version of the file, should be 2048x2048px) pic.twitter.com/x2J88xkBhd
— Dаvіd Вucӻаnаn (@David3141593) March 17, 2021
In addition, Mr. Buchanan has also devised a method of cramming ``all of Shakespeare's works'' into one small image.
An attempt to upload all of Shakespeare's works in one small image on Twitter - GIGAZINE
Related Posts:
in Web Service, , Posted by log1o_hf