shadowbrokers-exploits/windows/Resources/Dsz/Scripts/Include/solaris/_VersionChecksSolaris.dsi

27 lines
411 B
Text
Raw Permalink Normal View History

@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