<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Michael Lee</title>
    <description>The latest articles on DEV Community by Michael Lee (@mjl004).</description>
    <link>https://dev.to/mjl004</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3279740%2Fe57b6d4a-40a9-4ca0-8187-b33bc6a46cd5.png</url>
      <title>DEV Community: Michael Lee</title>
      <link>https://dev.to/mjl004</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mjl004"/>
    <language>en</language>
    <item>
      <title>HackTheSite Basic 9</title>
      <dc:creator>Michael Lee</dc:creator>
      <pubDate>Thu, 10 Jul 2025 11:58:35 +0000</pubDate>
      <link>https://dev.to/mjl004/hackthesite-basic-9-2d4o</link>
      <guid>https://dev.to/mjl004/hackthesite-basic-9-2d4o</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu6cu4pp31fs7c33zeqxt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu6cu4pp31fs7c33zeqxt.png" alt=" " width="800" height="299"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As mentioned from the problem statemnt, Sam has screwd up and we have to go to Basic 8. &lt;/p&gt;

&lt;p&gt;With this we get the directory and the correct php file that directs to the passowrd for Basic 9. &lt;/p&gt;

</description>
      <category>security</category>
      <category>php</category>
      <category>hackathon</category>
    </item>
    <item>
      <title>HackTheSite Basic 8</title>
      <dc:creator>Michael Lee</dc:creator>
      <pubDate>Thu, 03 Jul 2025 11:10:39 +0000</pubDate>
      <link>https://dev.to/mjl004/hackthesite-basic-8-4klf</link>
      <guid>https://dev.to/mjl004/hackthesite-basic-8-4klf</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzd8hedbrc15vrd3hepup.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzd8hedbrc15vrd3hepup.png" alt="Image description" width="800" height="329"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When you enter your name and click submit, you are brought to this page. &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2eva4u42666uz4np3g0y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2eva4u42666uz4np3g0y.png" alt="Image description" width="800" height="111"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When I click to view it, I am taken to a site that is saved using .shtml &lt;br&gt;
This is no the level of directory I want to be in at (tmp). &lt;br&gt;
We can use a clever SSI command: &amp;lt;!--#exec cmd="ls ../"--&amp;gt; which lists all the parent directory. And now we finally have the correct .php file. &lt;/p&gt;

&lt;p&gt;This required a little bit of thinking but was not too difficult. &lt;/p&gt;

</description>
    </item>
    <item>
      <title>HackThisSite Basic 7</title>
      <dc:creator>Michael Lee</dc:creator>
      <pubDate>Sun, 29 Jun 2025 00:44:40 +0000</pubDate>
      <link>https://dev.to/mjl004/hackthissite-basic-7-41dc</link>
      <guid>https://dev.to/mjl004/hackthissite-basic-7-41dc</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F00wma3gcvrzwhay6kbnc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F00wma3gcvrzwhay6kbnc.png" alt="Image description" width="800" height="312"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Since I am already familiar with MacOS, UNIX commands are not new to me. ;ls lists files and directories in the current directory. &lt;/p&gt;

&lt;p&gt;This one was fairly simple, not too difficult to figure out a method. &lt;/p&gt;

</description>
      <category>bash</category>
      <category>unix</category>
      <category>howto</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>HackTheSite Basic 6</title>
      <dc:creator>Michael Lee</dc:creator>
      <pubDate>Sat, 28 Jun 2025 10:32:13 +0000</pubDate>
      <link>https://dev.to/mjl004/hackthesite-basic-6-211l</link>
      <guid>https://dev.to/mjl004/hackthesite-basic-6-211l</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9u1y5ahoyexrivp5hrnk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9u1y5ahoyexrivp5hrnk.png" alt="Image description" width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Since the task is regarding encryption, we should try a few exmaples. &lt;/p&gt;

&lt;p&gt;11111 -&amp;gt; encrpted string is 12345&lt;br&gt;
encrypted password 6f3i&amp;lt;667 -&amp;gt; 6g5l@;&amp;lt;&amp;gt;&lt;/p&gt;

&lt;p&gt;From above, it's recognizable that each character is shifted forward by 1 position following the ASCII table. &lt;/p&gt;

&lt;p&gt;Position 1: 1 → 1 (shift by 0)&lt;br&gt;
Position 2: 1 → 2 (shift by +1)&lt;br&gt;
Position 3: 1 → 3 (shift by +2)&lt;br&gt;
Position 4: 1 → 4 (shift by +3)&lt;br&gt;
Position 5: 1 → 5 (shift by +4)&lt;/p&gt;

&lt;p&gt;Therefore, to decrypt, we shift the character backwards by 1 position. &lt;br&gt;
This required a little more thinking but wasn't too difficult to decipher. &lt;/p&gt;

