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

Method extractPayload

lib/core/agent.py:1233–1239  ·  view source on GitHub ↗

Extracts payload from inside of the input string

(self, value)

Source from the content-addressed store, hash-verified

1231 return value.replace(PAYLOAD_DELIMITER, "") if value else value
1232
1233 def extractPayload(self, value):
1234 """
1235 Extracts payload from inside of the input string
1236 """
1237
1238 _ = re.escape(PAYLOAD_DELIMITER)
1239 return extractRegexResult(r"(?s)%s(?P<result>.*?)%s" % (_, _), value)
1240
1241 def replacePayload(self, value, payload):
1242 """

Callers 2

queryPageMethod · 0.80
tryHintFunction · 0.80

Calls 2

extractRegexResultFunction · 0.90
escapeMethod · 0.45

Tested by

no test coverage detected