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

Function _

lib/request/basic.py:126–127  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

124
125 if kb.mergeCookies and kb.injection.place != PLACE.COOKIE:
126 def _(value):
127 return re.sub(r"(?i)\b%s=[^%s]+" % (re.escape(getUnicode(cookie.name)), conf.cookieDel or DEFAULT_COOKIE_DELIMITER), ("%s=%s" % (getUnicode(cookie.name), getUnicode(cookie.value))).replace('\\', r'\\'), value)
128
129 headers[HTTP_HEADER.COOKIE] = _(headers[HTTP_HEADER.COOKIE])
130

Callers 1

forgeHeadersFunction · 0.70

Calls 3

getUnicodeFunction · 0.90
escapeMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected