當前位置: 首頁>>代碼示例>>Python>>正文


Python Tester.wp_plugins_vulns方法代碼示例

本文整理匯總了Python中tester.Tester.wp_plugins_vulns方法的典型用法代碼示例。如果您正苦於以下問題:Python Tester.wp_plugins_vulns方法的具體用法?Python Tester.wp_plugins_vulns怎麽用?Python Tester.wp_plugins_vulns使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在tester.Tester的用法示例。


在下文中一共展示了Tester.wp_plugins_vulns方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: str

# 需要導入模塊: from tester import Tester [as 別名]
# 或者: from tester.Tester import wp_plugins_vulns [as 別名]
         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)
         print "[!] Wordpress Version is : " + fp.wp_fp_rm(url) + "\n"
         print "[x] Fingerprinting Using advanced fingerprinting \n"
         advv = str(fp.wp_fp(url))
         print "[!] Wordpress Version is :" + advv + "\n"
         print "[x] Searching for plugins and Themes using agressive mode: \n"
開發者ID:nicovs,項目名稱:odz,代碼行數:33,代碼來源:scannerc.py


注:本文中的tester.Tester.wp_plugins_vulns方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。