mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-11-22 02:21:36 +01:00
Quick fix
This commit is contained in:
parent
afaac0b552
commit
68db0339f5
@ -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://github.com/mattifestation/PSReflect
|
||||||
- Matt Graeber: https://twitter.com/mattifestation/status/735261120487772160
|
- 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/
|
- Adam Chester: https://www.mdsec.co.uk/2018/06/exploring-powershell-amsi-and-logging-evasion/
|
||||||
|
|
||||||
.PARAMETER DontDisableBlockLogging
|
.PARAMETER DontDisableBlockLogging
|
||||||
@ -738,7 +738,7 @@ function Disable-Amsi
|
|||||||
break
|
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"
|
Write-Host "[+] Finished applying technique 1"
|
||||||
return $k0
|
return $k0
|
||||||
}
|
}
|
||||||
|
@ -108,7 +108,7 @@ function Disable-ScriptLogging
|
|||||||
break
|
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"
|
Write-Host "[+] Finished applying technique 1"
|
||||||
return $k0
|
return $k0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user