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

Function tamper

tamper/base64encode.py:16–24  ·  view source on GitHub ↗

Encodes the entire payload using Base64 >>> tamper("1' AND SLEEP(5)#") 'MScgQU5EIFNMRUVQKDUpIw=='

(payload, **kwargs)

Source from the content-addressed store, hash-verified

14 pass
15
16def tamper(payload, **kwargs):
17 """
18 Encodes the entire payload using Base64
19
20 >>> tamper("1' AND SLEEP(5)#")
21 'MScgQU5EIFNMRUVQKDUpIw=='
22 """
23
24 return encodeBase64(payload, binary=False) if payload else payload

Callers

nothing calls this directly

Calls 1

encodeBase64Function · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…