File Types That Are Secretly Just .Zip Files In Disguise

  Рет қаралды 201,595

ThioJoe

ThioJoe

Күн бұрын

Did you know these files were just zip files? 🤔
⇒ Become a channel member for special emojis, early videos, and more! Check it out here: kzfaq.infojoin
▼ Time Stamps: ▼
0:00 - Intro
0:50 - How to Try It Yourself
1:21 - Microsoft Office Files
2:51 - Mac Office Suite
3:43 - OpenOffice & LibreOffice
4:13 - Android & iOS App Files
5:42 - Epub Files
6:07 - Minecraft.jar
7:57 - Other File Containers
9:39 - Adobe Illustrator File
10:00 - Wait, It's All Zip Files?
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Merch ⇨ teespring.com/stores/thiojoe
⇨ / thiojoe
⇨ / thiojoe
⇨ / thiojoetv
My Gear & Equipment ⇨ kit.co/ThioJoe
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Пікірлер: 791
@ThioJoe
@ThioJoe Жыл бұрын
The best kept secret in the world 🤫
@_SJ
@_SJ Жыл бұрын
😂
@NMSHAFKI
@NMSHAFKI Жыл бұрын
Sure 😅
@pyp2205
@pyp2205 Жыл бұрын
No one will ever know (besides us)! 😉😏
@lordpuff
@lordpuff Жыл бұрын
Shhhh. I wont tell anyone, joe, trust me
@lordpuff
@lordpuff Жыл бұрын
Btw wow im early
@marki7040
@marki7040 Жыл бұрын
Not only interesting, but very useful. Especially for pulling pictures and charts out of Office documents quickly or en masse.
@skelebro9999
@skelebro9999 Жыл бұрын
I love how Joe uses AI generated images now instead of stock photos 😂
@ThioJoe
@ThioJoe Жыл бұрын
I'll use a mix of both
@skelebro9999
@skelebro9999 Жыл бұрын
@@ThioJoe That's good to know.
@Redstonedust-rc9nr
@Redstonedust-rc9nr Жыл бұрын
Ok...
@KeeganWS
@KeeganWS Жыл бұрын
I mean, it's basically no work. just a minute or two to make one that works and you're done! no copyright or anything to worry about
@ts______
@ts______ Жыл бұрын
@@ThioJoe which AI generator do you use?
@ktheveg
@ktheveg Жыл бұрын
Jar files are zip folders that hold special code for the JRE to compile at runtime. The structure is defined by the developer of the specific application. The only standard thing about it is simply that it needs a main.class in the root. Other than that, it's up to the dev to build out the program's file structure.
@justcomments1443
@justcomments1443 Жыл бұрын
I think you meant manifest file that hold the metadata info of the jar like the main class if any, main class is only needed if you want that to run if double click Edit Added some corrections Also jre is for running (java.exe ) Jdk for compiling (javac.exe)
@0x5DA
@0x5DA Жыл бұрын
i don't think the jre does any compiling at runtime, it just acts as a platform to run the bytecode generated by javac
@Blooest
@Blooest Жыл бұрын
Yup. Minecraft's classes look like that because it was obfuscated to prevent people from just opening it up and stealing the code to make a ripoff.
@mrkitty777
@mrkitty777 Жыл бұрын
Comic book reader cbr files are also zip files.
@mrkitty777
@mrkitty777 Жыл бұрын
Any java decompiler can decompile the class files and apk files can be decompiled too.
@myoriginalname
@myoriginalname Жыл бұрын
Epub files can also be renamed as zip then extracted. Or you can also just zip a bunch of pictures and save it as .CBZ (or CBR for RAR’ed files) and voila, you have a lossless container/wrapper for your image files that can be viewed with any comic viewer la Sumatra pdf.
@cronchcrunch
@cronchcrunch Жыл бұрын
Or if you are using a decent archiving program(like 7zip) you can just extract the data of any container, so no need to change file extensions.
@vylbird8014
@vylbird8014 Жыл бұрын
The page ordering rules for cbz are a bit vague though, so you have to left-pad the page numbers with zeros to make sure you get a consistent ordering when viewing.
@tinetannies4637
@tinetannies4637 Жыл бұрын
Hey that's great info, I didn't know that! Thanks!
@lurkerrekrul
@lurkerrekrul Жыл бұрын
@@vylbird8014 Numbered files that AREN'T left-padded with zeros are an abomination! :)
@lurkerrekrul
@lurkerrekrul 6 ай бұрын
@c6amp It's the original picture given to users who didn't have a profile picture. When KZfaq decided that everyone needed to have a picture and that it was going to give generic letter-based pictures to anyone who didn't upload their own, I took a screenshot of the default image and uploaded it as my profile picture. Call it my own little protest against KZfaq imposing its will on the users. :) Since nobody else still has this image, it stands out when I'm looking through the comments.
@legocreator768
@legocreator768 Жыл бұрын
PK3 and PK4 files (used by games like quake 3, star wars Jedi knight Jedi academy, doom 3 and etc) are also just zip files. Wish more games would use standard data compression instead of having to use a tool to manually unpack game archives with a script.
@Ohthatguy64
@Ohthatguy64 Жыл бұрын
Pk3s are also used in srb2/modern doom source ports
@Diego-Garcia
@Diego-Garcia Жыл бұрын
The reason why they don't do this it's simple: they just don't want you to do it!
@desoroxxx
@desoroxxx Жыл бұрын
Sorry but you would actually not really like it
@TheArKabZol
@TheArKabZol Жыл бұрын
Beyond obfuscation like has been mentioned, I think another big factor might be performance. Zip is somewhat old and may not be exactly optimal in terms of how fast you can get the compressed data off of your drive and into memory.
@ora2j251
@ora2j251 Жыл бұрын
For the exe files, i reckon driver installers are basically always archives extractables with 7-zip. Which is really usefull to get the INF and SYS files alone and not deal with the crappy installers of hardware vendors
@TulgaD5
@TulgaD5 Жыл бұрын
Damn, that's a live pro tipp
@michealpersicko9531
@michealpersicko9531 Жыл бұрын
YEs they are and if you can figure out which folder it needs to go on the C: drive you can just drag and drop it from the archiver program into the folder to install it.
@mfaizsyahmi
@mfaizsyahmi Жыл бұрын
EXE, DLL (and probably MSI) files shown in this video are NOT ZIP files. EXE/DLL are PE files, which stands for Portable Executable. It's the format Windows uses so that machine code, and data it uses, for a program is in one, portable, file. PE files typically has the .text section (the program's actual machine code) and the .rsrc section (other data the program needs). But the .rsrc section can include other files, including valid Zip files. This is what I think self-extracting exes are extracting, and what Archiver programs look for. Finding none, they'll show you the PE structures instead.
@darranrowe174
@darranrowe174 Жыл бұрын
@@mfaizsyahmi It is. Basically, when you are generating resources for an executable image, you do have the option of adding files to the resource section. So at build time you can use a resource script with a user defined resource file and add an archive to the resource section. Since this isn't useful for self extractors, since it would require you building the executable, it is also possible to edit the resources section. Windows has the UpdateResource function which facilitates this. A self extracting archive or an installer which has the files as part of the executable resources can either just enumerate the resources, or assume that a fixed resource ID will always be used.
@rsa5991
@rsa5991 Жыл бұрын
@@mfaizsyahmi You can just attach Zip data to the end of EXE, there is no need to add it to any section. In fact, adding a big Zip to a section may be unwanted, as sections are loaded in RAM. Most self-extracting archives don't add the archive to sections. Zip format is special, because it has a footer instead of header - archivers read it from the end of the file. That's why it can coexist with many header-based formats.
@JustSomeRandomIdiot
@JustSomeRandomIdiot Жыл бұрын
It's actually a great way to design a file format though, I've done it myself with my own coding. It means you can easily edit the file with third party software, and use existing zip libraries to pack data in and out of the file, and you get compression on top of it. It's a smart way to work.
@RevolutionMark0498
@RevolutionMark0498 Жыл бұрын
Now I know why I can open .jar files with 7zip or winrar. It makes sense
@pyp2205
@pyp2205 Жыл бұрын
Yeah same, only with ISO files. Because archiver programs seem to associate files that don't appear to be archive files until you look for yourself. I already knew jar files were a form of archive files because it literally has archive in its name. And also from winrar associating jar files as an archive file.
@TheCopymark
@TheCopymark Жыл бұрын
The reason you pack it in a zip file is because every file is compressed separately. This means you can have a metadata file inside the zip and just extract this (probably quite small) text file. With other compression formats you would have to decompress the whole (possibly very large) file first to check some small file within.
@grn1
@grn1 Жыл бұрын
Archives where you have to extract everything are called solid archives, most formats have the option to create solid or non-solid archives so it isn't a particular advantage for zip files. Zip is just built into Windows so devs* don't have to worry about including an archiver with their programs (which is a bit of a problem for slow internet). The advantage of solid archives is that they can be made smaller but how much smaller depends on a lot of factors and the risk of corruption are far worse (if the archive is corrupted at all then all of the files within will likely be lost). Source: I messed around with solid RAR archives back in the day trying to save space on my EHDD but ended up losing a bunch of data because the archive got corrupted so I started using non-solid archives exclusively and found there was very little difference in size. Just to make sure I was remembering everything correctly I double checked and found that 7zip (the format I switched to in more recent years) uses a bit of a hybrid approach where the archives can have multiple solid blocks the size of which can be set. 7-zip also allows for the creation of completely non-solid archives. Since I've switched to internal SSDs and a NAS with high quality NAS HDDs and have multiple backups in general I'm not as worried about corruption as I used to be. *There's an interesting story behind that and Microsoft's Embrace, Extend, and Extinguish policy of the time.
@tookitogo
@tookitogo 6 ай бұрын
Yeah, that’s in no way unique to Zip. If anything, I suspect that compression formats that require you to extract all the files at once are the exception, not the rule.
@TCHGOD
@TCHGOD Жыл бұрын
Another example is Apple iPSW files, those are the firmware files for all of Apple’s firmwares. Those are secretly ZIP files as well.
@mjdxp5688
@mjdxp5688 Жыл бұрын
I'd love to see you go over files such as .DEB (Debian packages) and AppImage/Flatpak/Snap files as well!
@randomname2437
@randomname2437 Жыл бұрын
And .rpm
@Lanausse
@Lanausse Жыл бұрын
Hello Again ._.
@edussantoz9034
@edussantoz9034 Жыл бұрын
@@salamiwallnut as the name sugests a tar.gz is a file compressed with tar and after that compressed with gunzip, just a way to make the file smaller. it has became so standard in linux, that it has became just one binary who does both.
@coppertones7093
@coppertones7093 Жыл бұрын
wanted to comment that too, i ended up with one on a non-debian system recently
@Absolute_Zero7
@Absolute_Zero7 Жыл бұрын
@@salamiwallnut I think he's referring to Arch pacman packages. However you are correct in pointing out that that is just a generic archive format, and that Arch pacman packages are quite literally zipped tar archives with no special file extension of any kind. As such, it wouldn't really fit in a video like this.
@iZePlayz
@iZePlayz Жыл бұрын
Interesting. I just knew before about that APKs, ISOs, JARs and some EXEs are Zips. The rest was new for me
@BennehYT
@BennehYT Жыл бұрын
Same.
@mfaizsyahmi
@mfaizsyahmi Жыл бұрын
EXE, DLL (and probably MSI) files shown in this video are NOT ZIP files. EXE/DLL are PE files, which stands for Portable Executable. It's the format Windows uses so that machine code, and data it uses, for a program is in one, portable, file. If you think about it, they can't be zip files because then how would a zip program (meaning the program that zips/unzips zip files) run? How would windows even exist before zip files were invented?
@dj_chateau
@dj_chateau Жыл бұрын
If you're using something like 7-Zip, you don't need to rename the file. Changing the extension simply tells the OS's built-in archiving software to decompress the file.
@QuantumScratcher
@QuantumScratcher Жыл бұрын
If you've ever used Scratch (the programming language), you might know that .SB3 and .SB2 files are also ZIPs. Extracting them actually has a use: checking the size of the project.json file inside (which is limited to 5MB). edit: correct error - .sb files aren't .zips
@cst1229
@cst1229 Жыл бұрын
.sb files are not zips afaik, only sb2/3s.
@DeltaruneRalsei
@DeltaruneRalsei 2 ай бұрын
wait .sb2 aswell? didn't know
@IceMetalPunk
@IceMetalPunk Жыл бұрын
Many years ago (I won't say how many lest I age myself), an indie game I loved that had a level editor had the fan community asking the dev to support custom player skins in the created levels. I looked into how hard or easy that would be, and that's when I first discovered how incredibly useful it is to just package data, images, etc. into a ZIP file and change the extension to make it look fancier 😂 It's nice to know even the big companies do the same thing and it wasn't a dumb novice-dev idea of mine.
@Gunz1234
@Gunz1234 Жыл бұрын
That (---) was really unnecessary qnd like no one cares how many years ago.
@mfaizsyahmi
@mfaizsyahmi Жыл бұрын
It's not to be fancy, it's to bundle all the different things needed to get things to work to come in a single file, arranged in a certain way.
@IceMetalPunk
@IceMetalPunk Жыл бұрын
@@Gunz1234 Your entire reply was unnecessary 🤷‍♂
@IceMetalPunk
@IceMetalPunk Жыл бұрын
@@mfaizsyahmi Oh, no, I meant changing the file extension makes it look fancier than just naming it with .zip 🙂
@Diego-Garcia
@Diego-Garcia Жыл бұрын
@@IceMetalPunk Not exactly. Like Joe said in the video, changing the extension helps the OS (mainly Microsoft Windows) to open the file with a specific program (because Windows depends on the extension, not the file content). Then, how will Windows know if that .zip file belongs to Adobe Illustrator or Java Virtual Machine (Minecraft)? That's the point.
@wclifton968gameplaystutorials
@wclifton968gameplaystutorials Жыл бұрын
You can also open executable files (EXE) in a file archiver using a program such as 7zip or GNOME Archive Manager and the EXE file includes the relevant files necessary for the file to work such as app icons, version info and some text files will be filled with text that is used in the program. I should also add that you don't need to change the file type in Windows, instead just open the folder path in 7zip and right-click on the file and click on "open inside" (does not appear on the Linux snap version of p7zip)... I may also add that most file types can be opened in any text editor to view the same information e.g. an SVG Vector file can be opened in Notepad or Kate text editor and you view the coordinates of the file information...
@mfaizsyahmi
@mfaizsyahmi Жыл бұрын
An important thing about EXE/DLL is that they're not ZIP files, they're PE files, totally different specs. But any archiver program worth their salt understands the PE format as well as a ZIP format.
@darranrowe174
@darranrowe174 Жыл бұрын
​@@mfaizsyahmi What these archivers show is the section headers for almost everything, and the resource directory for the resource section.
@aurisbunni
@aurisbunni Жыл бұрын
Ah yes, opening files with a file extractor. I always do this with Android APK files whenever I want to extract some fonts or *assets* files used in that app. I never knew you can also open Office files the same way, this is helpful.
@LeafpoolTheMedCat
@LeafpoolTheMedCat Жыл бұрын
Apple platforms like iOS and macOS also hide folders like that. If you've ever installed anything on a Mac, you might know that the app comes in a .dmg file (similar to .iso) and then you're supposed to drag the [AppName].app file from there to your applications folder and run it by double clicking like an .exe. But it's not actually a file, as if you extract a DMG on Windows, the .app shows up as a folder. Inside, there is a directory called "Contents" and in it are a bunch of resource files alongside a "MacOS" directory that has the main executable.
@garethperks7032
@garethperks7032 Жыл бұрын
Great niche topic to cover. Most of those do indeed have file headers that begin with PK (Phil Katz). We can see this by opening in a hex editor like HxD, or even Notepad++ (if it's not massive in size). Many Windows executables begin with MZ (Mark Zbikowski) and can also be extracted. Thankfully 7zip makes it quick and easy to check.
@FengLengshun
@FengLengshun Жыл бұрын
As a Linux user, I've been so confused as to why .docx and other ms office xml formats have archive manager assigned as default or one of the programs to open it. I suppose it's because the format isn't native or foss to be properly incorporated that file magic can only recognize the .zip aspect of it.
@duck_corp
@duck_corp Жыл бұрын
Awesome educational video on something I had never thought of before. More stuff like this please!
@LMacNeill
@LMacNeill Жыл бұрын
Ok... I cannot tell you how many times I need an image from a Word document, because some genius client decided to send me a word document instead of the original PNG or JPG file. And, until now, there was no easy way for me to get the *ORIGINAL* image out of that Word document... Now I know how to do that!! This is incredible!!
@vdvman1
@vdvman1 Жыл бұрын
Regarding opening the minecraft jar, the `assets` folder is in fact the exact same structure as a resource pack, and the `data` folder is the exact same structure as a datapack. We often recommend that people do exactly as shown in this video to find where they need to put files and what to put in them when they are making their own resource packs and datapacks! It's very handy
@vdvman1
@vdvman1 Жыл бұрын
I think in the video you are showing an older version of the game, in newer versions a majority of the folders shown in the video are nested inside the `data` and `assets` folders that I mentioned in my above comment
@ahmedhamdy2479
@ahmedhamdy2479 Жыл бұрын
Thank you very much. I've been searching for something like this for a long time.
@raulc.
@raulc. Жыл бұрын
I've been watching your videos for years. Most of the time, your videos are very interesting and entertaining. And most of the time I pretty much know the information that you are covering or I am aware of it. In this video, there is a first. I never knew that all of these files were actually zip or compressed files. Keep up the good work. I always enjoy your videos.
@flightman2870
@flightman2870 Жыл бұрын
This is super cool, now I'm gonna look through every single file on my phone and computer and see what changes I can make to them
@Sembazuru
@Sembazuru Жыл бұрын
If you are into 3D printing, the 3mf format used by many slicers to store objects, print settings, etc are also zip files.
@dylan.t180
@dylan.t180 Жыл бұрын
Wow that’s super useful I was literally wondering how to do this especially extracting images from the word document definitely going to keep this in mind thanks
@im2sxc4yall
@im2sxc4yall Жыл бұрын
ThioJoe, thank you for this youtube channel. I love this youtube channel. Thank you for making this youtube channel about computers and the windows operating system. I've used the Windows operating system for years. I've essentially grown up with Windows as pretty much 99.999% of the whole world also has since Windows is pretty much the most used operating system of the world (the other two popular operating systems: macOS and Linux). Anyways, thank you for this video! I never knew that and was interesting to learn that Word documents are actually just .ZIP files in disguise. The More You Know! 😍😍
@4WheelerinMiami
@4WheelerinMiami Жыл бұрын
ThioJoe I love the way you explain Tech stuff on your channel!! Keep it up!!!!!!
@rfry200
@rfry200 Жыл бұрын
Fascinating, thank you so much. Very useful for converting file x to file y.
@snarkykat
@snarkykat Жыл бұрын
I never figured that all these files were just zip files. This sort of thing is exactly why I watch your videos
@mfaizsyahmi
@mfaizsyahmi Жыл бұрын
EXE, DLL (and probably MSI) files shown in this video are NOT ZIP files. EXE/DLL are PE files, which stands for Portable Executable. It's the format Windows uses so that machine code, and data it uses, for a program is in one, portable, file. If you think about it, they can't be zip files because then how would a zip program (meaning the program that zips/unzips zip files) run? How would windows even exist before zip files were invented?
@ixerohit3982
@ixerohit3982 Жыл бұрын
Thank you so much for all these tutorials bro. So much valuable knowledge
@alextirrellRI
@alextirrellRI Жыл бұрын
On Macs, lot of files you wouldn't expect are actually package files, but really just folders with more stuff inside. I took a MainStage concert file as an example and renamed it to .zip and it just turned into a folder, letting me see the contents. Applications are package folders as well, which is why you could just open that .app iOS app.
@tookitogo
@tookitogo 6 ай бұрын
Honestly, packages are a brilliant concept that solves so many common problems. But since none of the other major OSes have any equivalent concept for bundling a folder into an opaque, pseudo-monolithic file, using a zip archive is a great workaround that basically achieves the same thing.
@davidfrischknecht8261
@davidfrischknecht8261 Жыл бұрын
BTW, JAR files are not just for servers. They can be run on client versions of Windows, macOS, and Linux, provided the correct version of the Java Runtime Environment is installed. Also, the only folder you're guaranteed to see in a JAR file is the META-INF folder.
@towaii
@towaii Жыл бұрын
maybe someone has pointed this out already, but .ora, a layered image format like .psd, used by GIMP, Krita and some other open-source image editing software (MyPaint is the one I have on my raspberry pi, since it can't run Krita, and it uses .ora) is also just a .zip in disguise! a friend of mine took advantage of this fact to use it for sprites for a game she made. .kra is Krita's modified version of .ora and also can be opened with an archiver.
@mro2352
@mro2352 Жыл бұрын
I’m a Java developer and being able to confirm that the proper files are stored in the jar is very useful. It is also useful to be able to decompile Java .class files specifically.
@_SJ
@_SJ Жыл бұрын
The "award winning photograph" is so funny 😂
@ThioJoe
@ThioJoe Жыл бұрын
Lol yep
@redcrafterlppa303
@redcrafterlppa303 Жыл бұрын
6:07 this version of minecraft is pretty old. In newer versions all the image data is grouped in 1 top level assets folder, which has the same structure as a texture pack. It's basically the default texture pack.
@josir1994
@josir1994 Жыл бұрын
A file is a bunch of information stored in a certain format, an archive is also a bunch of information stored in a certain format, perfectly reasonable to be interchangable.
@loknathshankar5423
@loknathshankar5423 Жыл бұрын
Cool, didn't know office files were also structured as zip
@69Solo
@69Solo Жыл бұрын
Learned something new. Thanks! :)
@wojciechszmyt3360
@wojciechszmyt3360 Жыл бұрын
About office files, I've known and used it for a long time :D I've been extracting raw images from ppt presentations for years - super useful
@_SJ
@_SJ Жыл бұрын
You can teach me the whole day about computers and I'll never get bored.
@TrojanLube69
@TrojanLube69 Жыл бұрын
I miss him ever since when the triple the internet video was uploaded. Man those times 😞
@just.nobody
@just.nobody Жыл бұрын
@@TrojanLube69 I've got extra 64 gigs of RAM thanks to him.
@_SJ
@_SJ Жыл бұрын
Legendary KZfaqr
@TrojanLube69
@TrojanLube69 Жыл бұрын
@@just.nobody yeah, no way you can download that amount anymore 😭😩
@kjur0
@kjur0 Жыл бұрын
As a programmer i knew that some of the files are archives, like .jar .exe .ipa .apk .msi. Bit the .docx or .odt or any of the office files were mind blowing
@Thensi72
@Thensi72 Жыл бұрын
I knew this for some types of files but didn't know about some of these so that's cool
@notthedroidsyourelookingfo4026
@notthedroidsyourelookingfo4026 Жыл бұрын
Really neat trick. Might use that for an application I'm working on, just so that it's easier for the OS to link the file type to the program. And I'm totally gonna try that out on other files, see what comes up.
@JustPyroYT
@JustPyroYT Жыл бұрын
Great Video as always! 👍
@refactoringg
@refactoringg Жыл бұрын
Joe explaining the minecraft source is like learning French on a English class
@kdee1428
@kdee1428 Жыл бұрын
Source Engine map files called Binary Space Partition or just ".bsp" files can be open with 7zip even though they are not zip files. It is very useful to see the content baked into the bsp files this way.
@jackatk
@jackatk Жыл бұрын
7:03 *The beam that it sucks in Lmao- great video, super interesting!
@Macabri_2k10
@Macabri_2k10 Жыл бұрын
archiving programs are agnostic to file endings you don't need to rename the files to open any of these, just right-click it and use the context menu to let the archiving program handle the file in a way you want....or open directly from the files menu within the archiving program, just select "all files" in the file opening dialog, so you can see them in the selection window.
@zalyster
@zalyster Жыл бұрын
.cbr and .cbz files used for comics are also just zip files of numbered jpegs (and sometimes a metadata xml file)!
@smile768
@smile768 Жыл бұрын
Really interesting. Great job 👍
@snqzspg
@snqzspg Жыл бұрын
Suggestion: Could you also explain (as in possibly a new video) .rar, .7z, .tar.gz, tar.xz and .tar.bz2 and how are they different from .zip? I think you are one of the few people who can do it well
@BrightBlueJim
@BrightBlueJim Жыл бұрын
I can answer for the tar variants: tar once stood for "tape archive", and was a way to just pack a number of small files together to store on magnetic tape, back when Unix was king. These use no compression. The .gz, .xz, and .bz2 extensions are just different compression methods applied to a standard tar file, so unlike zip, the whole file up to and including the files you are looking to extract has to be run through the uncompressor first. Zip stores a list of the files and their positions in the zip file at the end of the zip file, and each file is compressed separately, often using different compression algorithms.
@jordansean18
@jordansean18 Жыл бұрын
I learned this a couple years ago and I was blown away 😂 told all my developer friends that it's all just zipper XML these days
@mfaizsyahmi
@mfaizsyahmi Жыл бұрын
Phil Katz met an untimely demise, but his ZIP file specs lives on, even flourishing, as the go-to data container. Also, the setup.exe is being opened *not as a zip file, but as the Portable Executable format* itself, which is the executable format used by Windows. That's because in every PE container, there's a ".text" section, where the machine code actually is. ".reloc" must have been the address reallocation table that places the machine code and data to predefined places in RAM, so machine code can know where everything it needs relatively is. Then ".rsrc" must be the resources used by the executable, which itself is generally separated into sections for icons, icon groups, GUI, text, images, etc. The appearance of a folder structure in the PE container is the archiver program you're opening it with interpreting and remapping the PE structures to be user friendly. That might be the case with the msi file too.
@Kid420
@Kid420 Жыл бұрын
Exactly my thoughts as soon as I saw that `.text` section
@darranrowe174
@darranrowe174 Жыл бұрын
Windows installer (.msi) files are databases. So what is being shown there are the database tables.
@sakikfirenxo2842
@sakikfirenxo2842 Жыл бұрын
Good video, bro! Keep it up!
@PajamaPalace
@PajamaPalace Жыл бұрын
The Office Files are actually really cool. I had a scenario where a department I was working with put data in word docs. To extract it you can write a script to make it a zip file, then parse the XML for the data, & return it. Super useful!
@dbackscott
@dbackscott Жыл бұрын
Not sure if this was already mentioned, but Google Earth and several mapping & GIS programs make use of “.KMZ” files, which are also zip archives.
@Slackow
@Slackow Жыл бұрын
Already knew about jars, didn't know about anything else, this is interesting. Browsing Minecraft's jar for resources is super useful actually, looking at their assets is a great way to learn how to make loot tables or texture packs etc. Or if you just want one of their in game textures.
@darrelbryant8632
@darrelbryant8632 Жыл бұрын
Good topic and share, thank you.
@melekRebai
@melekRebai Жыл бұрын
I'm a web dev and i use this technique as well for exporting/importing data across apps
@ilike2burnthing
@ilike2burnthing Жыл бұрын
For those executable (your favourite word) files, you'd likely get a lot more usable information, and often the actual installed files by using 7-Zip's 'Open archive > #:e' option - a parser mode which opens basically everything. Useful for creating portable programs, or if you just need a couple of the files but don't want to install the whole program.
@mickgibson370
@mickgibson370 Жыл бұрын
And Microsoft wants to us forget the Word doc that made everybody's computer 3 to 11 and Apples open to the world!
@Jaun-Vincent
@Jaun-Vincent Жыл бұрын
Thanks! This is extremely helpful! 👍🙂
@Liggliluff
@Liggliluff Жыл бұрын
(1:00) You should definitely uncheck hide file extensions, for security reasons. This is because people send files such as "photo.jpg.exe" which then shows up as "photo.jpg". Most people will not care that the .jpg is visible and find it strange, they'll just register that as a photo and will try to open it by running it, and now they're running malicious software. But with visible file extensions, you'll see it being photo.jpg.exe and now you can see that it's not a photo easily, and should definitely not run it.
@ultraali453
@ultraali453 Жыл бұрын
I remember figuring this out many years ago, before I had internet. I was messing around with video game files to find the audio and video. I wanted to swap them as well. Wasn't really successful but I learned that winzip would open many of these files.
@maxmouse3
@maxmouse3 Жыл бұрын
I knew about a few of these but never thought that DOCX was also zip hahaha amazing
@abcrtzyn
@abcrtzyn Жыл бұрын
I’ve used this to take images out of PowerPoint. Very useful secret to know.
@kiwirocket64
@kiwirocket64 Жыл бұрын
This is so interesting thanks for the info
@mk_rexx
@mk_rexx 8 ай бұрын
I was kind of mindblowing when I first discovered them about document files but it makes sense when you realize the X in DOCX means XML. Modern office documents are basically similar to webpages which run from a folder of HTML, CSS, and script files. In fact, EPUB literally runs on HTML and CSS as seen in the video!
@voidyt9939
@voidyt9939 Жыл бұрын
Fun fact: IPSW files (Used for iDevice restores) are also hidden ZIPs.
@MorganSullivan
@MorganSullivan Жыл бұрын
If you want to discover if a file is a zip without changing the extension just open it with a plain text editor (like notepad). If the contents start with "PK" is a secret zip... This is a very quick test..
@ThioJoe
@ThioJoe Жыл бұрын
Yep
@mfaizsyahmi
@mfaizsyahmi Жыл бұрын
Stands for Phil Katz, the creator of the zzip file spec. RIP Phil Katz, 1962-2000.
@MorganSullivan
@MorganSullivan Жыл бұрын
@@mfaizsyahmi In the ancient days of computing zip were PKzip.. I never knew why... RIP PK.. We are grateful!!
@miguelagueda3928
@miguelagueda3928 Жыл бұрын
This might be a bit obscure for most people, but I also recently found that MATLAB also uses these for their UI applications on the .mlapp format
@vamboo8918
@vamboo8918 Жыл бұрын
That illustrator folder thing blows my mind
@DrakiniteOfficial
@DrakiniteOfficial Жыл бұрын
Fun fact - MediaMonkey's addon install packages (.mmip) are also just zip files
@waynecarberry8555
@waynecarberry8555 Жыл бұрын
i can't thank you enough,,am 72 and just when i was going to toss this out the window ,,i chanceon to your website.And what a difference you explain in simple (72 year old )language and when i did have questions you actually took the time to answer me .Thank you again
@guilhinha
@guilhinha Жыл бұрын
I only knew about .jar ones. This is damn cool!
@stefbunny
@stefbunny Жыл бұрын
Fun fact: the Microsoft Office files and Android (APK) files "were" last modified in the years 1980 and 1981
@josuelservin
@josuelservin Жыл бұрын
More than a decade ago I opened an iso file WinRAR by mistake and was surprised to find all the contents of the disk, since then I always try to do this first if I need to get some asset first instead of searching for an specific unpacker.
@TheOverloaded1
@TheOverloaded1 Жыл бұрын
I know with xlsx and a hex editor, you can remove the password protections. If you have an excel file that isn't xlsx, you can save it as xlsx and then strip out the password.
@AmjadKhateeb
@AmjadKhateeb Жыл бұрын
another benefit of using zip files by programs is compression, which makes the file size smaller and easier for transfer. some of them add password protection.
@skull_is_dull
@skull_is_dull Жыл бұрын
.band and .logicx for Garage Band and Logic Pro respectively are like that too, but inside, while you are working on it, has temporary files with names that OneDrive doesn’t like so you keep getting a warning about it whenever working on one of those files on OneDrive.
@kairu_b
@kairu_b Жыл бұрын
This is very helpful!
@MaffeyZilog
@MaffeyZilog 15 күн бұрын
For comic reader apps, ".cbz" is simply a zip file renamed, and ".cbr" is simply a RAR file that's been renamed.
@TrillionDeTurtle
@TrillionDeTurtle Жыл бұрын
sometimes I just like to open files with 7zip, doesnt normally give much info but it's fun
@DerLung
@DerLung 8 ай бұрын
jar just stands for Java ARchive btw It's just a collection of java bytecode files (.class) which are compiled .java files As far as I know, executing a .jar file (with java) just runs the Main class contained in the file
@Mikidy303
@Mikidy303 Жыл бұрын
Good stuff to know. Now I can explain to my users why zipping the file does not make it smaller.
@Preinstallable
@Preinstallable Жыл бұрын
.xpi files and .crx files can be opened in 7-zip, these types of files are firefox and chrome extension files respectively
@pvandck
@pvandck 6 ай бұрын
If you have an archiver like 7-Zip, you don't even need to change or add the file suffix ".zip". Just right click on the file and select the 7-Zip, Open Archive, Zip option. The archive will open in the a 7-Zip Manager window.
@agent-qm7oe
@agent-qm7oe Жыл бұрын
I did know about the APK files but not about the other files, nice vid as always
@indepth6mobile-official
@indepth6mobile-official Жыл бұрын
Several feature phone theme files are also archives. .nth for Nokia are just ZIP files, and .thm for Sony Ericsson are TAR files.
@0rphaneye
@0rphaneye Жыл бұрын
Very cool that you got official video from a 1980 timetraveler for the Microsoft portion
@allezvenga7617
@allezvenga7617 Жыл бұрын
Thanks for your sharing
@mxg75
@mxg75 6 ай бұрын
Setup.exe is actually an executable file and a zip file glued together. The executable is the installer program, while the zip contains the software to be installed. When reading a .exe file to load and run it, Windows starts reading the file at the beginning. A .zip file, on the other hand, has its table of contents at the end. The idea was the compression software would compress the files and write out where each one is in the zip once it’s finished. As far as Windows is concerned, Setup.exe is an executable with a very large data segment at the end. As far as any compression software is concerned, Setup.exe is a zip file with a bunch of garbage data at the beginning that isn’t referenced in any of the table of contents entries.
@Sugondeeze
@Sugondeeze Жыл бұрын
Hmmm... intresting. Time to use it for very normal things.
@Ceres-dp
@Ceres-dp Жыл бұрын
SUS?!
@TheJustinBurton
@TheJustinBurton Жыл бұрын
Great Content sir!
@arijitdas7526
@arijitdas7526 Жыл бұрын
Adobe motion graphics template (.mogrt) is also another example.
@ThioJoe
@ThioJoe Жыл бұрын
Interesting
@Pixiuchu
@Pixiuchu Жыл бұрын
An example I use is .tasproj and .bk2 files for Bizhawk emulator, used for TAS projects. It's pretty neat how easily things are modifiable unlike Dolphin Emulator's .dtm file where you have to hex edit the data...
Weird URL Protocols
13:54
ThioJoe
Рет қаралды 242 М.
What Kinds of Files Can Be Viruses?
14:08
ThioJoe
Рет қаралды 239 М.
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 1,2 МЛН
小女孩把路人当成离世的妈妈,太感人了.#short #angel #clown
00:53
Китайка и Пчелка 10 серия😂😆
00:19
KITAYKA
Рет қаралды 2,1 МЛН
What Happened To The Founder Of Torrents?
10:53
Logically Answered
Рет қаралды 1,9 МЛН
Secrets of The Windows Calculator
13:27
ThioJoe
Рет қаралды 679 М.
What Happened to the A: and B: Drives in Windows?
8:51
ThioJoe
Рет қаралды 756 М.
Hackers Have a New Strategy - How to Defend Against It
11:11
ThioJoe
Рет қаралды 232 М.
Why Does Linus Pirate Windows??
10:30
Linus Tech Tips
Рет қаралды 11 МЛН
Best Practice to Organize Your Computer Files
8:59
Lea David
Рет қаралды 1,2 МЛН
Explaining Image File Formats
14:20
ExplainingComputers
Рет қаралды 120 М.
Купил этот ваш VR.
37:21
Ремонтяш
Рет қаралды 234 М.
Apple watch hidden camera
0:34
_vector_
Рет қаралды 62 МЛН
Mi primera placa con dios
0:12
Eyal mewing
Рет қаралды 719 М.
Bluetooth Desert Eagle
0:27
ts blur
Рет қаралды 7 МЛН