mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-26 16:10:00 +03:00
casthex2char: fix unit test
This commit is contained in:
parent
4f6a04c621
commit
7c709150a8
|
@ -29,7 +29,7 @@ def tamper(payload, **kwargs):
|
||||||
Notes:
|
Notes:
|
||||||
* Useful in cases when web application block single quotes or use addslashes()
|
* Useful in cases when web application block single quotes or use addslashes()
|
||||||
>>> tamper("SELECT CAST(X'4142' AS TEXT)")
|
>>> tamper("SELECT CAST(X'4142' AS TEXT)")
|
||||||
"SELECT CAST(CHAR(65) AS TEXT) || CAST(CHAR(66) AS TEXT)"
|
"SELECT CAST(CHAR(65) AS TEXT)||CAST(CHAR(66) AS TEXT)"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
retVal = payload
|
retVal = payload
|
||||||
|
|
Loading…
Reference in New Issue
Block a user