Added another base64 encoding method
This commit is contained in:
@ -692,6 +692,9 @@ function Check-Command(){
|
|||||||
if ($commandline -Match "\-enc.*[A-Za-z0-9/+=]{100}"){
|
if ($commandline -Match "\-enc.*[A-Za-z0-9/+=]{100}"){
|
||||||
$base64= $commandline -Replace "^.* \-Enc(odedCommand)? ",""
|
$base64= $commandline -Replace "^.* \-Enc(odedCommand)? ",""
|
||||||
}
|
}
|
||||||
|
ElseIf ($commandline -Match "\-En.*[A-Za-z0-9/+=]{100}"){
|
||||||
|
$base64= $commandline -Replace "^.* \-En",""
|
||||||
|
}
|
||||||
ElseIf ($commandline -Match ":FromBase64String\("){
|
ElseIf ($commandline -Match ":FromBase64String\("){
|
||||||
$base64 = $commandline -Replace "^.*:FromBase64String\(\'*",""
|
$base64 = $commandline -Replace "^.*:FromBase64String\(\'*",""
|
||||||
$base64 = $base64 -Replace "\'.*$",""
|
$base64 = $base64 -Replace "\'.*$",""
|
||||||
|
Reference in New Issue
Block a user