diff --git a/lib/takeover/xp_cmdshell.py b/lib/takeover/xp_cmdshell.py index 3a571d00d..0a8fe9b62 100644 --- a/lib/takeover/xp_cmdshell.py +++ b/lib/takeover/xp_cmdshell.py @@ -217,4 +217,4 @@ class xp_cmdshell: debugMsg += "output to" logger.debug(debugMsg) - self.createSupportTbl(self.cmdTblName, self.tblField, "text") + self.createSupportTbl(self.cmdTblName, self.tblField, "varchar(8000)") diff --git a/lib/techniques/inband/union/use.py b/lib/techniques/inband/union/use.py index 9aaefa4bd..3de52c725 100644 --- a/lib/techniques/inband/union/use.py +++ b/lib/techniques/inband/union/use.py @@ -219,6 +219,8 @@ def unionUse(expression, direct=False, unescape=True, resetCounter=False, nullCh query = agent.forgeInbandQuery(expression, nullChar=nullChar) payload = agent.payload(newValue=query) + # NOTE: for debug purposes only + #debugMsg = "query: %s" % payload debugMsg = "query: %s" % query logger.debug(debugMsg)