<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>BUUCFT on Bigshans&#39; Blog</title>
    <link>https://bigshans.github.io/categories/buucft/</link>
    <description>Recent content in BUUCFT on Bigshans&#39; Blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>bigshans</copyright>
    <lastBuildDate>Sun, 23 Jul 2023 08:19:53 +0800</lastBuildDate>
    <atom:link href="https://bigshans.github.io/categories/buucft/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>BUUCFT 题解</title>
      <link>https://bigshans.github.io/post/buucft/</link>
      <pubDate>Sun, 23 Jul 2023 08:19:53 +0800</pubDate>
      <guid>https://bigshans.github.io/post/buucft/</guid>
      <description>&lt;p&gt;娱乐性质，玩一玩。&lt;/p&gt;&#xA;&lt;h2 id=&#34;linux-lab&#34;&gt;Linux Lab&lt;/h2&gt;&#xA;&lt;p&gt;使用 ssh 连接到靶机即可。&lt;/p&gt;&#xA;&lt;pre class=&#34;shell&#34;&gt;&lt;code&gt;ssh root@address -p port&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;flag.txt 就放在根目录下面。&lt;/p&gt;&#xA;&lt;h2 id=&#34;buucft&#34;&gt;BUUCFT&lt;/h2&gt;&#xA;&lt;p&gt;打开页面，首先给了一段代码。&lt;/p&gt;&#xA;&lt;div class=&#34;sourceCode&#34; id=&#34;cb2&#34;&gt;&lt;pre class=&#34;sourceCode php&#34;&gt;&lt;code class=&#34;sourceCode php&#34;&gt;&lt;span id=&#34;cb2-1&#34;&gt;&lt;a href=&#34;#cb2-1&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;&lt;span class=&#34;kw&#34;&gt;&amp;lt;?php&lt;/span&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-2&#34;&gt;&lt;a href=&#34;#cb2-2&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;&lt;span class=&#34;co&#34;&gt;/**&lt;/span&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-3&#34;&gt;&lt;a href=&#34;#cb2-3&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;&lt;span class=&#34;co&#34;&gt; * Created by PhpStorm.&lt;/span&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-4&#34;&gt;&lt;a href=&#34;#cb2-4&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;&lt;span class=&#34;co&#34;&gt; * User: jinzhao&lt;/span&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-5&#34;&gt;&lt;a href=&#34;#cb2-5&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;&lt;span class=&#34;co&#34;&gt; * Date: 2019/7/9&lt;/span&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-6&#34;&gt;&lt;a href=&#34;#cb2-6&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;&lt;span class=&#34;co&#34;&gt; * Time: 7:07 AM&lt;/span&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-7&#34;&gt;&lt;a href=&#34;#cb2-7&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;&lt;span class=&#34;co&#34;&gt; */&lt;/span&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-8&#34;&gt;&lt;a href=&#34;#cb2-8&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-9&#34;&gt;&lt;a href=&#34;#cb2-9&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;&lt;span class=&#34;fu&#34;&gt;highlight_file&lt;/span&gt;(&lt;span class=&#34;cn&#34;&gt;__FILE__&lt;/span&gt;)&lt;span class=&#34;ot&#34;&gt;;&lt;/span&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-10&#34;&gt;&lt;a href=&#34;#cb2-10&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-11&#34;&gt;&lt;a href=&#34;#cb2-11&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;&lt;span class=&#34;cf&#34;&gt;if&lt;/span&gt;(&lt;span class=&#34;kw&#34;&gt;isset&lt;/span&gt;(&lt;span class=&#34;va&#34;&gt;$_GET&lt;/span&gt;[&lt;span class=&#34;st&#34;&gt;&amp;#39;file&amp;#39;&lt;/span&gt;])) {&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-12&#34;&gt;&lt;a href=&#34;#cb2-12&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;    &lt;span class=&#34;va&#34;&gt;$str&lt;/span&gt; &lt;span class=&#34;op&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;va&#34;&gt;$_GET&lt;/span&gt;[&lt;span class=&#34;st&#34;&gt;&amp;#39;file&amp;#39;&lt;/span&gt;]&lt;span class=&#34;ot&#34;&gt;;&lt;/span&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-13&#34;&gt;&lt;a href=&#34;#cb2-13&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-14&#34;&gt;&lt;a href=&#34;#cb2-14&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;    &lt;span class=&#34;kw&#34;&gt;include&lt;/span&gt; &lt;span class=&#34;va&#34;&gt;$_GET&lt;/span&gt;[&lt;span class=&#34;st&#34;&gt;&amp;#39;file&amp;#39;&lt;/span&gt;]&lt;span class=&#34;ot&#34;&gt;;&lt;/span&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;cb2-15&#34;&gt;&lt;a href=&#34;#cb2-15&#34; aria-hidden=&#34;true&#34; tabindex=&#34;-1&#34;&gt;&lt;/a&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;p&gt;这里的意思是，高亮当前文件，判断是否存在为 file 的 query&#xA;参数，如果存在，就加载它。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
