<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ptr-yudai</author_name>
  <author_url>https://blog.hatena.ne.jp/ptr-yudai/</author_url>
  <blog_title>CTFするぞ</blog_title>
  <blog_url>https://ptr-yudai.hatenablog.com/</blog_url>
  <categories>
    <anon>CTF</anon>
  </categories>
  <description>はじめに 真面目にpwnを勉強していきたいので復習も兼ねて1から整理していこう，ということで最初にFSBについてまとめてみます． FSBに関する分かりやすい説明はたくさんあるのですが，この記事ではグローバル変数に対するFSBの利用法を説明しようと思います． Format String Bugとは FSBはprintf関数のようなフォーマット文字列を扱う関数に起因する脆弱性です． 通常フォーマット文字列は次のような使い方をします． printf(&quot;Message: %s&quot;, buf); これは構わないのですが，次のようにフォーマット文字列の箇所に攻撃者が任意のデータを入れることができると問題が発…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fptr-yudai.hatenablog.com%2Fentry%2F2018%2F10%2F06%2F234120&quot; title=&quot;Format String Exploitを試してみる - CTFするぞ&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>2018-10-06 23:41:20</published>
  <title>Format String Exploitを試してみる</title>
  <type>rich</type>
  <url>https://ptr-yudai.hatenablog.com/entry/2018/10/06/234120</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
