(转)检测是否有抓包工具在运行
namespace checkHttp{
var antiInfo = {"HTTP Analyzer Stand-Alone Edition";"Fiddler";"Charles Web Debugging Proxy";"IPAnalyse Microsoft 基础类应用程序";"Wireshark";"Sniffer";"WSockExpert"}
antiInfo = {"Analyzer";"Fiddler";"Charles";"IPAnalyse";"Wireshark";"Sniffer";"WSockExpert"}
import process
import fsys.version
var find = function(str){
for(i=1;#antiInfo;1){
if(..string.indexOf(str,antiInfo[i])) return true;
}
}
check = function(){
var exepath,exeinfo
for processEntry in process.each( ".*.exe" ) {
exepath = process.getPath(processEntry.th32ProcessID)
if(exepath){
exeinfo = fsys.version.getInfo(exepath)
if(exeinfo){
if(find(exeinfo.fileDescription)) return exeinfo.fileDescription;
}
}
}
}
}
import console
console.log(checkHttp.check())
console.pause()
来自群友kio1分享
登录后方可回帖