MCPcopy
hub / github.com/0dayCTF/reverse-shell-generator / encoder

Function encoder

js/script.js:255–255  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

253 let command
254 if (rsg.getSelectedCommandName() === 'PowerShell #3 (Base64)') {
255 const encoder = (text) => text;
256 const payload = rsg.insertParameters(rsgData.specialCommands['PowerShell payload'], encoder)
257 command = "powershell -e " + btoa(toBinary(payload))
258 function toBinary(string) {

Callers 1

script.jsFile · 0.70

Calls 1

fixedEncodeURIComponentFunction · 0.85

Tested by

no test coverage detected