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

Function unsafeVariableNaming

lib/core/common.py:5526–5537  ·  view source on GitHub ↗

Returns unescaped safe-representation of a given variable name >>> unsafeVariableNaming("EVAL_636c6173732e6964") == "class.id" True

(value)

Source from the content-addressed store, hash-verified

5524 return value
5525
5526def unsafeVariableNaming(value):
5527 """
5528 Returns unescaped safe-representation of a given variable name
5529
5530 >>> unsafeVariableNaming("EVAL_636c6173732e6964") == "class.id"
5531 True
5532 """
5533
5534 if value.startswith(EVALCODE_ENCODED_PREFIX):
5535 value = decodeHex(value[len(EVALCODE_ENCODED_PREFIX):], binary=False)
5536
5537 return value
5538
5539def firstNotNone(*args):
5540 """

Callers 1

queryPageMethod · 0.90

Calls 1

decodeHexFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…