(转载)fofa语法的cms识别脚本
可以看到识别规则会包含⼀些逻辑运算符,原作者只使⽤了正则来粗略的处理,感觉误报会很多,于是
我⽤“后缀表达式”的⽅法来识别这些运算符,感觉算是可以完美处理这些规则了。
style
⽀持 body=”” titile=”” 这些语法,⽀持 && || ( ) 等的运算符。同时也把sqlite数据导出为json格式,然后⾃⼰也加了⼀些识别规则。
p s: ⽤类似表达式的⽅式来作指纹识别,只访问⼀次⾸页就能得出结果,⽤各种运算符来保证准确性,感觉挺不错的。
指纹
[
{
"name": "Dell-Printer",
"rule": "title=\"Dell Lar Printer\"",
"program": ""
},
{
"name": "HP-OfficeJet-Printer",
"rule": "title=\"HP Officejet\" || body=\"align=\"center\">HP Officejet\"",
"program": ""
},
{
"name": "Biscom-Delivery-Server",
"rule": "body=\"/bds/stylesheets/fds.css\" || body=\"/bds/includes/fdsJavascript.do\"",
"program": ""
},
{
"name": "DD-WRT",
"rule": "body=\"style/pwc/ddwrt.css\"",
"program": ""
},
{
"name": "ewebeditor",
"rule": "body=\"/ewebeditor.htm?\"",sowhat
"program": ""
},
{
"name": "fckeditor",
"rule": "body=\"new FCKeditor\"",
"program": ""
},
{
"name": "xheditor",
"rule": "body=\"xheditor_lang/zh-cn.js\"||body=\"class=\"xheditor\"||body=\".xheditor(\"",
"program": ""
},
{
"name": "百为路由",
"rule": "body=\"提交验证的id必须是ctl_submit\"",
"program": ""
},
{
"name": "锐捷NBR路由器",
"rule": "body=\"free_nbr_login_form.png\"",
"program": ""
},
{
"name": "mikrotik",
"rule": "title=\"RouterOS\" && body=\"mikrotik\"",
"program": ""
},
{
"name": "ThinkSNS",
"rule": "body=\"/addons/theme/\" && body=\"全局变量\"",
"program": ""
},
{
"name": "h3c路由器",
"rule": "title=\"Web ur login\" && body=\"nLanguageSupported\"",
"program": ""
},
{
"name": "jcg⽆线路由器",
"rule": "title=\"Wireless Router\" && body=\"\"",
"program": ""
},
{
"name": "D-Link_VoIP_Wireless_Router",
"rule": "title=\"D-Link VoIP Wireless Router\"",
"program": ""
},
{
"name": "arrisi_Touchstone",
"rule": "title=\"Touchstone Status\" || body=\"passWithWarnings\"",
"program": ""
},
{
"name": "ZyXEL",
"rule": "body=\"Forms/rpAuth_1\"",
"program": ""
},
{
"name": "Ruckus",
"rule": "body=\"mon. Tell me your urname\" || title=\"Ruckus Wireless Admin\"",
"program": ""
},
{
"name": "Motorola_SBG900",
"rule": "title=\"Motorola SBG900\"",
"program": ""
},
{
"name": "Wimax_CPE",
"rule": "title=\"Wimax CPE Configuration\"",
"program": ""
},
{
"name": "Cisco_Cable_Modem",
"rule": "title=\"Cisco Cable Modem\"",
"program": ""
},
{
"name": "Scientific-Atlanta_Cable_Modem",
"rule": "title=\"Scientific-Atlanta Cable Modem\"",
"program": ""
},
{
"name": "rap",
"rule": "body=\"/jscripts/rap_util.js\"",
"program": ""
},
{
"name": "ZTE_MiFi_UNE",
"rule": "title=\"MiFi UNE 4G LTE\"",
"program": ""
},
{
"name": "ZTE_ZSRV2_Router",
"rule": "title=\"ZSRV2路由器Web管理系统\" && body=\"ZTE Corporation. All Rights Rerved.\"",
"program": ""
},
{
"name": "百为智能流控路由器",
"rule": "title=\"BYTEVALUE 智能流控路由器\" && body=\"<a href=\"/\" target=\"_blank\">\"", "program": ""
},
{
"name": "乐视路由器",
"rule": "title=\"乐视路由器\" && body=\"<div class=\"login-logo\"></div>\"",
"program": ""
},
{
"name": "Verizon_Wireless_Router",
"rule": "title=\"Wireless Broadband Router Management Console\" && body = \"verizon_logo_blk.gif\"",
"program": ""
},
{
"name": "Nexus_NX_router",
"rule": "body=\"/\" && title=\"Nexus NX\"",
"program": ""
},
{
"name": "Verizon_Router",
"rule": "title=\"Verizon Router\"",
"program": ""
},
{
tadpole
"name": "⼩⽶路由器",
"rule": "title=\"⼩⽶路由器\" ",
"program": ""
},
{
"name": "QNO_Router",
"rule": "body=\"/QNOVirtual_Keyboard.js\" && body=\"/images/login_img01_03.gif\"",
remdesivir"program": ""
},
{
"name": "爱快流控路由",
"rule": "title=\"爱快\" && body=\"/resources/images/land_prompt_ico01.gif\"",
"program": ""
},
{
"name": "Django",
"rule": "body=\"__admin_media_prefix__\" || body=\"csrfmiddlewaretoken\"",
"program": ""
},
{
"name": "axis2-web",
"rule": "body=\"axis2-web/css/axis-style.css\"",
"program": ""
},
{
"name": "Apache-Wicket",
"rule": "body=\"xmlns:wicket=\" || body=\"/org.apache.wicket.\"",
"program": ""
},
{
"name": "BEA-WebLogic-Server",
"rule": "body=\"<h1>BEA WebLogic Server\" || body=\"WebLogic\"",
"program": ""
},
{
"name": "EDK",
"rule": "body=\"<!-- /killlistable.tpl -->\"",
"program": ""
},
{
"name": "eDirectory",
"rule": "body=\"target=\"_blank\">eDirectory&trade\" || body=\"Powered by <a href=\"\"", "program": ""
},
{
"name": "Esvon-Classifieds",
"rule": "body=\"Powered by Esvon\"",
"program": ""
},
{
"name": "Fluid-Dynamics-Search-Engine",
"rule": "body=\"content=\"fluid dynamics\"",
"program": ""
},
{
"name": "mongodb",
"rule": "body=\"<a href=\"/_replSet\">Replica t status</a></p>\"",
"program": ""
},
{
"name": "MVB2000",
"rule": "title=\"MVB2000\" || body=\"The Magic Voice Box\"",
"program": ""
},
{
"name": "GPSweb",
"rule": "title=\"GPSweb\"",
"program": ""
},
{
"name": "phpinfo",
"rule": "title=\"phpinfo\" && body=\"Virtual Directory Support \"",
"program": ""
},
{
"name": "lemis管理系统",
"rule": "body=\"lemis.WEB_APP_NAME\"",
"program": ""
},
{
"name": "FreeboxOS",
"rule": "title=\"Freebox OS\" || body=\"logo_freeboxos\"",
"program": ""
},
{
"name": "Wimax_CPE",
"rule": "title=\"Wimax CPE Configuration\"",
"program": ""
},
{
"name": "Scientific-Atlanta_Cable_Modem",
"rule": "title=\"Scientific-Atlanta Cable Modem\"",
"program": ""
},
{
"name": "rap",
"rule": "body=\"/jscripts/rap_util.js\"",
"program": ""
},
{
"name": "ZTE_MiFi_UNE",
"rule": "title=\"MiFi UNE 4G LTE\"",
"program": ""
},
笔译二级
{
"name": "⽤友商战实践平台",
"rule": "body=\"Login_Main_BG\" && body=\"Login_Owner\"",
"program": ""
},
{
"name": "moofs",
"rule": "body=\"i\" || body=\"under-goal files\"",
"program": ""
},
{
"name": "蓝盾BDWebGuard",
"rule": "body=\"BACKGROUND: url(images/loginbg.jpg) #e5f1fc\"",
"program": ""
},
{
"name": "护卫神⽹站安全系统",
"rule": "title=\"护卫神.⽹站安全系统\"",
"program": ""
},
{
"name": "phpDocumentor",
"rule": "body=\"Generated by phpDocumentor\"",
"program": ""
},
{
"name": "Adobe_ CQ5",
"rule": "body=\"_jcr_content\"",
"program": ""
},
{
"name": "Adobe_GoLive",
"rule": "body=\"generator\" content=\"Adobe GoLive\"",
james cameron"program": ""
},
{
"name": "Adobe_RoboHelp",
"rule": "body=\"generator\" content=\"Adobe RoboHelp\"",
"program": ""
},
{
"name": "Amaya",
"rule": "body=\"generator\" content=\"Amaya\"",
"program": ""
},
{
"name": "OpenMas",
"rule": "title=\"OpenMas\" || body=\"loginHead\"><link href=\"App_Themes\"",
"program": ""
},
{
"name": "recaptcha",
"rule": "body=\"recaptcha_ajax.js\"",
"program": ""
},
{
"name": "TerraMaster",
"rule": "title=\"TerraMaster\" && body=\"/js/common.js\"",
"program": ""
},
{
"name": "创星伟业校园⽹群",
"rule": "body=\"javascripts/float.js\" && body=\"vcxvcxv\"",
"program": ""
},
{
"name": "正⽅教务管理系统",
"rule": "body=\"style/ba/jw.css\"",
"program": ""
},
{
"name": "UFIDA_NC",
"rule": "(body=\"UFIDA\" && body=\"logo/images/\") || body=\"logo/images/ufida_nc.png\"", "program": ""
},
{
"name": "北创图书检索系统",
"rule": "body=\"opac_two\"",
"program": ""
},
{
拖车费
"name": "北京清科锐华CEMIS",
"rule": "body=\"/theme/2009/image\" && body=\"login.asp\"",
"program": ""
},
{
"name": "RG-PowerCache内容加速系统",
"rule": "title=\"RG-PowerCache\"",
"program": ""
},
{
"name": "sugon_gridview",
"rule": "body=\"/common/resources/images/common/app/gridview.ico\"",
"program": ""
},
{
"name": "SLTM32_Configuration",
"rule": "title=\"SLTM32 Web Configuration Pages \"",
"program": ""
},
{
"name": "SHOUTcast",
"rule": "title=\"SHOUTcast Administrator\"",
"program": ""
},
{
"name": "milu_otool",
"rule": "body=\"plugin.php?id=milu_otool\"",
"program": ""
},
{
"name": "CISCO_EPC3925",
"rule": "body=\"Docsis_system\" && body=\"EPC3925\"",
"program": ""
},
{
"name": "HP_iLO(HP_Integrated_Lights-Out)",
"rule": "body=\"js/iLO.js\"",
"program": ""
},
{
"name": "Siemens_SIMATIC",
"rule": "body=\"/S7Web.css\"",
"program": ""
},
{
"name": "Schneider_Quantum_140NOE77101",
"rule": "body=\"indexLanguage\" && body=\"html/config.js\"",
"program": ""
},
{
"name": "lynxspring_JENEsys",
"rule": "body=\"LX JENEsys\"",
"program": ""
},
{
星期一到星期六"name": "Sophos_Web_Appliance",
"rule": "title=\"Sophos Web Appliance\"",
"program": ""
},
{
"name": "Comcast_Business",
"rule": "body=\"cmn/css/common-min.css\"",
"program": ""
},
{
"name": "Locus_SolarNOC",
"rule": "title=\"SolarNOC - Login\"",
"program": ""
},
{
"name": "Everything",
"rule": "(body=\"Everything.gif\"||body=\"everything.png\") && title=\"Everything\"",
"program": ""
},
{
"name": "honeywell NetAXS",
"rule": "title=\"Honeywell NetAXS\"",
"program": ""
},
{
"name": "Symantec Messaging Gateway",
"rule": "title=\"Messaging Gateway\"",
"program": ""
},
{
"name": "xfinity",
"rule": "title=\"Xfinity\" || body=\"/ret-meyer-1.0.min.css\"",
"program": ""
},
{
"name": "⽹动云视讯平台",
"rule": "title=\"Acenter\" || body=\"/js/roomHeight.js\" || body=\"meetingShow!show.action\"", "program": ""
},
{
"name": "蓝凌EIS智慧协同平台",
"rule": "body=\"/scripts/js\" || body=\"v11_QRcodeBar clr\"",
"program": ""
},
{
"name": "⾦⼭KingGate",
"rule": "body=\"/src/system/login.php\"",
"program": ""
},
{
"name": "天融信⼊侵检测系统TopSentry",
"rule": "title=\"天融信⼊侵检测系统TopSentry\"",
"program": ""
},
{
"name": "天融信⽇志收集与分析系统",
"rule": "title=\"天融信⽇志收集与分析系统\"",
"program": ""
},
{
"name": "天融信WEB应⽤防⽕墙",
"rule": "title=\"天融信WEB应⽤防⽕墙\"",
"program": ""
},
{
"name": "天融信⼊侵防御系统TopIDP",
"rule": "body=\"天融信⼊侵防御系统TopIDP\"",
"program": ""
},
{
"name": "天融信Web应⽤安全防护系统",
"rule": "title=\"天融信Web应⽤安全防护系统\"",
"program": ""
},
{
"name": "天融信TopFlow",
"rule": "body=\"天融信TopFlow\"",
"program": ""
},
{
"name": "汉码软件",
"rule": "title=\"汉码软件\" || body=\"alt=\"汉码软件LOGO\" || body=\"content=\"汉码软件\"",
"program": ""
},
{
"name": "凡科",
"rule": "body=\"凡科互联⽹科技股份有限公司\" || body=\"content=\"凡科\"",
"program": ""
},
{
"name": "易分析",
"rule": "title=\"易分析 PHPStat Analytics\" || body=\"PHPStat Analytics ⽹站数据分析系统\"",
"program": ""
},
{
"name": "phpems考试系统",
"rule": "title=\"phpems\" || body=\"content=\"PHPEMS\"",
"program": ""
},
{
"name": "智睿软件",
湖南英语四级报名"rule": "body=\"content=\"智睿软件\" || body=\"Zhirui.js\"",
"program": ""
},
{
"name": "Apabi数字资源平台",
"rule": "body=\"Default/apabi.css\" || body=\"<link href=\"HTTP://apabi\" || title=\"数字资源平台\"",
"program": ""
},
{
"name": "Fortinet Firewall",
"rule": "title=\"Firewall Notification\"",
"program": ""
},
{
"name": "WDlinux",
"rule": "title=\"wdOS\"",
"program": ""
},
{
"name": "⼩脑袋",
"rule": "body=\"/stat.php\"",
"program": ""
},
{
"name": "天融信ADS管理平台",
"rule": "title=\"天融信ADS管理平台\"",
"program": ""
},
{
"name": "天融信异常流量管理与抗拒绝服务系统",
"rule": "title=\"天融信异常流量管理与抗拒绝服务系统\"",
"program": ""
},
{
"name": "天融信⽹络审计系统",
"rule": "body=\"onclick=\"dlg_download()\"",
"program": ""
},
{
"name": "天融信脆弱性扫描与管理系统",品质因素
"rule": "title=\"天融信脆弱性扫描与管理系统\" || body=\"/js/report/horizontalReportPanel.js\"",
"program": ""
},
{
"name": "AllNewsManager_NET",
"rule": "body=\"Powered by\" && body=\"AllNewsManager\"",
"program": ""
},
{
"name": "Advanced-Image-Hosting-Script",
"rule": "(body=\"Powered by\" && body=\"\" ) || body=\"Welcome to install AIHS Script\"",
"program": ""
},
{
"name": "SNB股票交易软件",
"rule": "body=\"Copyright 2005–2009 <a href=\"\">\"",
"program": ""
},
{
"name": "AChecker Web accessibility evaluation tool",
"rule": "body=\"content=\"AChecker is a Web accessibility\" || title=\"Checker : Web Accessibility Checker\"", "program": ""
},
{
"name": "SCADA PLC",