</description>
      <category>algorithms</category>
      <category>howto</category>
      <category>security</category>
    </item>
    <item>
      <title>HackTheSite Basic 5</title>
      <dc:creator>Michael Lee</dc:creator>
      <pubDate>Thu, 26 Jun 2025 10:01:41 +0000</pubDate>
      <link>https://dev.to/mjl004/hackthesite-basic-5-1a4o</link>
      <guid>https://dev.to/mjl004/hackthesite-basic-5-1a4o</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa4gwy1whbvu2u74d7maf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa4gwy1whbvu2u74d7maf.png" alt="Image description" width="800" height="296"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Problem was very simple and easy, as it was almost the same as Basic 4, go to inspect element of the button where you send the reminder email, edit and put your email instead of Sams. &lt;/p&gt;

</description>
      <category>howto</category>
      <category>security</category>
      <category>learning</category>
    </item>
    <item>
      <title>HackTheSite Basic 4</title>
      <dc:creator>Michael Lee</dc:creator>
      <pubDate>Wed, 25 Jun 2025 11:25:01 +0000</pubDate>
      <link>https://dev.to/mjl004/hackthesite-basic-4-4727</link>
      <guid>https://dev.to/mjl004/hackthesite-basic-4-4727</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo0dw0rk2eujy49xegvk2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo0dw0rk2eujy49xegvk2.png" alt="Image description" width="800" height="264"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From the Page Source i have noticed an email. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3f3zui4xk27ns9rcxmot.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3f3zui4xk27ns9rcxmot.png" alt="Image description" width="800" height="114"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now that since it is unable for me to change the value, hover the mouse over the button and went to inspect element.&lt;/p&gt;

&lt;p&gt;After modifying the value, I got sent the reminder to my personal email. Fairly simple but requires a little thinking. &lt;/p&gt;

</description>
      <category>hack</category>
    </item>
    <item>
      <title>HackTheSite Basic 3</title>
      <dc:creator>Michael Lee</dc:creator>
      <pubDate>Wed, 25 Jun 2025 11:10:04 +0000</pubDate>
      <link>https://dev.to/mjl004/hackthesite-basic-3-4bli</link>
      <guid>https://dev.to/mjl004/hackthesite-basic-3-4bli</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff9tv6am2rq7wtk2zhf4t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff9tv6am2rq7wtk2zhf4t.png" alt="Image description" width="800" height="224"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This one I had to think a little longer than usual. When out of options, look at the source code and search for "password" keyword. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fctnjpn8rqqk665wajsa1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fctnjpn8rqqk665wajsa1.png" alt="Image description" width="800" height="89"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Since Sam forgot to upload the password, I tried accessing password.php directly. &lt;br&gt;
And that gave me the answer. &lt;/p&gt;

</description>
      <category>howto</category>
      <category>discuss</category>
      <category>security</category>
    </item>
    <item>
      <title>HackThisSite Basic 2</title>
      <dc:creator>Michael Lee</dc:creator>
      <pubDate>Sun, 22 Jun 2025 14:24:53 +0000</pubDate>
      <link>https://dev.to/mjl004/hackthissite-basic-2-5e31</link>
      <guid>https://dev.to/mjl004/hackthissite-basic-2-5e31</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4q5rnv20xgcgdy1g8x23.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4q5rnv20xgcgdy1g8x23.png" alt="Image description" width="800" height="155"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Sam forgot to upload the password file that contains the actual password. -&amp;gt; The script tries to load a password from a file that doesn't exist -&amp;gt; return an empty string or null value -&amp;gt; user input field is also empty by default&lt;/p&gt;

&lt;p&gt;Therefore: user input == password from file &lt;br&gt;
=&amp;gt; &lt;strong&gt;Empty string equals empty string = authentication success&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Fairy simple, not too difficult, just had to think a little. &lt;/p&gt;

</description>
      <category>security</category>
      <category>howto</category>
      <category>bug</category>
    </item>
    <item>
      <title>HackThisSite Basic 1</title>
      <dc:creator>Michael Lee</dc:creator>
      <pubDate>Fri, 20 Jun 2025 12:41:43 +0000</pubDate>
      <link>https://dev.to/mjl004/hackthissite-basic-1-1703</link>
      <guid>https://dev.to/mjl004/hackthissite-basic-1-1703</guid>
      <description>&lt;p&gt;&lt;strong&gt;You can view ANY HTML for a website just by doing right click -&amp;gt; view page source&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Search for the key word Password =&amp;gt; Done!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgqx2b4mt8w7ropqma34m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgqx2b4mt8w7ropqma34m.png" alt="Image description" width="800" height="195"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F55aoyrvphpqt1g7w368c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F55aoyrvphpqt1g7w368c.png" alt="Image description" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>hack</category>
    </item>
  </channel>
</rss>
