Skip to content

Commit

Permalink
Merge pull request #8604 from msm1992/master-7960
Browse files Browse the repository at this point in the history
Fix regex in gateway threat protection doc
  • Loading branch information
npamudika authored Nov 12, 2024
2 parents 63d32e6 + 5029488 commit ccebe70
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,19 @@ We recommend the following patterns for denying requests.
<tr class="even">
<td>XPath Injection</td>
<td>
<code>.*'.*|.*or.*|.*1=1.*|.*ALTER.*|.*ALTER TABLE.*|.*ALTER VIEW.*|</code><br />
<code>.*'.*|(?\u003C![\w\d])or(?![\w\d])|.*1=1.*|.*ALTER.*|.*ALTER TABLE.*|.*ALTER VIEW.*|</code><br />
<code>.*CREATE DATABASE.*|.*CREATE PROCEDURE.*|.*CREATE SCHEMA.*|</code><br />
<code>.*create table.*|.*CREATE VIEW.*|.*DELETE.*|.*DROP DATABASE.*|</code><br />
<code>.*DROP PROCEDURE.*|.*DROP.*|.*SELECT.*</code>
</td>
</tr>
<tr class="odd">
<td>JavaScript Exception</td>
<td><p><code>&lt;\s*script\b[^&gt;]*&gt;[^&lt;]+&lt;\s*/\s*script\s*&gt;</code></p></td>
<td>JavaScript Injection</td>
<td><p>
```
&lt;\s*script\b[^&gt;]*&gt;[^&lt;]+&lt;\s*/\s*script\s*&gt;
```
</p></td>
</tr>
<tr class="even">
<td>XPath Expanded Syntax Injection</td>
Expand Down

0 comments on commit ccebe70

Please sign in to comment.