shadowbrokers-exploits/windows/Resources/Ep/Scripts/malfind/findsig21.eps
2017-04-14 11:45:07 +02:00

30 lines
No EOL
511 B
PostScript

string $docsandsettings = GetEnv("SYSTEMROOT");
$docsandsettings = "$docsandsettings\\..\\Documents and Settings";
@record on;
`dir * -path "$docsandsettings"`;
@record off;
string $subkeys = GetCmdData('name');
string $subkey;
foreach $subkey ($subkeys)
{
if ($subkey == ".")
{
continue;
}
if ($subkey == "..")
{
continue;
}
if (`script dirwrapper.eps "$docsandsettings\\$subkey\\Local Settings\\History\\cache\\iecache.dll"`)
{
return true;
}
}
return false;