mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-25 23:49:49 +03:00
casthex2char: fix unit test
This commit is contained in:
parent
4f6a04c621
commit
7c709150a8
|
@ -29,7 +29,7 @@ def tamper(payload, **kwargs):
|
|||
Notes:
|
||||
* Useful in cases when web application block single quotes or use addslashes()
|
||||
>>> 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user