Skip to content

Commit 83a1b9b

Browse files
nil0x42stamparm
authored andcommitted
errors.xml: detect mysqli_*() errors. (#3407)
MySQL injection error message often happen with mysqli_*() functions nowadays. POC: https://duckduckgo.com/?q=%22warning..mysqli
1 parent 38684ec commit 83a1b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/errors.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<!-- MySQL -->
55
<dbms value="MySQL">
66
<error regexp="SQL syntax.*?MySQL"/>
7-
<error regexp="Warning.*?mysql_"/>
7+
<error regexp="Warning.*?mysqli?_"/>
88
<error regexp="MySqlException \(0x"/>
99
<error regexp="MySQLSyntaxErrorException"/>
1010
<error regexp="valid MySQL result"/>

0 commit comments

Comments
 (0)