当前位置: 首页>>代码示例>>Python>>正文


Python Tester.wp_vulns方法代码示例

本文整理汇总了Python中tester.Tester.wp_vulns方法的典型用法代码示例。如果您正苦于以下问题:Python Tester.wp_vulns方法的具体用法?Python Tester.wp_vulns怎么用?Python Tester.wp_vulns使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在tester.Tester的用法示例。


在下文中一共展示了Tester.wp_vulns方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: code

# 需要导入模块: from tester import Tester [as 别名]
# 或者: from tester.Tester import wp_vulns [as 别名]
     # tes = fp.check_if_exist("http://www.123algeriasport.com/wp-content/plugins/social-discussions/")
     print "[!] CMS installed is : " + t
     if t == "wordpress":
         print "[x] Searching for plugins or themes in the code (passive search): \n"
         ic.get_info_passive(url, t)
         print "[x] Fingerprinting using readme.html \n"
         print "[!] Wordpress Version is : " + str(fp.wp_fp_rm(url)) + "\n"
         print "[x] Fingerprinting Using advanced fingerprinting \n"
         print "[!] Wordpress Version is :" + str(fp.wp_fp(url)) + "\n"
         print "[x] Searching for plugins and Themes using agressive mode: \n"
         ic.get_info_aggressive(url, "top", "plugins")
         print "\n"
         ic.get_info_aggressive(url, "top", "themes")
         print "\n"
         if fp.wp_fp(url) == "None":
             ts.wp_vulns(fp.wp_fp_rm(url))
         else:
             ts.wp_vulns(str(fp.wp_fp(url)))
         print "\n"
         print "[x] Scanning for plugins Vulns :\n"
         ts.wp_plugins_vulns(url)
         print "\n"
         print "[x] Scanning for Themes Vulns :\n"
         ts.wp_theme_vulns(url)
 elif o in ("-t", "--type"):
     type = u
     if type == "wordpress":
         print "[x] Searching for plugins or themes in the code (passive search): \n"
         ic.get_info_passive(url, type)
         print "[x] Fingerprinting using readme.html \n"
         readmev = fp.wp_fp_rm(url)
开发者ID:nicovs,项目名称:odz,代码行数:33,代码来源:scannerc.py

示例2: code

# 需要导入模块: from tester import Tester [as 别名]
# 或者: from tester.Tester import wp_vulns [as 别名]
		t = fp.detect_cms(url)
		print "[!] CMS installed is : "+t
		if (t == "wordpress"):
			print "[x] Searching for plugins or themes in the code (passive search): \n"
			ic.get_info_passive(url,t)
			print "[x] Fingerprinting using readme.html \n"
			print "[!] Wordpress Version is : "+fp.wp_fp_rm(url)+"\n"
			print "[x] Fingerprinting Using advanced fingerprinting \n"
			print "[!] Wordpress Version is :"+str(fp.wp_fp(url))+"\n"
			print "[x] Searching for plugins and Themes using agressive mode: \n"
			ic.get_info_aggressive(url,"top","plugins")
			print "\n"
			ic.get_info_aggressive(url,"top","themes")
			print "\n"
			print "[x] Scanning for core Vulns : \n"
			ts.wp_vulns(fp.wp_fp(url))
			print "\n"
			print "[x] Scanning for plugins Vulns :\n"
			ts.wp_plugins_vulns(url)
			print "\n"
			print "[x] Scanning for Themes Vulns :\n"
			ts.wp_theme_vulns(url)
	elif o in ("-t","--type"):
		type = u
		if (type == "wordpress"):
			print "[x] Searching for plugins or themes in the code (passive search): \n"
			ic.get_info_passive(url,type)
			print "[x] Fingerprinting using readme.html \n"
			print "[!] Wordpress Version is : "+fp.wp_fp_rm(url)+"\n"
			print "[x] Fingerprinting Using advanced fingerprinting \n"
			print "[!] Wordpress Version is :"+fp.wp_fp(url)+"\n"
开发者ID:asim-jaweesh,项目名称:odz,代码行数:33,代码来源:scannerc.py


注:本文中的tester.Tester.wp_vulns方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。