<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pessinurmi.com/index.php?action=history&amp;feed=atom&amp;title=Compressed</id>
	<title>Compressed - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pessinurmi.com/index.php?action=history&amp;feed=atom&amp;title=Compressed"/>
	<link rel="alternate" type="text/html" href="https://wiki.pessinurmi.com/index.php?title=Compressed&amp;action=history"/>
	<updated>2026-04-22T11:29:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.pessinurmi.com/index.php?title=Compressed&amp;diff=247&amp;oldid=prev</id>
		<title>Exf at 12:03, 26 September 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.pessinurmi.com/index.php?title=Compressed&amp;diff=247&amp;oldid=prev"/>
		<updated>2022-09-26T12:03:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:03, 26 September 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[File:Compressed.PNG|thumb|Compressed]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Description===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Description===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Often the files you need from the internet or other sources come in a compressed format. There are many tools available and most of them have slightly different syntax for unpacking. How to find information on unpacking different formats is a mandatory knowledge.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Often the files you need from the internet or other sources come in a compressed format. There are many tools available and most of them have slightly different syntax for unpacking. How to find information on unpacking different formats is a mandatory knowledge.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key my_wiki:diff:1.41:old-245:rev-247:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Exf</name></author>
	</entry>
	<entry>
		<id>https://wiki.pessinurmi.com/index.php?title=Compressed&amp;diff=245&amp;oldid=prev</id>
		<title>Exf: Created page with &quot;===Description=== Often the files you need from the internet or other sources come in a compressed format. There are many tools available and most of them have slightly different syntax for unpacking. How to find information on unpacking different formats is a mandatory knowledge.  50pts ===Question=== Unpack all the files in the folder &lt;code&gt;/var/compressed/&lt;/code&gt; and retrieve the flag. ===Solution=== First, go to the folder where the files to be extracted are.  See wh...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.pessinurmi.com/index.php?title=Compressed&amp;diff=245&amp;oldid=prev"/>
		<updated>2022-09-26T12:03:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===Description=== Often the files you need from the internet or other sources come in a compressed format. There are many tools available and most of them have slightly different syntax for unpacking. How to find information on unpacking different formats is a mandatory knowledge.  50pts ===Question=== Unpack all the files in the folder &amp;lt;code&amp;gt;/var/compressed/&amp;lt;/code&amp;gt; and retrieve the flag. ===Solution=== First, go to the folder where the files to be extracted are.  See wh...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Description===&lt;br /&gt;
Often the files you need from the internet or other sources come in a compressed format. There are many tools available and most of them have slightly different syntax for unpacking. How to find information on unpacking different formats is a mandatory knowledge.&lt;br /&gt;
&lt;br /&gt;
50pts&lt;br /&gt;
===Question===&lt;br /&gt;
Unpack all the files in the folder &amp;lt;code&amp;gt;/var/compressed/&amp;lt;/code&amp;gt; and retrieve the flag.&lt;br /&gt;
===Solution===&lt;br /&gt;
First, go to the folder where the files to be extracted are.&lt;br /&gt;
&lt;br /&gt;
See what files are in the folder.&lt;br /&gt;
&lt;br /&gt;
You will notice that there are three different files in the folder.&lt;br /&gt;
&lt;br /&gt;
The files are &amp;lt;code&amp;gt;x00.zip, x01.gz and x02.tar.gz&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now you can start extracting files one by one.&lt;br /&gt;
&amp;lt;code&amp;gt;unzip x01.zip; gunzip x01.gz; tar -zxvf x02.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When examining the files after decompression, I notice that the contents of the files look vague and not directly a flag. However, I recognise from the text that this could be some kind of encoding. I run the cat command on all files using ? character as a common parameter, since using the * character will also include the compressed files. I pipe the output to the base64 decoder and get a flag.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cat x0? | base64 -d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Tools===&lt;br /&gt;
*unzip&lt;br /&gt;
*gunzip&lt;br /&gt;
*tar&lt;br /&gt;
*cat&lt;br /&gt;
*base64&lt;br /&gt;
===Flag===&lt;br /&gt;
&amp;lt;code&amp;gt;ctf-tech{c4c92cc6-6439}&amp;lt;/code&amp;gt;&lt;br /&gt;
===Links===&lt;br /&gt;
*[[CTF Challenges | Back to CTF Challenges page]]&lt;/div&gt;</summary>
		<author><name>Exf</name></author>
	</entry>
</feed>