<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Gen_IUS</author_name>
  <author_url>https://blog.hatena.ne.jp/Gen_IUS/</author_url>
  <blog_title>recollect(traces);</blog_title>
  <blog_url>https://gen-ius.hatenablog.com/</blog_url>
  <categories>
    <anon>Daily AlpacaHack</anon>
    <anon>CTF</anon>
  </categories>
  <description>以下のような Web アプリケーション が渡されます。 POST リクエストの form で query を渡すと awk の引数として渡されている正規表現の中身として展開されて、 info.log の中身を検索できるもののようです。 import subprocess from flask import Flask, render_template, request app = Flask(__name__) @app.route(&quot;/&quot;, methods=[&quot;GET&quot;, &quot;POST&quot;]) def index(): query = &quot;&quot; log = &quot;&quot; if request.method …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgen-ius.hatenablog.com%2Fentry%2F2025%2F12%2F24%2F225215&quot; title=&quot;Daily AlpacaHack: Log Viewer Writeup - recollect(traces);&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-12-24 22:52:15</published>
  <title>Daily AlpacaHack: Log Viewer Writeup</title>
  <type>rich</type>
  <url>https://gen-ius.hatenablog.com/entry/2025/12/24/225215</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
