Encodes the entire payload using Base64 >>> tamper("1' AND SLEEP(5)#") 'MScgQU5EIFNMRUVQKDUpIw=='
(payload, **kwargs)
| 14 | pass |
| 15 | |
| 16 | def 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 |
nothing calls this directly
no test coverage detected
searching dependent graphs…