<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Regex help for SQL update statement in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/regex-help-for-sql-update-statement/m-p/863645#M85582</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need help from IPS regex guru - trying to build the signature to detect SQL update statement in HTTP requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Am I correct with regex below specified as Request-Regex?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Uu][Pp][Dd][Aa][Tt][Ee]([%]20|[+])[\x20-\x7e]+[Ss][Ee][Tt]([%]20|[+])[\x20-\x7e]+=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) How do I make sure that it detects 'Update' in URI and Arguments only and not in the body on entire webserver response (currently looks like the case)?&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2019 10:49:08 GMT</pubDate>
    <dc:creator>DSmirnov</dc:creator>
    <dc:date>2019-03-10T10:49:08Z</dc:date>
    <item>
      <title>Regex help for SQL update statement</title>
      <link>https://community.cisco.com/t5/network-security/regex-help-for-sql-update-statement/m-p/863645#M85582</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need help from IPS regex guru - trying to build the signature to detect SQL update statement in HTTP requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Am I correct with regex below specified as Request-Regex?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Uu][Pp][Dd][Aa][Tt][Ee]([%]20|[+])[\x20-\x7e]+[Ss][Ee][Tt]([%]20|[+])[\x20-\x7e]+=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) How do I make sure that it detects 'Update' in URI and Arguments only and not in the body on entire webserver response (currently looks like the case)?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 10:49:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/regex-help-for-sql-update-statement/m-p/863645#M85582</guid>
      <dc:creator>DSmirnov</dc:creator>
      <dc:date>2019-03-10T10:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help for SQL update statement</title>
      <link>https://community.cisco.com/t5/network-security/regex-help-for-sql-update-statement/m-p/863646#M85584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) It looks correct to me&lt;/P&gt;&lt;P&gt;2) Typically, the "service HTTP" engine is used to inspect requests and the "TCP string" engine is used to inspect HTTP server responses. If you only want to inspect requests, use the service HTTP engine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 20:22:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/regex-help-for-sql-update-statement/m-p/863646#M85584</guid>
      <dc:creator>mhellman</dc:creator>
      <dc:date>2007-10-04T20:22:26Z</dc:date>
    </item>
  </channel>
</rss>

