<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by S.P. on Medium]]></title>
        <description><![CDATA[Stories by S.P. on Medium]]></description>
        <link>https://medium.com/@secttp?source=rss-a3780871cd80------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mQuGI8WcfnlhWK41qDa3OA.png</url>
            <title>Stories by S.P. on Medium</title>
            <link>https://medium.com/@secttp?source=rss-a3780871cd80------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 15:38:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@secttp/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[OverTheWire: Krypton Level 2]]></title>
            <link>https://medium.com/secttp/overthewire-krypton-level-2-ba52015667d6?source=rss-a3780871cd80------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba52015667d6</guid>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[caesar-cipher]]></category>
            <category><![CDATA[overthewire]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[S.P.]]></dc:creator>
            <pubDate>Fri, 05 Apr 2019 14:27:03 GMT</pubDate>
            <atom:updated>2019-04-05T14:27:03.691Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*4RezmNBsqmK3NPA5nhjulg.png" /></figure><blockquote><a href="http://overthewire.org/wargames/krypton/krypton2.html">http://overthewire.org/wargames/krypton/krypton2.html</a></blockquote><h3><strong>Level Info</strong></h3><p>ROT13 is a simple substitution cipher.</p><p>Substitution ciphers are a simple replacement algorithm. In this example of a substitution cipher, we will explore a ‘monoalphebetic’ cipher. Monoalphebetic means, literally, “one alphabet” and you will see why.</p><p>This level contains an old form of cipher called a ‘Caesar Cipher’. A Caesar cipher shifts the alphabet by a set number. For example:</p><pre>plain:  a b c d e f g h i j k ...<br>cipher: G H I J K L M N O P Q ...</pre><p>In this example, the letter ‘a’ in plaintext is replaced by a ‘G’ in the ciphertext so, for example, the plaintext ‘bad’ becomes ‘HGJ’ in ciphertext.</p><p>The password for level 3 is in the file krypton3. It is in 5 letter group ciphertext. It is encrypted with a Caesar Cipher. Without any further information, this cipher text may be difficult to break. You do not have direct access to the key, however you do have access to a program that will encrypt anything you wish to give it using the key. If you think logically, this is completely easy.</p><p>One shot can solve it!</p><p>Have fun.</p><h3><strong>Additional Information:</strong></h3><p>The encrypt binary will look for the keyfile in your current working directory. Therefore, it might be best to create a working direcory in /tmp and in there a link to the keyfile. As the encrypt binary runs setuid krypton3, you also need to give krypton3 access to your working directory.</p><p>Here is an example:</p><pre>krypton2@melinda:~$ mktemp -d<br>/tmp/tmp.Wf2OnCpCDQ<br>krypton2@melinda:~$ cd /tmp/tmp.Wf2OnCpCDQ<br>krypton2@melinda:/tmp/tmp.Wf2OnCpCDQ$ ln -s /krypton/krypton2/keyfile.dat<br>krypton2@melinda:/tmp/tmp.Wf2OnCpCDQ$ ls<br>keyfile.dat<br>krypton2@melinda:/tmp/tmp.Wf2OnCpCDQ$ chmod 777 .<br>krypton2@melinda:/tmp/tmp.Wf2OnCpCDQ$ /krypton/krypton2/encrypt /etc/issue<br>krypton2@melinda:/tmp/tmp.Wf2OnCpCDQ$ ls<br>ciphertext  keyfile.dat</pre><h3><strong>Solution</strong></h3><p>Use the following information to login the server.</p><ul><li><strong>Username: </strong>krypton2</li><li><strong>Password:</strong> ROTTEN</li><li><strong>Host: </strong>krypton.labs.overthewire.org</li><li><strong>Port: </strong>2222</li></ul><pre>$ ssh <a href="/service/mailto:krypton2@krypton.labs.overthewire.org">krypton2@krypton.labs.overthewire.org</a> -p 2222<br> _                     _<br>| | ___ __ _   _ _ __ | |_ ___  _ __<br>| |/ / &#39;__| | | | &#39;_ \| __/ _ \| &#39;_ \<br>|   &lt;| |  | |_| | |_) | || (_) | | | |<br>|_|\_\_|   \__, | .__/ \__\___/|_| |_|<br>           |___/|_|<br>a <a href="http://www.overthewire.org/">http://www.overthewire.org</a> wargame.</pre><pre><a href="/service/mailto:krypton2@krypton.labs.overthewire.org">krypton2@krypton.labs.overthewire.org</a>&#39;s password:<br>ROTTEN</pre><p>Just like the previous level, we move to the directory <strong>/krypton/krypton2</strong> immediately to see how we can start from there.</p><pre>krypton2@krypton:~$ cd /krypton/krypton2<br>krypton2@krypton:/krypton/krypton2$ ls<br>README  encrypt  keyfile.dat  krypton3<br>krypton2@krypton:/krypton/krypton2$ ls -al<br>total 32<br>drwxr-xr-x 2 root     root     4096 Apr  1 04:20 .<br>drwxr-xr-x 8 root     root     4096 Apr  1 04:20 ..<br>-rw-r----- 1 krypton2 krypton2 1815 Apr  1 04:20 README<br>-rwsr-x--- 1 krypton3 krypton2 9010 Apr  1 04:20 encrypt<br>-rw-r----- 1 krypton3 krypton3   27 Apr  1 04:20 keyfile.dat<br>-rw-r----- 1 krypton2 krypton2   13 Apr  1 04:20 krypton3</pre><p>Check out the <strong>README</strong> file. It’s the same content with what we get from the webpage.</p><pre>krypton2@krypton:/krypton/krypton2$ cat README<br>Krypton 2</pre><pre>ROT13 is a simple substitution cipher.</pre><pre>Substitution ciphers are a simple replacement algorithm.  In this example<br>of a substitution cipher, we will explore a &#39;monoalphebetic&#39; cipher.<br>Monoalphebetic means, literally, &quot;one alphabet&quot; and you will see why.<br>...</pre><p>The password for level 3 is in the file krypton3, let’s check it out first.</p><pre>krypton2@krypton:/krypton/krypton2$ cat krypton3<br><strong>OMQEMDUEQMEK</strong></pre><p>Even we can read the ciphertext, we still don’t know which rotation has been used to encrypt the plaintext, i.e., ROT1, ROT2, …, ROT25. Therefore, we need to do a test to find out which rotation is used for encryption.</p><p>Let’s follow the instructions to create a temporary directory and check out the encryption result from the program.</p><pre>krypton2@krypton:/krypton/krypton2$ mktemp -d<br>/tmp/tmp.N7xrgnv6Od<br>krypton2@krypton:/krypton/krypton2$ cd /tmp/tmp.N7xrgnv6Od<br>krypton2@krypton:/tmp/tmp.N7xrgnv6Od$ ln -s /krypton/krypton2/keyfile.dat<br>krypton2@krypton:/tmp/tmp.N7xrgnv6Od$ ls<br>keyfile.dat<br>krypton2@krypton:/tmp/tmp.N7xrgnv6Od$ chmod 777 .<br>krypton2@krypton:/tmp/tmp.N7xrgnv6Od$ /krypton/krypton2/encrypt /etc/issue<br>krypton2@krypton:/tmp/tmp.N7xrgnv6Od$ ls<br>ciphertext  keyfile.dat</pre><p>The ciphertext file stores the encryption result from the content of /etc/issue. So, we may figure out the rotation from comparing these two files.</p><pre>krypton2@krypton:/tmp/tmp.N7xrgnv6Od$ cat /etc/issue<br>Ubuntu 14.04.5 LTS \n \l</pre><pre>krypton2@krypton:/tmp/tmp.N7xrgnv6Od$ cat ciphertext<br>GNGZFGXFEZXkrypton2@krypton:/tmp/tmp.N7xrgnv6Od$<br>krypton2@krypton:/tmp/tmp.N7xrgnv6Od$</pre><p>From the first six alphabets, we got the following mapping relationship:</p><pre>plain:  U b u n t u ...<br>cipher: G N G Z F G ...</pre><p>Okay, it’s time to recover the password.</p><pre>krypton2@krypton:/tmp/tmp.N7xrgnv6Od$ cat /krypton/krypton2/krypton3 | tr a-zA-Z o-za-nO-ZA-N<br><strong>CAESARISEASY</strong></pre><p>Got it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba52015667d6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secttp/overthewire-krypton-level-2-ba52015667d6">OverTheWire: Krypton Level 2</a> was originally published in <a href="https://medium.com/secttp">SecTTP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OverTheWire: Krypton Level 1]]></title>
            <link>https://medium.com/secttp/overthewire-krypton-level-1-42505a85ffb1?source=rss-a3780871cd80------2</link>
            <guid isPermaLink="false">https://medium.com/p/42505a85ffb1</guid>
            <category><![CDATA[rot13]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[overthewire]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[S.P.]]></dc:creator>
            <pubDate>Tue, 02 Apr 2019 06:52:14 GMT</pubDate>
            <atom:updated>2019-04-05T13:10:53.735Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*4RezmNBsqmK3NPA5nhjulg.png" /></figure><blockquote><a href="http://overthewire.org/wargames/krypton/krypton1.html">http://overthewire.org/wargames/krypton/krypton1.html</a></blockquote><h3><strong>Level Info</strong></h3><p>The password for level 2 is in the file ‘krypton2’. It is ‘encrypted’ using a simple rotation. It is also in non-standard ciphertext format. When using alpha characters for cipher text it is normal to group the letters into 5 letter clusters, regardless of word boundaries. This helps obfuscate any patterns. This file has kept the plain text word boundaries and carried them to the cipher text. Enjoy!</p><h3><strong>Solution</strong></h3><p>Use the following information to login the server.</p><ul><li><strong>Username: </strong>krypton1</li><li><strong>Password:</strong> KRYPTONISGREAT</li><li><strong>Host: </strong>krypton.labs.overthewire.org</li><li><strong>Port: </strong>2222</li></ul><pre>$ ssh <a href="/service/mailto:krypton1@krypton.labs.overthewire.org">krypton1@krypton.labs.overthewire.org</a> -p 2222<br> _                     _<br>| | ___ __ _   _ _ __ | |_ ___  _ __<br>| |/ / &#39;__| | | | &#39;_ \| __/ _ \| &#39;_ \<br>|   &lt;| |  | |_| | |_) | || (_) | | | |<br>|_|\_\_|   \__, | .__/ \__\___/|_| |_|<br>           |___/|_|<br>a <a href="http://www.overthewire.org/">http://www.overthewire.org</a> wargame.</pre><pre><a href="/service/mailto:krypton1@krypton.labs.overthewire.org">krypton1@krypton.labs.overthewire.org</a>&#39;s password:<br>KRYPTONISGREAT</pre><p>First, we need to find out where the ‘krypton2’ file is located.</p><pre>krypton1@krypton:~$ ls<br>krypton1@krypton:~$ ls /<br>README.txt  boot  dev  home     lib    lib64   media   opt   root  sbin        sys   usr  bin      d      etc     krypton lib32 libx32  mnt         proc  run  srv      tmp    var<br>krypton1@krypton:~$ cd /krypton/<br>krypton1@krypton:/krypton$ ls<br>krypton1  krypton2  krypton3  krypton4  krypton5  krypton6<br>krypton1@krypton:/krypton$ cd krypton1<br>krypton1@krypton:/krypton/krypton1$ ls<br>README  <strong>krypton2<br></strong>krypton1@krypton:/krypton/krypton1$ cat krypton2<br>YRIRY GJB CNFFJBEQ EBGGRA</pre><p>Check out the <strong>README</strong> file.</p><pre>krypton1@krypton:/krypton/krypton1$ cat <strong>README</strong><br>Welcome to Krypton!</pre><pre>This game is intended to give hands on experience with cryptography<br>and cryptanalysis.  The levels progress from classic ciphers, to modern, easy to harder.</pre><pre>Although there are excellent public tools, like cryptool,to perform<br>the simple analysis, we strongly encourage you to try and do these<br>without them for now.  We will use them in later excercises.</pre><pre>** Please try these levels without cryptool first **</pre><pre>The first level is easy.  The password for level 2 is in the file<br>&#39;krypton2&#39;.  It is &#39;encrypted&#39; using a simple rotation called <strong>ROT13</strong>.<br>It is also in non-standard ciphertext format.  When using alpha characters for cipher text it is normal to group the letters into 5 letter clusters, regardless of word boundaries.  This helps obfuscate any patterns.</pre><pre>This file has kept the plain text word boundaries and carried them to the cipher text.</pre><pre>Enjoy!<br>krypton1@krypton:/krypton/krypton1$</pre><p>Now, we know that the cipher text is stored in krypton2 file and encrypted using a simple rotation called ROT13.</p><p>Let’s decrypt it.</p><pre>krypton1@krypton:/krypton/krypton1$ alias rot13=&#39;tr a-zA-Z n-za-mN-ZA-M&#39;<br>krypton1@krypton:/krypton/krypton1$ cat krypton2 | rot13<br><strong>LEVEL TWO PASSWORD ROTTEN</strong></pre><p>Got it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42505a85ffb1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secttp/overthewire-krypton-level-1-42505a85ffb1">OverTheWire: Krypton Level 1</a> was originally published in <a href="https://medium.com/secttp">SecTTP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OverTheWire: Krypton Level 0]]></title>
            <link>https://medium.com/secttp/overthewire-krypton-level-0-8de99e23f50c?source=rss-a3780871cd80------2</link>
            <guid isPermaLink="false">https://medium.com/p/8de99e23f50c</guid>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[base64]]></category>
            <category><![CDATA[overthewire]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[S.P.]]></dc:creator>
            <pubDate>Fri, 29 Mar 2019 03:10:30 GMT</pubDate>
            <atom:updated>2019-03-29T03:12:38.497Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*4RezmNBsqmK3NPA5nhjulg.png" /></figure><blockquote><a href="http://overthewire.org/wargames/krypton/krypton0.html">http://overthewire.org/wargames/krypton/krypton0.html</a></blockquote><h3><strong>Level Info</strong></h3><p>Welcome to Krypton! The first level is easy. The following string encodes the password using Base64:</p><p><strong>S1JZUFRPTklTR1JFQVQ=</strong></p><p>Use this password to log in to krypton.labs.overthewire.org with username krypton1 using SSH on port 2222. You can find the files for other levels in /krypton/</p><h3><strong>Solution</strong></h3><p>From the level information, we have the password which is encoded via Base64. We can use base64 -D to decode the password into plaintext.</p><pre>$ echo &quot;S1JZUFRPTklTR1JFQVQ=&quot; | base64 -D<br>KRYPTONISGREAT</pre><p>Afterward, use the following information to login the server.</p><ul><li><strong>Username: </strong>krypton1</li><li><strong>Password:</strong> KRYPTONISGREAT</li><li><strong>Host: </strong>krypton.labs.overthewire.org</li><li><strong>Port: </strong>2222</li></ul><p>Done!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8de99e23f50c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secttp/overthewire-krypton-level-0-8de99e23f50c">OverTheWire: Krypton Level 0</a> was originally published in <a href="https://medium.com/secttp">SecTTP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OverTheWire: Bandit Level 33]]></title>
            <link>https://medium.com/secttp/overthewire-bandit-level-33-a334c1f38e32?source=rss-a3780871cd80------2</link>
            <guid isPermaLink="false">https://medium.com/p/a334c1f38e32</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[overthewire]]></category>
            <category><![CDATA[command-line]]></category>
            <dc:creator><![CDATA[S.P.]]></dc:creator>
            <pubDate>Thu, 28 Mar 2019 13:53:17 GMT</pubDate>
            <atom:updated>2019-03-28T13:53:17.921Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*4RezmNBsqmK3NPA5nhjulg.png" /></figure><blockquote><a href="http://overthewire.org/wargames/bandit/bandit34.html">http://overthewire.org/wargames/bandit/bandit34.html</a></blockquote><p><strong>Level Goal</strong></p><p>At this moment, level 34 does not exist yet.</p><p>Use ssh to login the server with the following information.</p><ul><li>Username: bandit33</li><li>Password: c9c3199ddf4121b10cf581a98d51caee</li><li>Host: bandit.labs.overthewire.org</li><li>Port: 2220</li></ul><pre>$ ssh <a href="/service/mailto:bandit33@bandit.labs.overthewire.org">bandit33@bandit.labs.overthewire.org</a> -p 2220<br><em>This is a OverTheWire game server. More information on </em><a href="http://www.overthewire.org/wargames"><em>http://www.overthewire.org/wargames</em></a></pre><pre><a href="/service/mailto:bandit33@bandit.labs.overthewire.org">bandit33@bandit.labs.overthewire.org</a>&#39;s password:<br><em>c9c3199ddf4121b10cf581a98d51caee</em></pre><p>Let’s find the password for the next level.</p><pre>bandit33@bandit:~$ ls<br>README.txt<br>bandit33@bandit:~$ cat README.txt<br>Congratulations on solving the last level of this game!</pre><pre>At this moment, there are no more levels to play in this game. However, we are constantly working on new levels and will most likely expand this game with more levels soon.<br>Keep an eye out for an announcement on our usual communication channels! In the meantime, you could play some of our other wargames.</pre><pre>If you have an idea for an awesome new level, please let us know!</pre><p>Got it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a334c1f38e32" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secttp/overthewire-bandit-level-33-a334c1f38e32">OverTheWire: Bandit Level 33</a> was originally published in <a href="https://medium.com/secttp">SecTTP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OverTheWire: Bandit Level 32]]></title>
            <link>https://medium.com/secttp/overthewire-bandit-level-31-e3b82064285a?source=rss-a3780871cd80------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3b82064285a</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[overthewire]]></category>
            <dc:creator><![CDATA[S.P.]]></dc:creator>
            <pubDate>Thu, 28 Mar 2019 13:47:02 GMT</pubDate>
            <atom:updated>2019-03-28T13:48:24.734Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*4RezmNBsqmK3NPA5nhjulg.png" /></figure><blockquote><a href="http://overthewire.org/wargames/bandit/bandit33.html">http://overthewire.org/wargames/bandit/bandit33.html</a></blockquote><p><strong>Level Goal</strong></p><p>After all this git stuff its time for another escape. Good luck!</p><p>Use ssh to login the server with the following information.</p><ul><li>Username: bandit32</li><li>Password: 56a9bf19c63d650ce78e6ec0354ee45e</li><li>Host: bandit.labs.overthewire.org</li><li>Port: 2220</li></ul><pre>$ ssh <a href="/service/mailto:bandit32@bandit.labs.overthewire.org">bandit32@bandit.labs.overthewire.org</a> -p 2220<br><em>This is a OverTheWire game server. More information on </em><a href="http://www.overthewire.org/wargames"><em>http://www.overthewire.org/wargames</em></a></pre><pre><a href="/service/mailto:bandit32@bandit.labs.overthewire.org">bandit32@bandit.labs.overthewire.org</a>&#39;s password:<br><em>56a9bf19c63d650ce78e6ec0354ee45e</em></pre><p>Let’s find the password for the next level.</p><pre>WELCOME TO THE UPPERCASE SHELL<br>&gt;&gt; ls<br>sh: 1: LS: not found<br>&gt;&gt; LS<br>sh: 1: LS: not found</pre><p>The shell converts every command into uppercase. We need to fix it and gain the normal shell again. Since this is an interactive shell, we have the chance to execute it again using the variable $0 .</p><pre>&gt;&gt; $0</pre><pre>$ pwd<br>/home/bandit32<br>$ ls -al *<br>-rwsr-x--- 1 bandit33 bandit32 7556 Oct 16 14:00 uppershell<br>$ cat /etc/bandit_pass/bandit33<br><strong>c9c3199ddf4121b10cf581a98d51caee</strong></pre><p>Got it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3b82064285a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secttp/overthewire-bandit-level-31-e3b82064285a">OverTheWire: Bandit Level 32</a> was originally published in <a href="https://medium.com/secttp">SecTTP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OverTheWire: Bandit Level 31]]></title>
            <link>https://medium.com/secttp/overthewire-bandit-level-31-ac8ae3c0b41b?source=rss-a3780871cd80------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac8ae3c0b41b</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[overthewire]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[S.P.]]></dc:creator>
            <pubDate>Thu, 28 Mar 2019 10:58:15 GMT</pubDate>
            <atom:updated>2019-03-28T10:58:15.537Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*4RezmNBsqmK3NPA5nhjulg.png" /></figure><blockquote><a href="http://overthewire.org/wargames/bandit/bandit32.html">http://overthewire.org/wargames/bandit/bandit32.html</a></blockquote><p><strong>Level Goal</strong></p><p>There is a git repository at ssh://bandit31-git@localhost/home/bandit31-git/repo. The password for the user bandit31-git is the same as for the user bandit31.</p><p>Clone the repository and find the password for the next level.</p><p>Use ssh to login the server with the following information.</p><ul><li>Username: bandit31</li><li>Password: 47e603bb428404d265f59c42920d81e5</li><li>Host: bandit.labs.overthewire.org</li><li>Port: 2220</li></ul><pre>$ ssh <a href="/service/mailto:bandit31@bandit.labs.overthewire.org">bandit31@bandit.labs.overthewire.org</a> -p 2220<br><em>This is a OverTheWire game server. More information on </em><a href="http://www.overthewire.org/wargames"><em>http://www.overthewire.org/wargames</em></a></pre><pre><a href="/service/mailto:bandit31@bandit.labs.overthewire.org">bandit31@bandit.labs.overthewire.org</a>&#39;s password:<br><em>47e603bb428404d265f59c42920d81e5</em></pre><p>Let’s find the password for the next level.</p><pre>bandit31@bandit:~$ mkdir -p /tmp/secttp<br>bandit31@bandit:~$ cd /tmp/sectp<br>bandit31@bandit:/tmp/secttp$ git clone ssh://bandit31-git@localhost/home/bandit31-git/repo<br>Cloning into &#39;repo&#39;...<br>Could not create directory &#39;/home/bandit31/.ssh&#39;.<br>The authenticity of host &#39;localhost (127.0.0.1)&#39; can&#39;t be established.<br>ECDSA key fingerprint is SHA256:98UL0ZWr85496EtCRkKlo20X3OPnyPSB5tB5RPbhczc.<br>Are you sure you want to continue connecting (yes/no)? yes<br>Failed to add the host to the list of known hosts (/home/bandit31/.ssh/known_hosts).<br>This is a OverTheWire game server. More information on <a href="http://www.overthewire.org/wargames">http://www.overthewire.org/wargames</a></pre><pre>bandit31-git@localhost&#39;s password:<br>47e603bb428404d265f59c42920d81e5</pre><pre>remote: Counting objects: 4, done.<br>remote: Compressing objects: 100% (3/3), done.<br>remote: Total 4 (delta 0), reused 0 (delta 0)<br>Receiving objects: 100% (4/4), done.</pre><p>Let us check the README file first.</p><pre>bandit31@bandit:/tmp/secttp$ cd repo/<br>bandit31@bandit:/tmp/secttp/repo$ ls<br>README.md<br>bandit31@bandit:/tmp/secttp/repo$ cat README.md<br>This time your task is to push a file to the remote repository.</pre><pre>Details:<br>    File name: key.txt<br>    Content: &#39;May I come in?&#39;<br>    Branch: master</pre><pre>bandit31@bandit:/tmp/secttp/repo$</pre><p>Hmm, it seems like we need to follow the instruction to push a file to the remote repository this time. Let’s do it.</p><pre>bandit31@bandit:/tmp/secttp/repo$ git branch<br>* master<br>bandit31@bandit:/tmp/secttp/repo$ touch key.txt<br>bandit31@bandit:/tmp/secttp/repo$ echo &quot;May I come in?&quot; &gt; key.txt</pre><pre>bandit31@bandit:/tmp/secttp/repo$ git add key.txt<br>The following paths are ignored by one of your .gitignore files:<br>key.txt<br>Use -f if you really want to add them.<br>bandit31@bandit:/tmp/secttp/repo$ ls -al<br>total 24<br>drwxr-sr-x 3 bandit31 root 4096 Mar 28 11:43 .<br>drwxr-sr-x 3 bandit31 root 4096 Mar 28 11:40 ..<br>drwxr-sr-x 8 bandit31 root 4096 Mar 28 11:45 .git<br>-rw-r--r-- 1 bandit31 root    6 Mar 28 11:40 .gitignore<br>-rw-r--r-- 1 bandit31 root   15 Mar 28 11:44 key.txt<br>-rw-r--r-- 1 bandit31 root  147 Mar 28 11:40 README.md<br>bandit31@bandit:/tmp/secttp/repo$ cat .gitignore<br>*.txt</pre><p>Oh~my! The .gitignore file specified intentionally untracked files to ignore. We can remove the .gitignore file first then push the file to the repository again.</p><pre>bandit31@bandit:/tmp/secttp/repo$ rm .gitignore<br>bandit31@bandit:/tmp/secttp/repo$ git add key.txt<br>bandit31@bandit:/tmp/secttp/repo$ git commit -m &quot;Upload a file&quot;<br>[master 45b1ec4] Upload a file<br> 1 file changed, 1 insertion(+)<br> create mode 100644 key.txt</pre><pre>bandit31@bandit:/tmp/secttp/repo$ git push origin master<br>Could not create directory &#39;/home/bandit31/.ssh&#39;.<br>The authenticity of host &#39;localhost (127.0.0.1)&#39; can&#39;t be established.<br>ECDSA key fingerprint is SHA256:98UL0ZWr85496EtCRkKlo20X3OPnyPSB5tB5RPbhczc.<br>Are you sure you want to continue connecting (yes/no)? yes<br>Failed to add the host to the list of known hosts (/home/bandit31/.ssh/known_hosts).<br>This is a OverTheWire game server. More information on <a href="http://www.overthewire.org/wargames">http://www.overthewire.org/wargames</a></pre><pre>bandit31-git@localhost&#39;s password:<br>47e603bb428404d265f59c42920d81e5</pre><pre>Counting objects: 3, done.<br>Delta compression using up to 4 threads.<br>Compressing objects: 100% (2/2), done.<br>Writing objects: 100% (3/3), 324 bytes | 0 bytes/s, done.<br>Total 3 (delta 0), reused 0 (delta 0)<br>remote: ### Attempting to validate files... ####<br>remote:<br>remote: .oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.<br>remote:<br>remote: Well done! Here is the password for the next level:<br>remote: <strong>56a9bf19c63d650ce78e6ec0354ee45e</strong><br>remote:<br>remote: .oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.<br>remote:<br>To ssh://localhost/home/bandit31-git/repo<br> ! [remote rejected] master -&gt; master (pre-receive hook declined)<br>error: failed to push some refs to &#39;ssh://bandit31-git@localhost/home/bandit31-git/repo&#39;<br>bandit31@bandit:/tmp/secttp/repo$</pre><p>Got it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac8ae3c0b41b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secttp/overthewire-bandit-level-31-ac8ae3c0b41b">OverTheWire: Bandit Level 31</a> was originally published in <a href="https://medium.com/secttp">SecTTP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OverTheWire: Bandit Level 30]]></title>
            <link>https://medium.com/secttp/overthewire-bandit-level-30-7ee3996ce583?source=rss-a3780871cd80------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ee3996ce583</guid>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[overthewire]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[S.P.]]></dc:creator>
            <pubDate>Thu, 28 Mar 2019 10:30:42 GMT</pubDate>
            <atom:updated>2019-03-28T10:30:42.921Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*4RezmNBsqmK3NPA5nhjulg.png" /></figure><blockquote><a href="http://overthewire.org/wargames/bandit/bandit31.html">http://overthewire.org/wargames/bandit/bandit31.html</a></blockquote><p><strong>Level Goal</strong></p><p>There is a git repository at ssh://bandit30-git@localhost/home/bandit30-git/repo. The password for the user bandit30-git is the same as for the user bandit30.</p><p>Clone the repository and find the password for the next level.</p><p>Use ssh to login the server with the following information.</p><ul><li>Username: bandit30</li><li>Password: 5b90576bedb2cc04c86a9e924ce42faf</li><li>Host: bandit.labs.overthewire.org</li><li>Port: 2220</li></ul><pre>$ ssh <a href="/service/mailto:bandit30@bandit.labs.overthewire.org">bandit30@bandit.labs.overthewire.org</a> -p 2220<br><em>This is a OverTheWire game server. More information on </em><a href="http://www.overthewire.org/wargames"><em>http://www.overthewire.org/wargames</em></a></pre><pre><a href="/service/mailto:bandit30@bandit.labs.overthewire.org">bandit30@bandit.labs.overthewire.org</a>&#39;s password:<br><em>5b90576bedb2cc04c86a9e924ce42faf</em></pre><p>Let’s find the password for the next level.</p><pre>bandit30@bandit:~$ mkdir -p /tmp/secttp<br>bandit30@bandit:~$ cd /tmp/secttp<br>bandit30@bandit:/tmp/secttp$ git clone ssh://bandit30-git@localhost/home/bandit30-git/repo<br>Cloning into &#39;repo&#39;...<br>Could not create directory &#39;/home/bandit30/.ssh&#39;.<br>The authenticity of host &#39;localhost (127.0.0.1)&#39; can&#39;t be established.<br>ECDSA key fingerprint is SHA256:98UL0ZWr85496EtCRkKlo20X3OPnyPSB5tB5RPbhczc.<br>Are you sure you want to continue connecting (yes/no)? yes<br>Failed to add the host to the list of known hosts (/home/bandit30/.ssh/known_hosts).<br>This is a OverTheWire game server. More information on <a href="http://www.overthewire.org/wargames">http://www.overthewire.org/wargames</a></pre><pre>bandit30-git@localhost&#39;s password:<br>5b90576bedb2cc04c86a9e924ce42faf</pre><pre>remote: Counting objects: 4, done.<br>remote: Total 4 (delta 0), reused 0 (delta 0)<br>Receiving objects: 100% (4/4), done.<br>bandit30@bandit:/tmp/secttp$ cd repo/<br>bandit30@bandit:/tmp/secttp/repo$</pre><p>After checking the branches and commit history, there’s no password in previous commits or branches here.</p><pre>bandit30@bandit:/tmp/secttp/repo$ cat README.md<br>just an epmty file... muahaha<br>bandit30@bandit:/tmp/secttp/repo$ git log -p<br>commit 3aa4c239f729b07deb99a52f125893e162daac9e<br>Author: Ben Dover &lt;<a href="/service/mailto:noone@overthewire.org">noone@overthewire.org</a>&gt;<br>Date:   Tue Oct 16 14:00:44 2018 +0200</pre><pre>initial commit of README.md</pre><pre>diff --git a/README.md b/README.md<br>new file mode 100644<br>index 0000000..029ba42<br>--- /dev/null<br>+++ b/README.md<br>@@ -0,0 +1 @@<br>+just an epmty file... muahaha<br>bandit30@bandit:/tmp/secttp/repo$ git branch -r<br>  origin/HEAD -&gt; origin/master<br>  origin/master</pre><p>How about git tagging ? Git has the ability to tag specific points in a repository’s history as being important.</p><pre>bandit30@bandit:/tmp/secttp/repo$ git tag<br>secret<br>bandit30@bandit:/tmp/secttp/repo$ git show secret<br><strong>47e603bb428404d265f59c42920d81e5</strong></pre><p>Got it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ee3996ce583" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secttp/overthewire-bandit-level-30-7ee3996ce583">OverTheWire: Bandit Level 30</a> was originally published in <a href="https://medium.com/secttp">SecTTP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OverTheWire: Bandit Level 29]]></title>
            <link>https://medium.com/secttp/overthewire-bandit-level-29-9f2ee436c057?source=rss-a3780871cd80------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f2ee436c057</guid>
            <category><![CDATA[overthewire]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[S.P.]]></dc:creator>
            <pubDate>Thu, 28 Mar 2019 08:20:27 GMT</pubDate>
            <atom:updated>2019-03-28T08:20:27.273Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*4RezmNBsqmK3NPA5nhjulg.png" /></figure><blockquote><a href="http://overthewire.org/wargames/bandit/bandit30.html">http://overthewire.org/wargames/bandit/bandit30.html</a></blockquote><p><strong>Level Goal</strong></p><p>There is a git repository at ssh://bandit29-git@localhost/home/bandit29-git/repo. The password for the user bandit29-git is the same as for the user bandit29.</p><p>Clone the repository and find the password for the next level.</p><p>Use ssh to login the server with the following information.</p><ul><li>Username: bandit29</li><li>Password: bbc96594b4e001778eee9975372716b2</li><li>Host: bandit.labs.overthewire.org</li><li>Port: 2220</li></ul><pre>$ ssh <a href="/service/mailto:bandit29@bandit.labs.overthewire.org">bandit29@bandit.labs.overthewire.org</a> -p 2220<br><em>This is a OverTheWire game server. More information on </em><a href="http://www.overthewire.org/wargames"><em>http://www.overthewire.org/wargames</em></a></pre><pre><a href="/service/mailto:bandit29@bandit.labs.overthewire.org">bandit29@bandit.labs.overthewire.org</a>&#39;s password:<br><em>bbc96594b4e001778eee9975372716b2</em></pre><p>Let’s find the password for the next level.</p><pre>bandit29@bandit:~$ mkdir -p /tmp/secttp<br>bandit29@bandit:~$ cd /tmp/secttp<br>bandit29@bandit:/tmp/secttp$ git clone ssh://bandit29-git@localhost/home/bandit29-git/repo<br>Cloning into &#39;repo&#39;...<br>Could not create directory &#39;/home/bandit29/.ssh&#39;.<br>The authenticity of host &#39;localhost (127.0.0.1)&#39; can&#39;t be established.<br>ECDSA key fingerprint is SHA256:98UL0ZWr85496EtCRkKlo20X3OPnyPSB5tB5RPbhczc.<br>Are you sure you want to continue connecting (yes/no)? yes<br>Failed to add the host to the list of known hosts (/home/bandit29/.ssh/known_hosts).<br>This is a OverTheWire game server. More information on <a href="http://www.overthewire.org/wargames">http://www.overthewire.org/wargames</a></pre><pre>bandit29-git@localhost&#39;s password:<br>bbc96594b4e001778eee9975372716b2</pre><pre>remote: Counting objects: 16, done.<br>remote: Compressing objects: 100% (11/11), done.<br>remote: Total 16 (delta 2), reused 0 (delta 0)<br>Receiving objects: 100% (16/16), done.<br>Resolving deltas: 100% (2/2), done.<br>bandit29@bandit:/tmp/secttp$ cd repo/<br>bandit29@bandit:/tmp/secttp/repo$</pre><p>By default, with no arguments, git log lists the commits made in the repository in reverse chronological order. We usegit log command with -p option to show the diff introduced in each commit.</p><pre>bandit29@bandit:/tmp/secttp/repo$ git log -p<br>commit 84abedc104bbc0c65cb9eb74eb1d3057753e70f8<br>Author: Ben Dover &lt;<a href="/service/mailto:noone@overthewire.org">noone@overthewire.org</a>&gt;<br>Date:   Tue Oct 16 14:00:41 2018 +0200</pre><pre>fix username</pre><pre>diff --git a/README.md b/README.md<br>index 2da2f39..1af21d3 100644<br>--- a/README.md<br>+++ b/README.md<br>@@ -3,6 +3,6 @@ Some notes for bandit30 of bandit.</pre><pre>## credentials</pre><pre>-- username: bandit29<br>+- username: bandit30<br> - password: <strong>&lt;no passwords in production!&gt;</strong></pre><pre>commit 9b19e7d8c1aadf4edcc5b15ba8107329ad6c5650<br>Author: Ben Dover &lt;<a href="/service/mailto:noone@overthewire.org">noone@overthewire.org</a>&gt;<br>Date:   Tue Oct 16 14:00:41 2018 +0200</pre><pre>initial commit of README.md</pre><pre>diff --git a/README.md b/README.md<br>new file mode 100644<br>index 0000000..2da2f39<br>--- /dev/null<br>+++ b/README.md<br>@@ -0,0 +1,8 @@<br>+# Bandit Notes<br>+Some notes for bandit30 of bandit.<br>+<br>+## credentials<br>+<br>+- username: bandit29<br>+- password: <strong>&lt;no passwords in production!&gt;</strong><br>+</pre><p>The message shows us “no passwords in production”. Therefore we have to see whether there are different branches of this repository.</p><pre>bandit29@bandit:/tmp/secttp/repo$ git branch<br>* master<br>bandit29@bandit:/tmp/secttp/repo$ git branch -r<br>  origin/HEAD -&gt; origin/master<br>  origin/dev<br>  origin/master<br>  origin/sploits-dev<br>bandit29@bandit:/tmp/secttp/repo$ git checkout dev<br>Branch dev set up to track remote branch dev from origin.<br>Switched to a new branch &#39;dev&#39;<br>bandit29@bandit:/tmp/secttp/repo$ git branch<br><strong>* dev</strong><br>  master</pre><p>After checking out to the dev branch, we still use git log to check the difference between each commit.</p><pre>bandit29@bandit:/tmp/secttp/repo$ git log -p -1<br>commit 33ce2e95d9c5d6fb0a40e5ee9a2926903646b4e3<br>Author: Morla Porla &lt;<a href="/service/mailto:morla@overthewire.org">morla@overthewire.org</a>&gt;<br>Date:   Tue Oct 16 14:00:41 2018 +0200</pre><pre>add data needed for development</pre><pre>diff --git a/README.md b/README.md<br>index 1af21d3..39b87a8 100644<br>--- a/README.md<br>+++ b/README.md<br>@@ -4,5 +4,5 @@ Some notes for bandit30 of bandit.<br> ## credentials</pre><pre>- username: bandit30<br>-- password: &lt;no passwords in production!&gt;<br>+- password: <strong>5b90576bedb2cc04c86a9e924ce42faf</strong></pre><p>Got it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f2ee436c057" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secttp/overthewire-bandit-level-29-9f2ee436c057">OverTheWire: Bandit Level 29</a> was originally published in <a href="https://medium.com/secttp">SecTTP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OverTheWire: Bandit Level 28]]></title>
            <link>https://medium.com/secttp/overthewire-bandit-level-28-2a5453c6e76c?source=rss-a3780871cd80------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a5453c6e76c</guid>
            <category><![CDATA[overthewire]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[command-line]]></category>
            <dc:creator><![CDATA[S.P.]]></dc:creator>
            <pubDate>Wed, 27 Mar 2019 15:17:41 GMT</pubDate>
            <atom:updated>2019-03-27T15:17:41.380Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*4RezmNBsqmK3NPA5nhjulg.png" /></figure><blockquote><a href="http://overthewire.org/wargames/bandit/bandit29.html">http://overthewire.org/wargames/bandit/bandit29.html</a></blockquote><p><strong>Level Goal</strong></p><p>There is a git repository at ssh://bandit28-git@localhost/home/bandit28-git/repo. The password for the user bandit28-git is the same as for the user bandit28.</p><p>Clone the repository and find the password for the next level.</p><p>Use ssh to login the server with the following information.</p><ul><li>Username: bandit28</li><li>Password: 0ef186ac70e04ea33b4c1853d2526fa2</li><li>Host: bandit.labs.overthewire.org</li><li>Port: 2220</li></ul><pre>$ ssh <a href="/service/mailto:bandit28@bandit.labs.overthewire.org">bandit28@bandit.labs.overthewire.org</a> -p 2220<br><em>This is a OverTheWire game server. More information on </em><a href="http://www.overthewire.org/wargames"><em>http://www.overthewire.org/wargames</em></a></pre><pre><a href="/service/mailto:bandit28@bandit.labs.overthewire.org">bandit28@bandit.labs.overthewire.org</a>&#39;s password:<br><em>0ef186ac70e04ea33b4c1853d2526fa2</em></pre><p>Let’s find the password for the next level.</p><pre>bandit28@bandit:~$ mkdir -p /tmp/secttp<br>bandit28@bandit:~$ cd /tmp/secttp</pre><pre>bandit28@bandit:/tmp/secttp$ git clone ssh://bandit28-git@localhost/home/bandit28-git/repo<br>Cloning into &#39;repo&#39;...<br>Could not create directory &#39;/home/bandit28/.ssh&#39;.<br>The authenticity of host &#39;localhost (127.0.0.1)&#39; can&#39;t be established.<br>ECDSA key fingerprint is SHA256:98UL0ZWr85496EtCRkKlo20X3OPnyPSB5tB5RPbhczc.<br>Are you sure you want to continue connecting (yes/no)? yes<br>Failed to add the host to the list of known hosts (/home/bandit28/.ssh/known_hosts).<br>This is a OverTheWire game server. More information on <a href="http://www.overthewire.org/wargames">http://www.overthewire.org/wargames</a></pre><pre>bandit28-git@localhost&#39;s password:<br>0ef186ac70e04ea33b4c1853d2526fa2</pre><pre>remote: Counting objects: 9, done.<br>remote: Compressing objects: 100% (6/6), done.<br>remote: Total 9 (delta 2), reused 0 (delta 0)<br>Receiving objects: 100% (9/9), done.<br>Resolving deltas: 100% (2/2), done.</pre><pre>bandit28@bandit:/tmp/secttp$ ls -al repo/<br>total 16<br>drwxr-sr-x 3 bandit28 root 4096 Mar 27 16:02 .<br>drwxr-sr-x 3 bandit28 root 4096 Mar 27 16:02 ..<br>drwxr-sr-x 8 bandit28 root 4096 Mar 27 16:02 .git<br>-rw-r--r-- 1 bandit28 root  111 Mar 27 16:02 README.md<br>bandit28@bandit:/tmp/secttp$ cat repo/README.md<br># Bandit Notes<br>Some notes for level29 of bandit.</pre><pre>## credentials</pre><pre>- username: bandit29<br>- password: xxxxxxxxxx</pre><pre>bandit28@bandit:/tmp/secttp$</pre><p>There’s no password in the README file. Now, we check the committed history of this repo using git log .</p><pre>bandit28@bandit:/tmp/secttp$ cd repo/<br>bandit28@bandit:/tmp/secttp/repo$ git log<br>commit 073c27c130e6ee407e12faad1dd3848a110c4f95<br>Author: Morla Porla &lt;<a href="/service/mailto:morla@overthewire.org">morla@overthewire.org</a>&gt;<br>Date:   Tue Oct 16 14:00:39 2018 +0200</pre><pre><strong>fix info leak</strong></pre><pre>commit 186a1038cc54d1358d42d468cdc8e3cc28a93fcb<br>Author: Morla Porla &lt;<a href="/service/mailto:morla@overthewire.org">morla@overthewire.org</a>&gt;<br>Date:   Tue Oct 16 14:00:39 2018 +0200</pre><pre>add missing data</pre><pre>commit b67405defc6ef44210c53345fc953e6a21338cc7<br>Author: Ben Dover &lt;<a href="/service/mailto:noone@overthewire.org">noone@overthewire.org</a>&gt;<br>Date:   Tue Oct 16 14:00:39 2018 +0200</pre><pre>initial commit of README.md</pre><p>Obviously, the password leakage had been fixed. Use git log command with -p option, which shows the diff introduced in each commit. We can also use -1 option, which limits the output to only the last entry.</p><pre>bandit28@bandit:/tmp/secttp/repo$ git log -p -1<br>commit 073c27c130e6ee407e12faad1dd3848a110c4f95<br>Author: Morla Porla &lt;<a href="/service/mailto:morla@overthewire.org">morla@overthewire.org</a>&gt;<br>Date:   Tue Oct 16 14:00:39 2018 +0200</pre><pre>fix info leak</pre><pre>diff --git a/README.md b/README.md<br>index 3f7cee8..5c6457b 100644<br>--- a/README.md<br>+++ b/README.md<br>@@ -4,5 +4,5 @@ Some notes for level29 of bandit.<br> ## credentials</pre><pre>- username: bandit29<br>-- password: <strong>bbc96594b4e001778eee9975372716b2</strong><br>+- password: xxxxxxxxxx</pre><p>Got it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a5453c6e76c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secttp/overthewire-bandit-level-28-2a5453c6e76c">OverTheWire: Bandit Level 28</a> was originally published in <a href="https://medium.com/secttp">SecTTP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OverTheWire: Bandit Level 27]]></title>
            <link>https://medium.com/secttp/overthewire-bandit-level-27-41b35918d637?source=rss-a3780871cd80------2</link>
            <guid isPermaLink="false">https://medium.com/p/41b35918d637</guid>
            <category><![CDATA[overthewire]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[S.P.]]></dc:creator>
            <pubDate>Wed, 27 Mar 2019 14:58:36 GMT</pubDate>
            <atom:updated>2019-03-27T14:58:36.280Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*4RezmNBsqmK3NPA5nhjulg.png" /></figure><blockquote><a href="http://overthewire.org/wargames/bandit/bandit28.html">http://overthewire.org/wargames/bandit/bandit28.html</a></blockquote><p><strong>Level Goal</strong></p><p>There is a git repository at ssh://bandit27-git@localhost/home/bandit27-git/repo. The password for the user bandit27-git is the same as for the user bandit27.</p><p>Clone the repository and find the password for the next level.</p><p>Use ssh to login the server with the following information.</p><ul><li>Username: bandit27</li><li>Password: 3ba3118a22e93127a4ed485be72ef5ea</li><li>Host: bandit.labs.overthewire.org</li><li>Port: 2220</li></ul><pre>$ ssh <a href="/service/mailto:bandit27@bandit.labs.overthewire.org">bandit27@bandit.labs.overthewire.org</a> -p 2220<br><em>This is a OverTheWire game server. More information on </em><a href="http://www.overthewire.org/wargames"><em>http://www.overthewire.org/wargames</em></a></pre><pre><a href="/service/mailto:bandit27@bandit.labs.overthewire.org">bandit27@bandit.labs.overthewire.org</a>&#39;s password:<br><em>3ba3118a22e93127a4ed485be72ef5ea</em></pre><p>Let’s find the password for the next level.</p><pre>bandit27@bandit:~$ mkdir -p /tmp/secttp<br>bandit27@bandit:~$ cd /tmp/secttp</pre><pre>bandit27@bandit:/tmp/secttp$ git clone ssh://bandit27-git@localhost/home/bandit27-git/repo<br>Cloning into &#39;repo&#39;...<br>Could not create directory &#39;/home/bandit27/.ssh&#39;.<br>The authenticity of host &#39;localhost (127.0.0.1)&#39; can&#39;t be established.<br>ECDSA key fingerprint is SHA256:98UL0ZWr85496EtCRkKlo20X3OPnyPSB5tB5RPbhczc.<br>Are you sure you want to continue connecting (yes/no)? yes<br>Failed to add the host to the list of known hosts (/home/bandit27/.ssh/known_hosts).<br>This is a OverTheWire game server. More information on <a href="http://www.overthewire.org/wargames">http://www.overthewire.org/wargames</a></pre><pre>bandit27-git@localhost&#39;s password:<br>3ba3118a22e93127a4ed485be72ef5ea</pre><pre>remote: Counting objects: 3, done.<br>remote: Compressing objects: 100% (2/2), done.<br>remote: Total 3 (delta 0), reused 0 (delta 0)<br>Receiving objects: 100% (3/3), done.</pre><pre>bandit27@bandit:/tmp/secttp$ ls -al repo<br>total 16<br>drwxr-sr-x 3 bandit27 root 4096 Mar 27 15:55 .<br>drwxr-sr-x 3 bandit27 root 4096 Mar 27 15:55 ..<br>drwxr-sr-x 8 bandit27 root 4096 Mar 27 15:55 .git<br>-rw-r--r-- 1 bandit27 root   68 Mar 27 15:55 README<br>bandit27@bandit:/tmp/secttp$ cat repo/README<br>The password to the next level is: <strong>0ef186ac70e04ea33b4c1853d2526fa2</strong></pre><p>Got it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41b35918d637" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secttp/overthewire-bandit-level-27-41b35918d637">OverTheWire: Bandit Level 27</a> was originally published in <a href="https://medium.com/secttp">SecTTP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>