<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>TOCTOU on d3bo</title><link>/tags/toctou/</link><description>Recent content in TOCTOU on d3bo</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>Copyright (c) 2025 Hyas</copyright><lastBuildDate>Sat, 02 Aug 2025 00:00:00 +0000</lastBuildDate><atom:link href="/tags/toctou/index.xml" rel="self" type="application/rss+xml"/><item><title>tic-tac</title><link>/ctf/pico/tic-tac/</link><pubDate>Sat, 02 Aug 2025 00:00:00 +0000</pubDate><guid>/ctf/pico/tic-tac/</guid><description>#include &amp;lt;iostream&amp;gt; #include &amp;lt;fstream&amp;gt; #include &amp;lt;unistd.h&amp;gt; #include &amp;lt;sys/stat.h&amp;gt; int main(int argc, char *argv[]) { if (argc != 2) { std::cerr &amp;lt;&amp;lt; &amp;#34;Usage: &amp;#34; &amp;lt;&amp;lt; argv[0] &amp;lt;&amp;lt; &amp;#34; &amp;lt;filename&amp;gt;&amp;#34; &amp;lt;&amp;lt; std::endl; return 1; } std::string filename = argv[1]; std::ifstream file(filename); struct stat statbuf; // Check the file&amp;#39;s status information.</description></item></channel></rss>