shadowbrokers-exploits/windows/Resources/Dsz/Scripts/Include/solaris/_VersionChecksSolaris.dsi
2017-04-14 11:45:07 +02:00

26 lines
411 B
Text

@include "_Versions.dsi";
#----------------------------------------------------
# _IsSolaris
# Returns whether the current target is Solaris
#----------------------------------------------------
sub _IsSolaris()
{
# _GetOsFamily handles IsLocal check
string $os;
if (_GetOsFamily($os))
{
if ($os == "solaris")
{
return true;
}
}
return false;
}
# END _IsSolaris