shadowbrokers-exploits/windows/Resources/Dsz/Scripts/Connected/winnt/_Mcl_NtNativeApi.dss
2017-04-14 11:45:07 +02:00

29 lines
No EOL
512 B
Text

@echo off;
@include "_Versions.dsi";
bool $rtn = true;
echo("Registering Mcl_NtNativeApi options");
if (`moduletoggle -register -system Mcl_NtNativeApi -silent`)
{
echo(" SUCCESS", GOOD);
}
else
{
echo(" FAILED", ERROR);
$rtn = false;
}
if (_IsWindows())
{
echo("Setting Mcl_NtNativeApi Type");
if (!`moduletoggle -set Win32 -system Mcl_NtNativeApi -silent -nofree`)
{
echo(" FAILED", ERROR);
$rtn = false;
}
else
{
echo(" WIN32", GOOD);
}
}
return $rtn;