<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gallu</author_name>
  <author_url>https://blog.hatena.ne.jp/gallu/</author_url>
  <blog_title>がるの健忘録</blog_title>
  <blog_url>https://gallu.hatenadiary.jp/</blog_url>
  <categories>
    <anon>セキュリティ</anon>
    <anon>DB</anon>
  </categories>
  <description>後半です。 …「完了編」まで引き伸ばさないように頑張っていきたい所存でございます (｀◇´)ゞ 前回のは http://d.hatena.ne.jp/gallu/20111128/p1 をご覧ください。 さて。 まずは「ふつ〜にエスケープされた場合」に、SQL-Injectionが「発生しない」真っ当なケースを見てみましょう。 先ほどのSQLは、エスケープによって UPDATE test SET a=10 WHERE id='\';GRANT ALL ON *.* TO cracker;--'; となりました。 入力された ';GRANT ALL ON *.* TO cracker;-- が …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgallu.hatenadiary.jp%2Fentry%2F20111129%2Fp2&quot; title=&quot;静的プリペアドステートメントが「原理的に安全」な理由 後編っていうか本編 - がるの健忘録&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>2011-11-29 00:00:01</published>
  <title>静的プリペアドステートメントが「原理的に安全」な理由 後編っていうか本編</title>
  <type>rich</type>
  <url>https://gallu.hatenadiary.jp/entry/20111129/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
