mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Revert hexDecode and add new sqlHexDecode
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
type => "tfn",
|
||||
name => "hexDecode",
|
||||
input => "546573740043617365",
|
||||
output => "Test00Case",
|
||||
output => "Test\0Case",
|
||||
ret => 1,
|
||||
},
|
||||
|
||||
@@ -31,20 +31,20 @@
|
||||
type => "tfn",
|
||||
name => "hexDecode",
|
||||
input => "01234567890a0z01234567890a",
|
||||
output => "01#Eg890a0z01#Eg890a",
|
||||
output => "\x01#Eg\x89\x0a#\x01#Eg\x89\x0a",
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "tfn",
|
||||
name => "hexDecode",
|
||||
input => "01234567890az",
|
||||
output => "01#Eg890az",
|
||||
output => "\x01#Eg\x89\x0a",
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "tfn",
|
||||
name => "hexDecode",
|
||||
input => "01234567890a0",
|
||||
output => "01#Eg890a0",
|
||||
output => "\x01#Eg\x89\x0a",
|
||||
ret => 1,
|
||||
},
|
||||
|
Reference in New Issue
Block a user