<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rev on Han's Blog</title><link>https://thuhan01.github.io/tags/rev/</link><description>Recent content from Han's Blog</description><generator>Hugo</generator><language>vi</language><managingEditor>thithuhannguyen1@gmail.com (Hân)</managingEditor><webMaster>thithuhannguyen1@gmail.com (Hân)</webMaster><copyright/><lastBuildDate>Sun, 08 Nov 2026 08:37:58 +0000</lastBuildDate><atom:link href="https://thuhan01.github.io/tags/rev/index.xml" rel="self" type="application/rss+xml"/><item><title>Frankenstein's Password Generator</title><link>https://thuhan01.github.io/post/frankenstein-s-password-generator/</link><pubDate>Sun, 08 Nov 2026 08:37:58 +0000</pubDate><author>thithuhannguyen1@gmail.com (Hân)</author><guid>https://thuhan01.github.io/post/frankenstein-s-password-generator/</guid><description>
<![CDATA[<h1>Frankenstein's Password Generator</h1><p></p>
        
          <h1 id="frankensteins-password-generator">
<a class="header-anchor" href="#frankensteins-password-generator"></a>
Frankenstein&rsquo;s Password Generator
</h1><h2 id="challenge-description">
<a class="header-anchor" href="#challenge-description"></a>
Challenge description
</h2><blockquote>
<p>Dr. Frankenstein left behind a strange password generator in an abandoned NJIT laboratory. The machine refuses to start without an activation phrase. His last notebook entry reads, &ldquo;A bolt at midnight gave it life.&rdquo; Can you figure out what the program expects and wake the creature?</p>
</blockquote>
<h2 id="solution">
<a class="header-anchor" href="#solution"></a>
Solution
</h2><p><img src="/images/post/2026/11/frankenstein-s-password-generator-1794129027126-jrf7c.png" alt="image">
<img src="/images/post/2026/11/frankenstein-s-password-generator-1794129057282-venfp.png" alt="image">
<img src="/images/post/2026/11/frankenstein-s-password-generator-1794129075347-t71m9.png" alt="image">
Ta thấy chương trình check bytes mình nhập vào ở hàm <code>sub_401176</code>, sau đó sẽ in flag ra.</p>
        
        <hr><p></p>]]></description><category>Writeup</category></item><item><title>Too Much Love is Scary</title><link>https://thuhan01.github.io/post/too-much-love-is-scary/</link><pubDate>Sun, 08 Nov 2026 04:59:53 +0000</pubDate><author>thithuhannguyen1@gmail.com (Hân)</author><guid>https://thuhan01.github.io/post/too-much-love-is-scary/</guid><description>
<![CDATA[<h1>Too Much Love is Scary</h1><p></p>
        
          <h1 id="too-much-love-is-scary">
<a class="header-anchor" href="#too-much-love-is-scary"></a>
Too Much Love is Scary
</h1><h2 id="challenge-description">
<a class="header-anchor" href="#challenge-description"></a>
Challenge description
</h2><blockquote>
<p>Last time I loved I was left broken and in shambles. That’s when I realized that my heart could only hold so much, I must protect it. So I won’t fall in love again, it’s just too scary…</p>
</blockquote>
<h2 id="solution">
<a class="header-anchor" href="#solution"></a>
Solution
</h2><p><img src="/images/post/2026/11/too-much-love-is-scary-1794114227621-rlud1.png" alt="image">
Nhìn vào IDA, ta có thể nhập vào 2 biến <code>v4</code> và <code>v5</code>, rồi nhập vào biến <code>s</code> tối đa <code>1000 bytes</code>. Sau đó so sánh <code>0x14 bytes</code> của <code>s[v4]</code> và <code>s2 (Shall I compare thee)</code>, nếu đúng sẽ in flag.
<img src="/images/post/2026/11/too-much-love-is-scary-1794126105856-zzsbt.png" alt="image">
Nhìn vào hàm <code>print_flag</code>, ta có thể thấy nó đang làm một biểu thức tính toán để mã hóa <code>v4</code> thành <code>flag</code> thông qua đối số a1, a2 được truyền vào.</p>
        
        <hr><p></p>]]></description><category>Writeup</category></item></channel></rss>