MCPcopy
hub / github.com/t3l3machus/hoaxshell / encodePayload

Function encodePayload

hoaxshell.py:186–188  ·  view source on GitHub ↗
(payload)

Source from the content-addressed store, hash-verified

184
185
186def encodePayload(payload):
187 enc_payload = "powershell -e " + base64.b64encode(payload.encode('utf16')[2:]).decode()
188 return enc_payload
189
190
191

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected