diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index c65cbd82e..fada39c40 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -115,7 +115,7 @@ def __oneShotErrorUse(expression, field=None): if trimmed: warnMsg = "possible server trimmed output detected (due to its length): " - warnMsg += trimmed + warnMsg += safecharencode(trimmed) logger.warn(warnMsg) if any(Backend.isDbms(dbms) for dbms in (DBMS.MYSQL, DBMS.MSSQL)): diff --git a/lib/techniques/union/use.py b/lib/techniques/union/use.py index 78670ccda..435fdab77 100644 --- a/lib/techniques/union/use.py +++ b/lib/techniques/union/use.py @@ -100,7 +100,7 @@ def __oneShotUnionUse(expression, unpack=True, limited=False): if trimmed: warnMsg = "possible server trimmed output detected (probably due to its length): " - warnMsg += trimmed + warnMsg += safecharencode(trimmed) logger.warn(warnMsg) return retVal