From 7c709150a801c98e6d2f39dfd12724dc782609a2 Mon Sep 17 00:00:00 2001 From: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> Date: Tue, 6 Apr 2021 20:01:44 +0200 Subject: [PATCH] casthex2char: fix unit test --- tamper/casthex2char.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tamper/casthex2char.py b/tamper/casthex2char.py index 87009163e..1c1ea32b1 100644 --- a/tamper/casthex2char.py +++ b/tamper/casthex2char.py @@ -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