<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hasegawayosuke</author_name>
  <author_url>https://blog.hatena.ne.jp/hasegawayosuke/</author_url>
  <blog_title>葉っぱ日記</blog_title>
  <blog_url>https://hasegawa.hatenablog.com/</blog_url>
  <categories>
    <anon>雑記</anon>
  </categories>
  <description>cmd.exe の for /f にバグ。usebackq を指定しての for /f で1行の文字列の読み取りを実行するようなバッチファイルを何度も繰り返し実行すると、まれに「ファイル(文字化け)が見つかりません。」と表示される。どうやら、メモリの残骸をコマンドとして実行しようとしているようであるため、この領域を自由にコントロールできれば、任意のコマンドが実行可能であるかも知れない。が、バッチファイルを実行させている時点で何でもありなので具体的な攻撃シナリオには結びつかない。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhasegawa.hatenablog.com%2Fentry%2F20060516%2F1147771798&quot; title=&quot; [CMD]for /f のバグ - 葉っぱ日記&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>2006-05-16 18:29:58</published>
  <title> [CMD]for /f のバグ</title>
  <type>rich</type>
  <url>https://hasegawa.hatenablog.com/entry/20060516/1147771798</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
