<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Gabriel Yip</title><link>https://6plosive.github.io/portfolio/en/</link><description>Recent content on Gabriel Yip</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 10 Jun 2025 20:33:57 +1000</lastBuildDate><atom:link href="https://6plosive.github.io/portfolio/en/index.xml" rel="self" type="application/rss+xml"/><item><title>Note Service</title><link>https://6plosive.github.io/portfolio/en/posts/rcr-writeup/note-service/</link><pubDate>Tue, 10 Jun 2025 20:33:57 +1000</pubDate><guid>https://6plosive.github.io/portfolio/en/posts/rcr-writeup/note-service/</guid><description>&lt;h2 id="note-service">Note-Service&lt;/h2>
&lt;h3 id="-observation">🫣 Observation&lt;/h3>
&lt;p>We see a very simple flask website with file upload and download function. When you upload a file on the website, it will save the file and change the file name as the base64 of the content&amp;rsquo;s first 50 bytes. This means if you upload a file named &lt;code>abc.txt&lt;/code> with the content &lt;code>abcdefg&lt;/code>, the file will be saved with the name &lt;code>YWJjZGVmZw==&lt;/code> and the content will remain &lt;code>abcdefg&lt;/code>.&lt;/p></description></item><item><title>3-RSA</title><link>https://6plosive.github.io/portfolio/en/posts/rcr-writeup/3-rsa/</link><pubDate>Tue, 10 Jun 2025 15:47:44 +1000</pubDate><guid>https://6plosive.github.io/portfolio/en/posts/rcr-writeup/3-rsa/</guid><description>&lt;h2 id="3-rsa">3-RSA&lt;/h2>
&lt;blockquote>
&lt;p>I did nothing much in this except asking AI (Gemini 2.5 Pro) about this. Surprisingly the prompt works the first time! Since the AI probably explains it better than me, here is the LLM response:&lt;/p>&lt;/blockquote>
&lt;p>The vulnerability in this code lies in the predictable way the prime numbers for the RSA moduli were generated. The primes &lt;code>a, b, c&lt;/code> and &lt;code>x, y, z&lt;/code> are not random; they form &lt;strong>arithmetic progressions&lt;/strong>. This mathematical relationship allows an attacker to link the three public keys (&lt;code>n1&lt;/code>, &lt;code>n2&lt;/code>, &lt;code>n3&lt;/code>) together, ultimately revealing all the secret prime factors.&lt;/p></description></item><item><title>My First Post</title><link>https://6plosive.github.io/portfolio/en/posts/my-first-post/</link><pubDate>Wed, 21 May 2025 13:38:16 +1000</pubDate><guid>https://6plosive.github.io/portfolio/en/posts/my-first-post/</guid><description>&lt;p>whats up yppp&lt;/p></description></item><item><title/><link>https://6plosive.github.io/portfolio/en/about-me/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://6plosive.github.io/portfolio/en/about-me/</guid><description>&lt;p>I am Gabriel Yip. This website is a WIP so expect some unfinished stuff!!&lt;/p></description></item></channel></rss>