|
|
@@ -1745,7 +1745,7 @@ int ResourceWatcherFSM::DetectAutoStartupType()
|
|
|
std::string strValue(szValue);
|
|
|
strValue = SP::Utility::ToLower(strValue);
|
|
|
CSimpleStringA value(strValue.c_str());
|
|
|
- if (value.IsStartWith("spexplorer", true) && value.IsEndWith(".vbs", true)) {
|
|
|
+ if (value.IsStartWith("wscript", true) && value.IsEndWith(".vbs", true)) {
|
|
|
LogWarn(Severity_Low, Error_Debug, LOG_WARN_AUTO_STARTUP_FROM_REGIST, value);
|
|
|
vbsType = 1;
|
|
|
}
|