MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / encodeStringEscape

Function encodeStringEscape

lib/core/common.py:4122–4134  ·  view source on GitHub ↗

Encodes escaped string values (e.g. "\t" -> "\\t")

(value)

Source from the content-addressed store, hash-verified

4120 return retVal
4121
4122def encodeStringEscape(value):
4123 """
4124 Encodes escaped string values (e.g. "\t" -> "\\t")
4125 """
4126
4127 retVal = value
4128
4129 if value:
4130 charset = "\\%s" % string.whitespace.replace(" ", "")
4131 for _ in charset:
4132 retVal = retVal.replace(_, repr(_).strip("'"))
4133
4134 return retVal
4135
4136def removeReflectiveValues(content, payload, suppressWarning=False):
4137 """

Callers 1

removeReflectiveValuesFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…