<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>satos___jp</author_name>
  <author_url>https://blog.hatena.ne.jp/satos___jp/</author_url>
  <blog_title>忖度</blog_title>
  <blog_url>https://satos.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>Tutorial (pwn 200) 検分 strippedでないx86_64バイナリ。libcももらえる。 NXあり、カナリーあり、PIEなし。挙動は大雑把に、 void priv(){ /* ルートディレクトリを/home/tutorialにしたり、 tutorialのuid,gidに変更したりする。 */ } func1(int fd){ void* p = dlsym(-1,&quot;puts&quot;); //[rbp-0x48] write(fd,&quot;rifarense&quot;); sprintf(rbp-0x40,&quot;%p\n&quot;,p); write(fd,rbp-0x40,len=15); } func2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsatos.hatenablog.jp%2Fentry%2F2016%2F09%2F20%2F004119&quot; title=&quot;csaw ctf 2016 qualsのTutorialのwriteup - 忖度&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>2016-09-20 00:41:19</published>
  <title>csaw ctf 2016 qualsのTutorialのwriteup</title>
  <type>rich</type>
  <url>https://satos.hatenablog.jp/entry/2016/09/20/004119</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
