<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Audacity on 知识带给我们自由</title>
    <link>https://yuexuan521.github.io/zh/tags/audacity/</link>
    <description>Recent content in Audacity on 知识带给我们自由</description>
    <image>
      <title>知识带给我们自由</title>
      <url>https://yuexuan521.github.io/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://yuexuan521.github.io/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.160.1</generator>
    <language>en-us</language>
    <copyright>See this site&amp;rsquo;s source code here, licensed under GPLv3 ·</copyright>
    <lastBuildDate>Mon, 21 Apr 2025 08:30:00 +0000</lastBuildDate>
    <atom:link href="https://yuexuan521.github.io/zh/tags/audacity/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>BUUCTF [SCTF2019]电单车 1</title>
      <link>https://yuexuan521.github.io/zh/posts/buuctf-sctf2019%E7%94%B5%E5%8D%95%E8%BD%A6-1/</link>
      <pubDate>Mon, 21 Apr 2025 08:30:00 +0000</pubDate>
      <guid>https://yuexuan521.github.io/zh/posts/buuctf-sctf2019%E7%94%B5%E5%8D%95%E8%BD%A6-1/</guid>
      <description>&lt;p&gt;
&lt;div class=&#34;post-img-view&#34;&gt;
    &lt;a data-fancybox=&#34;gallery&#34; href=&#34;https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191805436.png&#34;&gt;
        &lt;img src=&#34;https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191805436.png&#34; 
             alt=&#34;&#34; 
              
             loading=&#34;lazy&#34;
        /&gt;
    &lt;/a&gt;
&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;BUUCTF: &lt;a href=&#34;https://buuoj.cn/challenges&#34;target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;https://buuoj.cn/challenges&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;相关阅读
&lt;a href=&#34;https://ctf-wiki.org/&#34;target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;CTF Wiki&lt;/a&gt;
&lt;a href=&#34;https://www.freebuf.com/articles/wireless/191534.html&#34;target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;使用HackCube-Special分析固定码信号&lt;/a&gt;
&lt;a href=&#34;https://blog.csdn.net/weixin_49656607/article/details/120323952&#34;target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;[SCTF2019]电单车&lt;/a&gt;&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>
<div class="post-img-view">
    <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191805436.png">
        <img src="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191805436.png" 
             alt="" 
              
             loading="lazy"
        />
    </a>
</div></p>
<p><strong>BUUCTF: <a href="https://buuoj.cn/challenges"target="_blank" rel="noopener noreferrer">https://buuoj.cn/challenges</a></strong></p>
<hr>
<p>相关阅读
<a href="https://ctf-wiki.org/"target="_blank" rel="noopener noreferrer">CTF Wiki</a>
<a href="https://www.freebuf.com/articles/wireless/191534.html"target="_blank" rel="noopener noreferrer">使用HackCube-Special分析固定码信号</a>
<a href="https://blog.csdn.net/weixin_49656607/article/details/120323952"target="_blank" rel="noopener noreferrer">[SCTF2019]电单车</a></p>
<p>
<div class="post-img-view">
    <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191807528.png">
        <img src="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191807528.png" 
             alt="在这里插入图片描述" 
              
             loading="lazy"
        />
    </a>
</div></p>
<h3 id="题目描述">题目描述：</h3>
<p>得到的 flag 请包上 flag{} 提交。</p>
<h3 id="密文">密文：</h3>
<p>下载附件，得到attachment.wav</p>
<p>
<div class="post-img-view">
    <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191809387.png">
        <img src="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191809387.png" 
             alt="在这里插入图片描述" 
              
             loading="lazy"
        />
    </a>
</div></p>
<hr>
<h3 id="解题思路">解题思路：</h3>
<p>1、用Audacity打开attachment.wav，波形图如下：</p>
<p>
<div class="post-img-view">
    <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191810497.png">
        <img src="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191810497.png" 
             alt="在这里插入图片描述" 
              
             loading="lazy"
        />
    </a>
</div></p>
<p>放大突出的部分，可以看到波形大致分两种：长波和短波。</p>
<p>
<div class="post-img-view">
    <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191812587.png">
        <img src="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191812587.png" 
             alt="在这里插入图片描述" 
              
             loading="lazy"
        />
    </a>
</div></p>
<p>将长波替换为 <code>1</code> ，短波替换为 <code>0</code> ，得到数据： <code>00111010010101010011000100</code> 。</p>
<p>
<div class="post-img-view">
    <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191814676.png">
        <img src="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191814676.png" 
             alt="在这里插入图片描述" 
              
             loading="lazy"
        />
    </a>
</div></p>
<p>2、这里的音频其实是 <strong>PT224X信号</strong> ，一种固定码遥控信号，我们需要将信号中的地址位作为flag提交。</p>
<p><a href="https://www.freebuf.com/articles/wireless/191534.html"target="_blank" rel="noopener noreferrer">使用HackCube-Special分析固定码信号</a></p>
<blockquote>
<p>钥匙信号(PT224X) = 同步引导码(8bit) + 地址位(20bit) + 数据位(4bit) + 停止码(1bit).</p>
</blockquote>
<p>
<div class="post-img-view">
    <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191817476.png">
        <img src="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191817476.png" 
             alt="在这里插入图片描述" 
              
             loading="lazy"
        />
    </a>
</div></p>
<p>
<div class="post-img-view">
    <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191819095.png">
        <img src="https://cdn.jsdelivr.net/gh/yuexuan521/image/20251228191819095.png" 
             alt="在这里插入图片描述" 
              
             loading="lazy"
        />
    </a>
</div></p>
<p><code>0 （同步码） 01110100101010100110（地址位） 0010 （数据位） 0（停止码）</code></p>
<h3 id="flag">flag：</h3>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">flag<span class="o">{</span>01110100101010100110<span class="o">}</span>
</span></span></code></pre></td></tr></table>
</div>
</div>]]></content:encoded>
    </item>
  </channel>
</rss>
