<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacking on Yixboost Blog</title><link>https://blog.yixboost.dev/tags/hacking/</link><description>Recent content in Hacking on Yixboost Blog</description><generator>Hugo</generator><language>en-us</language><managingEditor>https://link.yixboost.dev/contact (Yixboost)</managingEditor><webMaster>https://link.yixboost.dev/contact (Yixboost)</webMaster><lastBuildDate>Fri, 10 Jul 2026 21:40:31 +0000</lastBuildDate><atom:link href="https://blog.yixboost.dev/tags/hacking/index.xml" rel="self" type="application/rss+xml"/><item><title>Piratesay writeup (vuln 1)</title><link>https://blog.yixboost.dev/posts/2026-07-10-piratesay-writeup-attack-defence-vuln1/</link><pubDate>Fri, 10 Jul 2026 21:40:31 +0000</pubDate><author>https://link.yixboost.dev/contact (Yixboost)</author><guid>https://blog.yixboost.dev/posts/2026-07-10-piratesay-writeup-attack-defence-vuln1/</guid><description>&lt;h1 id="piratesay"&gt;Piratesay&lt;/h1&gt;
&lt;p&gt;When connecting, you enter a kind of bash shell, where you can use basic commands to navigate and read/write files. You also get a random identity every session, but that is only important to the second vulnerability.&lt;/p&gt;
&lt;h1 id="commands"&gt;commands:&lt;/h1&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;The Official Pirate Codex:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; scout [destination] - Search current or desired destination for items
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; sail [destination] - Set sail for a new destination
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; bury - bury treasure for others to find at your destination
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; loot [item] - Grab the contents of an item at your destination
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; identity - manage your pirate identity 
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; codex - Display this pirate codex
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; dock - Dock your ship and leave Pirate Say
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;ls -&amp;gt; scout&lt;/li&gt;
&lt;li&gt;cd -&amp;gt; sail&lt;/li&gt;
&lt;li&gt;help -&amp;gt; codex&lt;/li&gt;
&lt;li&gt;exit -&amp;gt; dock&lt;/li&gt;
&lt;li&gt;help -&amp;gt; codex&lt;/li&gt;
&lt;li&gt;read -&amp;gt; loot&lt;/li&gt;
&lt;li&gt;write -&amp;gt; bury&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="vulnerability-one"&gt;Vulnerability one&lt;/h1&gt;
&lt;p&gt;If you input a wrong password when looting treasure the password you gave get&amp;rsquo;s read back to you: ![[Pasted image 20260710230455.png]]
This &lt;code&gt;Clean_from_formatstrings&lt;/code&gt; function that checks on format strings, but not for &amp;lsquo;o&amp;rsquo; (used for octal), so we can use that to leak memory (and the password) &lt;img src="https://blog.yixboost.dev/BinjaPiratesay.png" alt="Binja.png"&gt;&lt;/p&gt;</description></item><item><title>DMA on Dell XPS (PCILeech)</title><link>https://blog.yixboost.dev/posts/2026-07-07-dma-on-xps/</link><pubDate>Tue, 07 Jul 2026 05:51:32 +0000</pubDate><author>https://link.yixboost.dev/contact (Yixboost)</author><guid>https://blog.yixboost.dev/posts/2026-07-07-dma-on-xps/</guid><description>&lt;h1 id="getting-started"&gt;Getting started&lt;/h1&gt;
&lt;p&gt;DMA stands for Direct Memory Access.&lt;/p&gt;
&lt;p&gt;I am using 
&lt;a href="https://github.com/ufrisk/pcileech"&gt;pcileech&lt;/a&gt;
 with a 
&lt;a href="https://captaindma.com/product/captain-dma-m-2/"&gt;captain DMA M.2&lt;/a&gt;
. This is an fpga device so most of the features should work.&lt;/p&gt;
&lt;h1 id="installing-dma-device"&gt;Installing DMA device&lt;/h1&gt;
&lt;p&gt;The xps i&amp;rsquo;m using only has one m.2 slot, so I can&amp;rsquo;t boot into an os as you would normaly. I have to boot into a USB wit ubuntu and install the DMA device in the m.2 slot.&lt;/p&gt;
&lt;p&gt;But ubuntu hangs on the loading screen, pressing esc to see the logs I can see:&lt;/p&gt;</description></item></channel></rss>