Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed :version_regexp_offset, :modules_regexp_offset, etc to :regex…

…p_offset for simplicity. Updated 86 plugins using this. Also added :filepath result type.
  • Loading branch information...
commit b00f0af57637612beaeee69383ed75429e1e57f2 1 parent d967f26
@urbanadventurer urbanadventurer authored
Showing with 183 additions and 156 deletions.
  1. +2 −0  CHANGELOG
  2. +14 −6 lib/output.rb
  3. +25 −8 lib/plugins.rb
  4. +1 −1  plugins/360-web-manager.rb
  5. +1 −1  plugins/4images.rb
  6. +4 −4 plugins/ASP.NET.rb
  7. +2 −2 plugins/Ad-Network-Script.rb
  8. +1 −1  plugins/AdaptCMS.rb
  9. +3 −3 plugins/Advanced-Image-Hosting-Script.rb
  10. +1 −1  plugins/BrowserCMS.rb
  11. +1 −1  plugins/Exponent-CMS.rb
  12. +3 −3 plugins/FastCGI-echo.rb
  13. +1 −1  plugins/HoloCMS.rb
  14. +2 −2 plugins/KMSoft-Guestbook.rb
  15. +2 −2 plugins/MySQL-dump.rb
  16. +2 −2 plugins/NetWin-DBabble.rb
  17. +1 −1  plugins/NetWin-Surgemail.rb
  18. +1 −1  plugins/Open-Realty.rb
  19. +2 −2 plugins/OurDisclaimer.rb
  20. +3 −3 plugins/PHP-Hosting-Directory.rb
  21. +1 −1  plugins/PluXml.rb
  22. +3 −3 plugins/Price-Comparison-Script.rb
  23. +1 −1  plugins/TeamSpeak-Server-Log.rb
  24. +1 −1  plugins/TheHostingTool.rb
  25. +1 −1  plugins/UCenter-Home.rb
  26. +1 −1  plugins/WS_FTP-log.rb
  27. +1 −1  plugins/WebSideStory.rb
  28. +3 −3 plugins/XMB.rb
  29. +1 −1  plugins/Zimplit-CMS.rb
  30. +2 −2 plugins/aardvark-topsites-php.rb
  31. +1 −1  plugins/advanced-guestbook.rb
  32. +1 −1  plugins/allinta-CMS.rb
  33. +1 −1  plugins/anyInventory.rb
  34. +2 −2 plugins/arab-portal.rb
  35. +1 −1  plugins/argosoft-mail-server.rb
  36. +3 −3 plugins/asp-nuke.rb
  37. +3 −3 plugins/aspWebLinks.rb
  38. +3 −3 plugins/awstats.rb
  39. +2 −2 plugins/b2evolution.rb
  40. +1 −1  plugins/blogn-plus.rb
  41. +1 −1  plugins/boastmachine.rb
  42. +3 −3 plugins/burning-board-lite.rb
  43. +1 −1  plugins/cPassMan.rb
  44. +1 −1  plugins/cgiproxy.rb
  45. +1 −1  plugins/cmsimple.rb
  46. +1 −1  plugins/concrete5.rb
  47. +1 −1  plugins/confluence.rb
  48. +1 −1  plugins/coppermine.rb
  49. +1 −1  plugins/cpanel.rb
  50. +1 −1  plugins/dugallery.rb
  51. +1 −1  plugins/f3site.rb
  52. +1 −1  plugins/fluentNET.rb
  53. +1 −1  plugins/formmail.rb
  54. +2 −2 plugins/i-Gallery.rb
  55. +4 −4 plugins/invision-power-board.rb
  56. +1 −1  plugins/loggix.rb
  57. +1 −1  plugins/magento.rb
  58. +2 −2 plugins/meta-author.rb
  59. +2 −2 plugins/meta-city.rb
  60. +2 −2 plugins/meta-contact.rb
  61. +2 −2 plugins/meta-country.rb
  62. +8 −8 plugins/meta-geography.rb
  63. +2 −2 plugins/meta-state.rb
  64. +2 −2 plugins/meta-zipcode.rb
  65. +1 −1  plugins/mikrotik-router.rb
  66. +1 −1  plugins/movable_type.rb
  67. +2 −2 plugins/nmap-log.rb
  68. +1 −1  plugins/open_graph_protocol.rb
  69. +1 −1  plugins/otrs.rb
  70. +1 −1  plugins/philboard.rb
  71. +2 −2 plugins/php-easy-data.rb
  72. +1 −1  plugins/php-error.rb
  73. +1 −1  plugins/php-link-directory.rb
  74. +1 −1  plugins/php-shell.rb
  75. +2 −2 plugins/phpMyFAQ.rb
  76. +1 −1  plugins/phpfreechat.rb
  77. +2 −2 plugins/phpmyadmin.rb
  78. +3 −3 plugins/phpsysinfo.rb
  79. +1 −1  plugins/sNews.rb
  80. +1 −1  plugins/searchfit-shopping-cart.rb
  81. +1 −1  plugins/squirrelmail.rb
  82. +1 −1  plugins/trac.rb
  83. +2 −2 plugins/umbraco.rb
  84. +2 −2 plugins/uportal.rb
  85. +3 −3 plugins/vbulletin.rb
  86. +1 −1  plugins/vp-asp.rb
  87. +1 −1  plugins/vsns-lemon.rb
  88. +1 −1  plugins/wordpress-contact-form.rb
  89. +1 −1  plugins/wordpress.rb
View
2  CHANGELOG
@@ -33,6 +33,8 @@ Version 0.4.6 Released ? 2010
* Added IP plugin
* Moved some plugins into disabled-plugins, as they clutter output. adobe_flash.rb, footer-hash.rb, frame.rb, header-hash.rb, md5.rb, script.rb, shortcut-icon.rb, tagpattern-hash.rb
* Model and Firmware results now display in dark green
+* Changed :version_regexp_offset, :modules_regexp_offset, etc to :regexp_offset. Updated 86 plugins.
+* Added :filepath match type
Version 0.4.5 Released August 17th 2010
View
20 lib/output.rb
@@ -58,6 +58,7 @@ def out(target, status, results)
stuff << "firmware: #{pr[:firmware]}" if pr[:firmware]
stuff << "modules: #{pr[:modules]}" if pr[:modules]
stuff << "accounts: #{pr[:accounts]}" if pr[:accounts]
+ stuff << "filepath: #{pr[:filepath]}" if pr[:filepath]
stuff << "url: #{pr[:url]}" if pr[:url]
name_of_match + ( !stuff.empty? ? " (" + stuff.join(",") +")" : "" )
end
@@ -88,7 +89,8 @@ def out(target, status, results)
model = plugin_results.map {|x| x[:model] }.compact.sort.uniq.join(",")
firmware = plugin_results.map {|x| x[:firmware] }.compact.sort.uniq.join(",")
modules = plugin_results.map {|x| x[:modules] }.compact.sort.uniq.join(",")
-
+ filepath = plugin_results.map {|x| x[:filepath] }.compact.sort.uniq.join(",")
+
# be more DRY
# if plugins have categories or tags this would be better, eg. all hash plugins are grey
if (@f == STDOUT and $use_colour=="auto") or ($use_colour=="always")
@@ -116,6 +118,7 @@ def out(target, status, results)
(!accounts.empty? ? "["+ accounts+"]" : "" ) +
(!model.empty? ? "["+ dark_green(model)+"]" : "" ) +
(!firmware.empty? ? "["+ dark_green(firmware)+"]" : "" ) +
+ (!filepath.empty? ? "["+ dark_green(firmware)+"]" : "" ) +
(!modules.empty? ? "["+ magenta(modules)+"]" : "" )
@@ -127,6 +130,7 @@ def out(target, status, results)
(!accounts.empty? ? " ["+ accounts+"]" : "" ) +
(!model.empty? ? "["+ model+"]" : "" ) +
(!firmware.empty? ? "["+ firmware+"]" : "" ) +
+ (!filepath.empty? ? "["+ firmware+"]" : "" ) +
(!modules.empty? ? "["+ modules+"]" : "" )
end
end
@@ -176,12 +180,13 @@ def out(target, status, results)
# important info in brief mode is version, type and ?
# what's the highest probability for the match?
certainty = plugin_results.map {|x| x[:certainty] }.compact.sort.uniq.last
- version = plugin_results.map {|x| x[:version] }.flatten.compact.sort.uniq
- string = plugin_results.map {|x| x[:string] }.flatten.compact.sort.uniq
- accounts = plugin_results.map {|x| [x[:account],x[:accounts] ] }.flatten.compact.sort.uniq
+ version = plugin_results.map {|x| x[:version] }.flatten.compact.sort.uniq.join(",")
+ string = plugin_results.map {|x| x[:string] }.flatten.compact.sort.uniq.join(",")
+ accounts = plugin_results.map {|x| [x[:account],x[:accounts] ] }.flatten.compact.sort.uniq.join(",")
model = plugin_results.map {|x| x[:model] }.compact.sort.uniq.join(",")
firmware = plugin_results.map {|x| x[:firmware] }.compact.sort.uniq.join(",")
modules = plugin_results.map {|x| x[:modules] }.flatten.compact.sort.uniq
+ filepath = plugin_results.map {|x| x[:filepath] }.flatten.compact.sort.uniq.join(",")
@f.puts "\t\t<certainty>#{escape(certainty)}</certainty>" if certainty and certainty < 100
version.map {|x| @f.puts "\t\t<version>#{escape(x)}</version>" }
@@ -189,6 +194,7 @@ def out(target, status, results)
accounts.map {|x| @f.puts "\t\t<accounts>#{escape(x)}</accounts>" }
model.map {|x| @f.puts "\t\t<model>#{escape(x)}</model>" }
firmware.map {|x| @f.puts "\t\t<firmware>#{escape(x)}</firmware>" }
+ filepath.map {|x| @f.puts "\t\t<filepath>#{escape(x)}</filepath>" }
if modules.size > 0
@f.puts "\t\t<modules>\n" + modules.map {|x| "\t\t\t<module>#{escape(x)}</module>" }.join("\n") + "\n\t\t</modules>"
@@ -216,9 +222,10 @@ def out(target, status, results)
version = plugin_results.map {|x| x[:version] }.flatten.compact.sort.uniq
string = plugin_results.map {|x| x[:string] }.flatten.compact.sort.uniq
accounts = plugin_results.map {|x| [x[:account],x[:accounts] ] }.flatten.compact.sort.uniq
- model = plugin_results.map {|x| x[:model] }.compact.sort.uniq.join(",")
- firmware = plugin_results.map {|x| x[:firmware] }.compact.sort.uniq.join(",")
+ model = plugin_results.map {|x| x[:model] }.compact.sort.uniq
+ firmware = plugin_results.map {|x| x[:firmware] }.compact.sort.uniq
modules = plugin_results.map {|x| x[:modules] }.flatten.compact.sort.uniq
+ filepath = plugin_results.map {|x| x[:filepath] }.flatten.compact.sort.uniq
certainty.nil? ? thisplugin[:certainty] = 100 : thisplugin[:certainty] = certainty
thisplugin[:version] = version unless version.empty?
@@ -227,6 +234,7 @@ def out(target, status, results)
thisplugin[:model] = model unless model.empty?
thisplugin[:firmware] = firmware unless firmware.empty?
thisplugin[:modules] = modules unless modules.empty?
+ thisplugin[:filepath] = filepath unless filepath.empty?
foo[:plugins] << thisplugin
end
end
View
33 lib/plugins.rb
@@ -94,7 +94,7 @@ def x
if !match[:version].nil? and match[:version].class==Regexp
if @body =~ match[:version]
m = match.dup
- m[:version] = @body.scan(match[:version])[0][match[:version_regexp_offset]]
+ m[:version] = @body.scan(match[:version])[0][match[:regexp_offset]]
r << m
end
end
@@ -104,7 +104,7 @@ def x
if @body =~ match[:model]
m = match.dup
- m[:model] = @body.scan(match[:model])[0][match[:model_regexp_offset]]
+ m[:model] = @body.scan(match[:model])[0][match[:regexp_offset]]
r << m
end
end
@@ -114,7 +114,7 @@ def x
if @body =~ match[:string]
m = match.dup
- m[:string] = @body.scan(match[:string])[0][match[:string_regexp_offset]]
+ m[:string] = @body.scan(match[:string])[0][match[:regexp_offset]]
r << m
end
end
@@ -123,7 +123,16 @@ def x
if !match[:firmware].nil? and match[:firmware].class==Regexp
if @body =~ match[:firmware]
m = match.dup
- m[:firmware] = @body.scan(match[:firmware])[0][match[:firmware_regexp_offset]]
+ m[:firmware] = @body.scan(match[:firmware])[0][match[:regexp_offset]]
+ r << m
+ end
+ end
+
+ # Filepath
+ if !match[:filepath].nil? and match[:filepath].class==Regexp
+ if @body =~ match[:filepath]
+ m = match.dup
+ m[:filepath] = @body.scan(match[:filepath])[0][match[:regexp_offset]]
r << m
end
end
@@ -191,7 +200,7 @@ def x
if !match[:version].nil? and match[:version].class==Regexp
if thisbody =~ match[:version]
m = match.dup
- m[:version] = thisbody.scan(match[:version])[0][match[:version_regexp_offset]]
+ m[:version] = thisbody.scan(match[:version])[0][match[:regexp_offset]]
r << m
end
end
@@ -199,7 +208,7 @@ def x
if !match[:model].nil? and match[:model].class==Regexp
if thisbody =~ match[:model]
m = match.dup
- m[:model] = thisbody.scan(match[:model])[0][match[:model_regexp_offset]]
+ m[:model] = thisbody.scan(match[:model])[0][match[:regexp_offset]]
r << m
end
end
@@ -207,7 +216,7 @@ def x
if !match[:string].nil? and match[:string].class==Regexp
if thisbody =~ match[:string]
m = match.dup
- m[:string] = thisbody.scan(match[:string])[0][match[:string_regexp_offset]]
+ m[:string] = thisbody.scan(match[:string])[0][match[:regexp_offset]]
r << m
end
end
@@ -215,7 +224,15 @@ def x
if !match[:firmware].nil? and match[:firmware].class==Regexp
if thisbody =~ match[:firmware]
m = match.dup
- m[:firmware] = thisbody.scan(match[:firmware])[0][match[:firmware_regexp_offset]]
+ m[:firmware] = thisbody.scan(match[:firmware])[0][match[:regexp_offset]]
+ r << m
+ end
+ end
+
+ if !match[:filepath].nil? and match[:filepath].class==Regexp
+ if thisbody =~ match[:filepath]
+ m = match.dup
+ m[:filepath] = thisbody.scan(match[:filepath])[0][match[:regexp_offset]]
r << m
end
end
View
2  plugins/360-web-manager.rb
@@ -44,7 +44,7 @@
{ :regexp=>/360WebManager Software :: administrador contenidos web/, :certainty=>75 },
# Version detection # Powered by text
-{ :version=>/<div align="center"><span class="copyr">Powered by <a href="http:\/\/www.360webmanager.com" target="_blank" class="copyrlink">360 Web Manager<\/a> ([\d\.]+)/, :version_regexp_offset=>0 },
+{ :version=>/<div align="center"><span class="copyr">Powered by <a href="http:\/\/www.360webmanager.com" target="_blank" class="copyrlink">360 Web Manager<\/a> ([\d\.]+)/, :regexp_offset=>0 },
]
View
2  plugins/4images.rb
@@ -30,7 +30,7 @@
{ :regexp=>/Copyright &copy; 2002-[0-9]{4} <a href="http:\/\/www.4homepages.de[\>]*>4homepages.de<\/a>/ },
# Version detection # Powered by text
-{ :version=>/Powered by <b>4images<\/b> ([\d\.]+)/, :version_regexp_offset=>0 },
+{ :version=>/Powered by <b>4images<\/b> ([\d\.]+)/, :regexp_offset=>0 },
]
View
8 plugins/ASP.NET.rb
@@ -85,12 +85,12 @@
{ :text=>'vti_title:SR|Web Settings for Active Server Pages' },
# Get connection strings # global.asa
-{ :version=>/connectionstring=DRIVER=([^\n]+)/, :version_regexp_offset=>0 },
-{ :version=>/connectionstring=Provider=([^\n]+)/, :version_regexp_offset=>0 },
+{ :version=>/connectionstring=DRIVER=([^\n]+)/, :regexp_offset=>0 },
+{ :version=>/connectionstring=Provider=([^\n]+)/, :regexp_offset=>0 },
# Get connection strings # web.config
-{:version=>/connectionString="([^\"]+)/, :version_regexp_offset=>0 },
-{:version=>/<add key="ConnectionString" value="([^\"]+)/, :version_regexp_offset=>0 },
+{:version=>/connectionString="([^\"]+)/, :regexp_offset=>0 },
+{:version=>/<add key="ConnectionString" value="([^\"]+)/, :regexp_offset=>0 },
]
View
4 plugins/Ad-Network-Script.rb
@@ -20,10 +20,10 @@
matches [
# Version detection # Admin page # Powered by text
-{ :version=>/<td width="100%" height="33" bgcolor="#ED7900" class="copyright">&copy; Web Administration Panel .v([\d\.]+) by <a href="http:\/\/www.kaonsoftwares.com\/" class="copyright" target="_blank">Kaon Softwares<\/a>. All Rights Reserved.<\/td>/, :version_regexp_offset=>0 },
+{ :version=>/<td width="100%" height="33" bgcolor="#ED7900" class="copyright">&copy; Web Administration Panel .v([\d\.]+) by <a href="http:\/\/www.kaonsoftwares.com\/" class="copyright" target="_blank">Kaon Softwares<\/a>. All Rights Reserved.<\/td>/, :regexp_offset=>0 },
# Version detection # Admin page # Powered by text
-{ :version=>/<td height="70%" valign="bottom" align="right"><font face="verdana" size="1" color="gray">&copy; Web Administration Panel .v([\d\.]+) by <a href="http:\/\/www.kaonsoftwares.com\/" class="" target="_blank">Kaon Softwares<\/a>. All Rights Reserved.<\/font><\/td>/, :version_regexp_offset=>0 },
+{ :version=>/<td height="70%" valign="bottom" align="right"><font face="verdana" size="1" color="gray">&copy; Web Administration Panel .v([\d\.]+) by <a href="http:\/\/www.kaonsoftwares.com\/" class="" target="_blank">Kaon Softwares<\/a>. All Rights Reserved.<\/font><\/td>/, :regexp_offset=>0 },
]
View
2  plugins/AdaptCMS.rb
@@ -21,7 +21,7 @@
matches [
# Version detection
-{ :version=>/Powered by <a href="http:\/\/www.adaptcms.com">[<b>]*AdaptCMS([^<]*)<\/a>/, :version_regexp_offset=>0 },
+{ :version=>/Powered by <a href="http:\/\/www.adaptcms.com">[<b>]*AdaptCMS([^<]*)<\/a>/, :regexp_offset=>0 },
# Powered by <a href="http://www.adaptcms.com">AdaptCMS</a>, <a href="http://www.adaptbb.com">AdaptBB</a>.
# Powered by <a href="http://www.adaptcms.com"><b>AdaptCMS</a>
View
6 plugins/Advanced-Image-Hosting-Script.rb
@@ -33,11 +33,11 @@
{ :text=>' <td colspan=2 align=center><h3>Advanced Image Host Script</h3></td>' },
# Version detection # Powered by text
-{ :version=>/Powered by: <B><a href="http:\/\/yabsoft.com">AIH v([\d\.]+)<\/a><\/B>/, :version_regexp_offset=>0 },
+{ :version=>/Powered by: <B><a href="http:\/\/yabsoft.com">AIH v([\d\.]+)<\/a><\/B>/, :regexp_offset=>0 },
# Version detection # Install page
-{ :version=>/<center><b>Welcome to install AIHS Script ([\d\.]+)<\/b><\/center>/, :version_regexp_offset=>0 },
-{ :version=>/<tr><td class=info width=100%>Welcome to install Advanced Image Hosting Script Pro ([\d\.]+) on your server<\/td><\/tr>/, :version_regexp_offset=>0 },
+{ :version=>/<center><b>Welcome to install AIHS Script ([\d\.]+)<\/b><\/center>/, :regexp_offset=>0 },
+{ :version=>/<tr><td class=info width=100%>Welcome to install Advanced Image Hosting Script Pro ([\d\.]+) on your server<\/td><\/tr>/, :regexp_offset=>0 },
]
View
2  plugins/BrowserCMS.rb
@@ -45,7 +45,7 @@
{ :regexp=>/<input type="hidden" name="failure_uri" value="[^>]*\/page.ww\?name=[^>]*\&section=[^>]*"\/>/ },
# Version detection # Meta generator
-{ :version=>/<meta name="generator" content="BrowserCMS ([^\"]+)"/, :version_regexp_offset=>0 },
+{ :version=>/<meta name="generator" content="BrowserCMS ([^\"]+)"/, :regexp_offset=>0 },
]
View
2  plugins/Exponent-CMS.rb
@@ -32,7 +32,7 @@
matches [
# Version detection # Version detection
-{ :version=>/<meta name="Generator" content="Exponent Content Management System - ([^\"]+)"/, :version_regexp_offset=>0 },
+{ :version=>/<meta name="Generator" content="Exponent Content Management System - ([^\"]+)"/, :regexp_offset=>0 },
# Meta generator
{ :text=>'<meta name="Generator" content="Exponent Content Management System' },
View
6 plugins/FastCGI-echo.rb
@@ -108,9 +108,9 @@
{ :text=>'REQUEST_URI=/fcgi-bin/echo' },
# Version detection
-{ :version=>/HTTP_ORACLE_CACHE_VERSION=([\d\.]+)/, :version_regexp_offset=>0 },
-{ :version=>/SERVER_SOFTWARE=([^\n]+)/, :version_regexp_offset=>0 },
-{ :version=>/SERVER_SIGNATURE=<ADDRESS>([^<]+)/, :version_regexp_offset=>0 },
+{ :version=>/HTTP_ORACLE_CACHE_VERSION=([\d\.]+)/, :regexp_offset=>0 },
+{ :version=>/SERVER_SOFTWARE=([^\n]+)/, :regexp_offset=>0 },
+{ :version=>/SERVER_SIGNATURE=<ADDRESS>([^<]+)/, :regexp_offset=>0 },
]
View
2  plugins/HoloCMS.rb
@@ -29,7 +29,7 @@
matches [
# Version detection # Meta generator
-{ :version=>/<meta name="build" content="([^\ ]+) - [^-]+- HoloCMS" \/>/, :version_regexp_offset=>0 },
+{ :version=>/<meta name="build" content="([^\ ]+) - [^-]+- HoloCMS" \/>/, :regexp_offset=>0 },
# Default HTML
{ :text=>'<div id="remember-me-notification" class="bottom-bubble" style="display:none;">' },
View
4 plugins/KMSoft-Guestbook.rb
@@ -18,10 +18,10 @@
matches [
# Version detection # Powered by text
-{ :version=>/<div id="footer">KMSoft Guestbook v ([\d\.]+) Powered by <a href="http:\/\/www.kmsoft.org[\/]*">KMSoft<\/a><\/div>/, :version_regexp_offset=>0 },
+{ :version=>/<div id="footer">KMSoft Guestbook v ([\d\.]+) Powered by <a href="http:\/\/www.kmsoft.org[\/]*">KMSoft<\/a><\/div>/, :regexp_offset=>0 },
# Version detection # Powered by text
-{ :version=>/<title>KMSoft Guestbook v([\d\.]+)[^<]+<\/title>/, :version_regexp_offset=>0 },
+{ :version=>/<title>KMSoft Guestbook v([\d\.]+)[^<]+<\/title>/, :regexp_offset=>0 },
]
View
4 plugins/MySQL-dump.rb
@@ -37,10 +37,10 @@
matches [
# Version detection # mySQL dump
-{ :version=>/------------------------------------------------------[\r]?\n-- Server version[\s]+([^\r^\n]+)/, :version_regexp_offset=>0 },
+{ :version=>/------------------------------------------------------[\r]?\n-- Server version[\s]+([^\r^\n]+)/, :regexp_offset=>0 },
# Version detection # phpMyAdmin dump
-{ :version=>/^# phpMyAdmin MySQL-Dump[\s]+# version [^\s]+[\s]+# http:\/\/www.phpmyadmin.net\/ \(download page\)[\s#]+# Host: [^\s]+[\s]+# Generation Time: [^\n]+[\s]+# Server version: ([\d\.]+)/, :version_regexp_offset=>0 },
+{ :version=>/^# phpMyAdmin MySQL-Dump[\s]+# version [^\s]+[\s]+# http:\/\/www.phpmyadmin.net\/ \(download page\)[\s#]+# Host: [^\s]+[\s]+# Generation Time: [^\n]+[\s]+# Server version: ([\d\.]+)/, :regexp_offset=>0 },
]
View
4 plugins/NetWin-DBabble.rb
@@ -19,9 +19,9 @@
matches [
# Version detection
-{ :version=>/^DBabble ([^Server]+)Server Version ([^\ ]+) /, :version_regexp_offset=>1 },
+{ :version=>/^DBabble ([^Server]+)Server Version ([^\ ]+) /, :regexp_offset=>1 },
# OS detection
-{ :version=>/^DBabble ([^Server]+)Server Version ([^\(]+)\(/, :version_regexp_offset=>0 },
+{ :version=>/^DBabble ([^Server]+)Server Version ([^\(]+)\(/, :regexp_offset=>0 },
# Default Title
{ :text=>'<title>DBabble login</title>' },
View
2  plugins/NetWin-Surgemail.rb
@@ -85,7 +85,7 @@
{ :text=>'<form action="/scripts/webmail.exe" method="post" name="reloginform">' },
# Version detection # /scripts/webmail.exe # Copyright text
-{ :version=>/<a target="_top" href="http:\/\/netwinsite.com\/ref.htm"> WebMail v([^\ ]+) Copyright &copy; <i>NetWin Ltd<\/i>/, :version_regexp_offset=>0 },
+{ :version=>/<a target="_top" href="http:\/\/netwinsite.com\/ref.htm"> WebMail v([^\ ]+) Copyright &copy; <i>NetWin Ltd<\/i>/, :regexp_offset=>0 },
]
View
2  plugins/Open-Realty.rb
@@ -26,7 +26,7 @@
matches [
# Version detection # Default title
-{ :version=>/<title>Open-Realty ([\d\.]+) - [^<]+<\/title>/, :version_regexp_offset=>0 },
+{ :version=>/<title>Open-Realty ([\d\.]+) - [^<]+<\/title>/, :regexp_offset=>0 },
# Meta generator
{ :text=>'<meta name="Generator" content="Open-Realty" />' },
View
4 plugins/OurDisclaimer.rb
@@ -27,10 +27,10 @@
matches [
# Get URL # Link & Image method
-{ :version=>/<a[^>]+href[\s]*=[\s]*"http:\/\/ourdisclaimer.com\/\?i=([^\"]+)/i, :version_regexp_offset=>0 },
+{ :version=>/<a[^>]+href[\s]*=[\s]*"http:\/\/ourdisclaimer.com\/\?i=([^\"]+)/i, :regexp_offset=>0 },
# Get URL # Iframe method
-{ :version=>/<iframe[^>]+src[\s]*=[\s]*"http:\/\/ourdisclaimer.com\/\?i=([^\"]+)/i, :version_regexp_offset=>0 },
+{ :version=>/<iframe[^>]+src[\s]*=[\s]*"http:\/\/ourdisclaimer.com\/\?i=([^\"]+)/i, :regexp_offset=>0 },
]
View
6 plugins/PHP-Hosting-Directory.rb
@@ -21,13 +21,13 @@
matches [
# Version detection # Default title
-{:version=>/<title>PHP Hosting Directory ([\d\.]+) Powered by JnSHosts.com<\/title>/, :version_regexp_offset=>0 },
+{:version=>/<title>PHP Hosting Directory ([\d\.]+) Powered by JnSHosts.com<\/title>/, :regexp_offset=>0 },
# Version detection # Powered by text
-{:version=>/<a href="http:\/\/www.jnshosts.com\/php-hosting-directory-([\d\.]+).php"[^>]+>PHP Hosting Directory<\/a>/, :version_regexp_offset=>0 },
+{:version=>/<a href="http:\/\/www.jnshosts.com\/php-hosting-directory-([\d\.]+).php"[^>]+>PHP Hosting Directory<\/a>/, :regexp_offset=>0 },
# Version detection # Default HTML
-{:version=>/<font size="6"><b>PHP Hosting Directory ([\d\.]+)<\/b><\/font>/, :version_regexp_offset=>0 },
+{:version=>/<font size="6"><b>PHP Hosting Directory ([\d\.]+)<\/b><\/font>/, :regexp_offset=>0 },
]
View
2  plugins/PluXml.rb
@@ -34,7 +34,7 @@
matches [
# Version detection
-{ :version=>/<a href="http:\/\/pluxml.org" title="Blog ou Cms sans base de donn&eacute;es">Pluxml<\/a>[\s]+([\d\.]+)/, :version_regexp_offset=>0 },
+{ :version=>/<a href="http:\/\/pluxml.org" title="Blog ou Cms sans base de donn&eacute;es">Pluxml<\/a>[\s]+([\d\.]+)/, :regexp_offset=>0 },
# Login page # Powered by text
{ :text=>'par <a href="http://pluxml.org">Pluxml</a></p>' },
View
6 plugins/Price-Comparison-Script.rb
@@ -19,13 +19,13 @@
matches [
# Version detection # Admin page # Powered by text
-{ :version=>/<td height="10%" valign="bottom" align="right"><font face="verdana" size="1" color="gray">&copy; Web Administration Panel .v([\d\.]+) by <a href="http:\/\/www.kaonsoftwares.com\/" class="" target="_blank">Kaon Softwares<\/a>. All Rights Reserved.<\/font><\/td>/, :version_regexp_offset=>0 },
+{ :version=>/<td height="10%" valign="bottom" align="right"><font face="verdana" size="1" color="gray">&copy; Web Administration Panel .v([\d\.]+) by <a href="http:\/\/www.kaonsoftwares.com\/" class="" target="_blank">Kaon Softwares<\/a>. All Rights Reserved.<\/font><\/td>/, :regexp_offset=>0 },
# Version detection # Admin page # Powered by text
-{ :version=>/<td height="19" colspan="6" align="right"><font face="verdana" size="1" color="gray">&copy; Web Administration Panel .v([\d\.]+) by <a href="http:\/\/www.kaonsoftwares.com\/" class="" target="_blank">Kaon Softwares<\/a>. All Rights Reserved.<\/font><\/td>/, :version_regexp_offset=>0 },
+{ :version=>/<td height="19" colspan="6" align="right"><font face="verdana" size="1" color="gray">&copy; Web Administration Panel .v([\d\.]+) by <a href="http:\/\/www.kaonsoftwares.com\/" class="" target="_blank">Kaon Softwares<\/a>. All Rights Reserved.<\/font><\/td>/, :regexp_offset=>0 },
# Version detection # Admin page # Powered by text
-{ :version=>/<td height="70%" valign="bottom" align="right"><font face="verdana" size="1" color="gray">&copy; Web Administration Panel .v([\d\.]+) by <a href="http:\/\/www.kaonsoftwares.com\/" class="" target="_blank">Kaon Softwares<\/a>. All Rights Reserved.<\/font><\/td>/, :version_regexp_offset=>0 },
+{ :version=>/<td height="70%" valign="bottom" align="right"><font face="verdana" size="1" color="gray">&copy; Web Administration Panel .v([\d\.]+) by <a href="http:\/\/www.kaonsoftwares.com\/" class="" target="_blank">Kaon Softwares<\/a>. All Rights Reserved.<\/font><\/td>/, :regexp_offset=>0 },
]
View
2  plugins/TeamSpeak-Server-Log.rb
@@ -31,7 +31,7 @@
matches [
# Server version detection
-{ :version=>/^[0-9]{2}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2},ALL,Info,server,[\s]+Server version: ([^\r^\n]+)/, :version_regexp_offset=>0 },
+{ :version=>/^[0-9]{2}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2},ALL,Info,server,[\s]+Server version: ([^\r^\n]+)/, :regexp_offset=>0 },
]
View
2  plugins/TheHostingTool.rb
@@ -54,7 +54,7 @@
matches [
# Version detection # Powered by text
-{ :version=>/<div id="footer">Powered by <a href="http:\/\/thehostingtool.com" target="_blank">TheHostingTool<\/a> ([\d\.]*)<\/div>/, :version_regexp_offset=>0 },
+{ :version=>/<div id="footer">Powered by <a href="http:\/\/thehostingtool.com" target="_blank">TheHostingTool<\/a> ([\d\.]*)<\/div>/, :regexp_offset=>0 },
]
View
2  plugins/UCenter-Home.rb
@@ -64,7 +64,7 @@
{ :text=>'Powered by UCenter Home</title>' },
# Version detection # Powered by text
-{ :version=>/Powered by <a href="http:\/\/u.discuz.net" target="_blank"><strong>UCenter Home<\/strong><\/a> <span title="[0-9]{8}">([\d\.]+)<\/span>/, :version_regexp_offset=>0 },
+{ :version=>/Powered by <a href="http:\/\/u.discuz.net" target="_blank"><strong>UCenter Home<\/strong><\/a> <span title="[0-9]{8}">([\d\.]+)<\/span>/, :regexp_offset=>0 },
]
View
2  plugins/WS_FTP-log.rb
@@ -43,7 +43,7 @@
matches [
# FTP server extraction
-{ :version=>/^[0-9]+.[0-9]{2}.[0-9]{2} [0-9]{2}:[0-9]{2} [A|B]{1} [^>]*> ([^\ ]+) /, :version_regexp_offset=>0 },
+{ :version=>/^[0-9]+.[0-9]{2}.[0-9]{2} [0-9]{2}:[0-9]{2} [A|B]{1} [^>]*> ([^\ ]+) /, :regexp_offset=>0 },
]
View
2  plugins/WebSideStory.rb
@@ -28,7 +28,7 @@
{ :regexp=>/<!--COPYRIGHT 1997-[0-9]{4} WEBSIDESTORY,INC. ALL RIGHTS RESERVED. U.S.PATENT No. 6,393,479B1. MORE INFO:http:\/\/websidestory.com\/privacy-->/ },
# Version detection # HTML comments
-{ :version=>/<!--WEBSIDESTORY CODE ([^\ ]+) /, :version_regexp_offset=>0 },
+{ :version=>/<!--WEBSIDESTORY CODE ([^\ ]+) /, :regexp_offset=>0 },
# Powered by text
View
6 plugins/XMB.rb
@@ -43,13 +43,13 @@
{ :text=>'<!-- www.aventure-media.co.uk : www.xmbforum.com -->' },
# Version detection # Powered by text
-{ :version=>/^Powered by XMB ([^<]+)<br \/>/, :version_regexp_offset=>0 },
+{ :version=>/^Powered by XMB ([^<]+)<br \/>/, :regexp_offset=>0 },
# Version detection # Default title
-{ :version=>/<title>[^\-]+- Powered by XMB ([^<]+)<\/title>/, :version_regexp_offset=>0 },
+{ :version=>/<title>[^\-]+- Powered by XMB ([^<]+)<\/title>/, :regexp_offset=>0 },
# Version detection # HTML comments
-{ :version=>/^<!-- Powered by XMB ([^\ \ ]+)/, :version_regexp_offset=>0 },
+{ :version=>/^<!-- Powered by XMB ([^\ \ ]+)/, :regexp_offset=>0 },
]
View
2  plugins/Zimplit-CMS.rb
@@ -54,7 +54,7 @@
{ :regexp=>/<[script|SCRIPT]+[\ type="text\/javascript"]* src="http:\/\/client.zimplit.com\/users\/publicUser\/[jquery.js|ZimgZoomer.js|ZZMenu.js]+"[\ type="text\/javascript"]*><\/[script|SCRIPT]+>/ },
# Version detection # Default Javascript
-{ :version=>/<[script|SCRIPT]+[\ type="text\/javascript"]* src="http:\/\/client.zimplit.com\/users\/publicUser_v([\d\._]+)\/[jquery.js|ZimgZoomer.js|ZZMenu.js]+"[\ type="text\/javascript"]*><\/[script|SCRIPT]+>/, :version_regexp_offset=>0 },
+{ :version=>/<[script|SCRIPT]+[\ type="text\/javascript"]* src="http:\/\/client.zimplit.com\/users\/publicUser_v([\d\._]+)\/[jquery.js|ZimgZoomer.js|ZZMenu.js]+"[\ type="text\/javascript"]*><\/[script|SCRIPT]+>/, :regexp_offset=>0 },
# Powered by text
{ :text=>'<!-- YOU ARE ONLY ALLOWED TO HIDE, DELETE OR MODIFY "POWERED BY ZIMPLIT CMS" LINK, IF THE DOMAIN HAS BEEN REGISTERED WITH A COMMERCIAL LICENSE AT WWW.ZIMPLIT.ORG -->' },
View
4 plugins/aardvark-topsites-php.rb
@@ -85,8 +85,8 @@
{ :regexp=>/Powered by <a href="http:\/\/www.aardvarktopsitesphp.com[^>]*>[^A]*Aardvark Topsites PHP/i },
# Version detection # Powered by text
-{ :version=>/Powered by <a href="http:\/\/www.aardvarktopsitesphp.com\/"><b>Aardvark Topsites PHP<\/b><\/a> ([\d\.]+)/, :version_regexp_offset=>0 },
-{ :version=>/Powered by <a href="http:\/\/www.aardvarkind.com\/">Aardvark Topsites PHP<\/a> ([\d\.]+)/, :version_regexp_offset=>0 },
+{ :version=>/Powered by <a href="http:\/\/www.aardvarktopsitesphp.com\/"><b>Aardvark Topsites PHP<\/b><\/a> ([\d\.]+)/, :regexp_offset=>0 },
+{ :version=>/Powered by <a href="http:\/\/www.aardvarkind.com\/">Aardvark Topsites PHP<\/a> ([\d\.]+)/, :regexp_offset=>0 },
]
View
2  plugins/advanced-guestbook.rb
@@ -20,7 +20,7 @@
{:name=>"powered by", :version=>2.2, :regexp=>/<b>Advanced Guestbook 2.2<br>\s+Powered by PHP/},
{:name=>"powered by - regexp", :version=>/<a href="http:\/\/www.proxy2.de" target="_blank"><font color="#CCCCCC" size="1">(Advanced Guestbook) ([^<]+)/,
-:version_regexp_offset=>1}
+:regexp_offset=>1}
]
# Vuln version 2.2
View
2  plugins/allinta-CMS.rb
@@ -50,7 +50,7 @@
{ :text=>'<title>allinta.com- aCMS Content Manager</title>' },
# Version detection # HTML comment
-{ :version=>/<!-- allintaCMS V([\d\.]+) - http:\/\/www.allinta.com\/ -->/, :version_regexp_offset=>0 },
+{ :version=>/<!-- allintaCMS V([\d\.]+) - http:\/\/www.allinta.com\/ -->/, :regexp_offset=>0 },
]
View
2  plugins/anyInventory.rb
@@ -45,7 +45,7 @@
# Version detection # default whitespace and version
# Tested versions: 1.9.1 / 1.9.2 / 2.0
-{ :version=>/ anyInventory ([\d\.]+)/, :version_regexp_offset=>0 },
+{ :version=>/ anyInventory ([\d\.]+)/, :regexp_offset=>0 },
]
View
4 plugins/arab-portal.rb
@@ -120,10 +120,10 @@
{ :regexp=>/<META NAME="COPYRIGHT" CONTENT="Copyright[^\>]*by Arab[\s]*Portal"/ },
# Version detection # Meta Copyright
-{ :version=>/<META content="[^>]*Powered by: Arab Portal v([\d\.]+), Copyright[^>]*" name="description">/, :version_regexp_offset=>0 },
+{ :version=>/<META content="[^>]*Powered by: Arab Portal v([\d\.]+), Copyright[^>]*" name="description">/, :regexp_offset=>0 },
# Version detection # Powered by text
-{ :version=>/<center><font size=2>Powered by: Arab[\s]*Portal v([\d\.]+)[\s]*, Copyright/, :version_regexp_offset=>0 },
+{ :version=>/<center><font size=2>Powered by: Arab[\s]*Portal v([\d\.]+)[\s]*, Copyright/, :regexp_offset=>0 },
]
View
2  plugins/argosoft-mail-server.rb
@@ -36,7 +36,7 @@
{ :ghdb=>'+intitle:"adding new user" "ArGoSoft Mail Server" +inurl:addnewuser', :certainty=>75 },
# Version detection
-{ :version=>/ArGoSoft Mail Server Pro for WinNT\/2000[\/XP]*, Version [\d\.]+ \(([\d\.]+)\)<\/p>/, :version_regexp_offset=>0 }
+{ :version=>/ArGoSoft Mail Server Pro for WinNT\/2000[\/XP]*, Version [\d\.]+ \(([\d\.]+)\)<\/p>/, :regexp_offset=>0 }
]
View
6 plugins/asp-nuke.rb
@@ -55,11 +55,11 @@
{:text=>"Designed with <a href=\"http://www.asp-nuke.net\" target=\"_blank\">ASP-Nuke</a>" },
{:version=>"v1.1+", :text=>"<br>Designed with ASP-Nuke v1.1+" },
-{:version=>/<meta name="Generator" (content|CONTENT)="(ASPNUKE|ASP-Nuke) ([^->"]+)/, :version_regexp_offset=>2, :name=>"meta generator tag" },
+{:version=>/<meta name="Generator" (content|CONTENT)="(ASPNUKE|ASP-Nuke) ([^->"]+)/, :regexp_offset=>2, :name=>"meta generator tag" },
-{:version=>/Designed with <a href="http:\/\/www.asp-nuke.net" target="_blank">ASP-Nuke<\/a> ([^<]+)<br>/, :version_regexp_offset=>0, :name=>"desgined by" },
+{:version=>/Designed with <a href="http:\/\/www.asp-nuke.net" target="_blank">ASP-Nuke<\/a> ([^<]+)<br>/, :regexp_offset=>0, :name=>"desgined by" },
-{:version=>/<a href="http:\/\/www.aspnuke.it" target="_blank">Asp-Nuke ([\d\.]+)<\/a>/, :version_regexp_offset=>0, :name=>"aspnuke.it" },
+{:version=>/<a href="http:\/\/www.aspnuke.it" target="_blank">Asp-Nuke ([\d\.]+)<\/a>/, :regexp_offset=>0, :name=>"aspnuke.it" },
]
View
6 plugins/aspWebLinks.rb
@@ -32,11 +32,11 @@
matches [
# Version detection # Powered by text
-{ :version=>/Powered By aspWebLinks ([\d\.]+) from <A[^>]*HREF=["']http:\/\/www.fullrevolution.com[^>]*>Full Revolution, Inc.<\/A>/, :version_regexp_offset=>0 },
-{ :version=>/<A[^>]*HREF=["']http:\/\/www.fullrevolution.com[^>]*>Powered By aspWebLinks ([\d\.]+)<\/A>/, :version_regexp_offset=>0 },
+{ :version=>/Powered By aspWebLinks ([\d\.]+) from <A[^>]*HREF=["']http:\/\/www.fullrevolution.com[^>]*>Full Revolution, Inc.<\/A>/, :regexp_offset=>0 },
+{ :version=>/<A[^>]*HREF=["']http:\/\/www.fullrevolution.com[^>]*>Powered By aspWebLinks ([\d\.]+)<\/A>/, :regexp_offset=>0 },
# Version detection # Default title
-{ :version=>/<title>aspWebLinks ([\d\.]+)<\/title>/, :version_regexp_offset=>0 },
+{ :version=>/<title>aspWebLinks ([\d\.]+)<\/title>/, :regexp_offset=>0 },
]
View
6 plugins/awstats.rb
@@ -43,10 +43,10 @@
{:text=>'<meta http-equiv="description" content="Awstats - Advanced Web Statistics for'},
{:name=>"default logo", :text=>'<a href="http://awstats.sourceforge.net" target="_newawstats"><img src="/icon/other/awstats_logo1.png" border=0 alt="awstats Official Web Site" title="awstats Official Web Site"></a>'},
-{:version=>/<meta name="generator" content="AWStats ([0-9\.]+ \(build [0-9\.]+\))/, :version_regexp_offset=>0}, #" good for 6.7
-{:version=>/<FONT COLOR="#000000"><b>Advanced Web Statistics ([0-9\.]+ \(build [0-9\.]+\))/, :version_regexp_offset=>0},
+{:version=>/<meta name="generator" content="AWStats ([0-9\.]+ \(build [0-9\.]+\))/, :regexp_offset=>0}, #" good for 6.7
+{:version=>/<FONT COLOR="#000000"><b>Advanced Web Statistics ([0-9\.]+ \(build [0-9\.]+\))/, :regexp_offset=>0},
-{:url=>'awstats.pl?framename=mainright', :version=>/<FONT COLOR="#000000"><b>Advanced Web Statistics ([0-9\.]+ \(build [0-9\.]+\))/, :version_regexp_offset=>0}
+{:url=>'awstats.pl?framename=mainright', :version=>/<FONT COLOR="#000000"><b>Advanced Web Statistics ([0-9\.]+ \(build [0-9\.]+\))/, :regexp_offset=>0}
]
# Version examples for 3.1, 5.5 and 6.7.
View
4 plugins/b2evolution.rb
@@ -39,10 +39,10 @@
{ :regexp=>/rsc\/img\/powered-by-b2evolution-150t.gif" alt="Powered by b2evolution"/i },
# Version detection # Login page
-{ :version=>/<p class="footer"><a href="http:\/\/b2evolution.net\/" title="visit b2evolution's website"><strong>b2evolution ([^<]+)<\/strong><\/a>/, :version_regexp_offset=>0 },
+{ :version=>/<p class="footer"><a href="http:\/\/b2evolution.net\/" title="visit b2evolution's website"><strong>b2evolution ([^<]+)<\/strong><\/a>/, :regexp_offset=>0 },
# Version detection # Meta generator
-{ :version=>/<meta name="generator" content="b2evolution ([^\"]+)" \/>/, :version_regexp_offset=>0 },
+{ :version=>/<meta name="generator" content="b2evolution ([^\"]+)" \/>/, :regexp_offset=>0 },
# Powered by text
{ :regexp=>/Powered by <a href="http:\/\/b2evolution.net[\/]*"[^>]+>b2evolution<\/a>/ },
View
2  plugins/blogn-plus.rb
@@ -32,7 +32,7 @@
{ :regexp=>/Powered by[\s]*<a href="http:\/\/www.blogn.org[^>]*>BlognPlus/i },
# Version detection # Meta generator
-{ :version=>/<meta name="generator"[^>]*content="BlognPlus ([0-9\.]+)/, :version_regexp_offset=>0 },
+{ :version=>/<meta name="generator"[^>]*content="BlognPlus ([0-9\.]+)/, :regexp_offset=>0 },
]
View
2  plugins/boastmachine.rb
@@ -44,7 +44,7 @@
{ :ghdb=>'"powered by boastMachine" +"Recent posts"', :certainty=>75 },
# Version detection # Powered by text
-{ :version=>/Powered by <a href="http:\/\/boastology.com">boastMachine v([\d\.]+)<\/a>/, :version_regexp_offset=>0 },
+{ :version=>/Powered by <a href="http:\/\/boastology.com">boastMachine v([\d\.]+)<\/a>/, :regexp_offset=>0 },
# Default logo HTML
{ :regexp=>/<a href="http:\/\/boastology.com"><img src="http:\/\/[^>]*alt="Powered by boastMachine" \/><\/a>/ },
View
6 plugins/burning-board-lite.rb
@@ -64,13 +64,13 @@
{ :regexp=>/Powered by <a href="http:\/\/www.woltlab.de[^>]*>Burning Board[\s]*<\/a>/ },
# Version Detection # 1.x # Powered by text
-{ :version=>/Powered by <b><a href="http:\/\/www.woltlab.de" target="_blank">Burning Board ([^<]+)<\/a><\/b>/, :version_regexp_offset=>0 },
+{ :version=>/Powered by <b><a href="http:\/\/www.woltlab.de" target="_blank">Burning Board ([^<]+)<\/a><\/b>/, :regexp_offset=>0 },
# Version Detection # 2.x # Powered by text
-{ :version=>/Powered by <b>Burning Board ([\d\.]+)<\/b>/, :version_regexp_offset=>0 },
+{ :version=>/Powered by <b>Burning Board ([\d\.]+)<\/b>/, :regexp_offset=>0 },
# Version Detection # 3.x # Copyright text
-{ :version=>/<p class="copyright"><a href="http:\/\/www.woltlab.com">Forum Software: <strong>Burning Board&reg; ([\d\.]*)<\/strong>, developed by <strong>WoltLab&reg; GmbH<\/strong><\/a><\/p>/, :version_regexp_offset=>0 },
+{ :version=>/<p class="copyright"><a href="http:\/\/www.woltlab.com">Forum Software: <strong>Burning Board&reg; ([\d\.]*)<\/strong>, developed by <strong>WoltLab&reg; GmbH<\/strong><\/a><\/p>/, :regexp_offset=>0 },
]
View
2  plugins/cPassMan.rb
@@ -19,7 +19,7 @@
{ :text=>'<title>Collaborative Passwords Manager</title>' },
# Version detection # Login page
-{ :version=>/<a href="http:\/\/cpassman.org[\/]*" target="_blank">cPassMan<\/a> ([^\ ]+)/, :version_regexp_offset=>0 },
+{ :version=>/<a href="http:\/\/cpassman.org[\/]*" target="_blank">cPassMan<\/a> ([^\ ]+)/, :regexp_offset=>0 },
# License HTML
{ :text=>'<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/" title="Collaborative Passwords Manager by Nils Laumaill&#233; is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License" target="_blank">' },
View
2  plugins/cgiproxy.rb
@@ -31,7 +31,7 @@
{ :text=>'<title>Start Using CGIProxy</title>' },
# Vesion detection
-{ :version=>/<a href="http:\/\/www.jmarshall.com\/tools\/cgiproxy\/"><i>CGIProxy ([^<]+)<\/i><\/a>/, :version_regexp_offset=>0 },
+{ :version=>/<a href="http:\/\/www.jmarshall.com\/tools\/cgiproxy\/"><i>CGIProxy ([^<]+)<\/i><\/a>/, :regexp_offset=>0 },
]
View
2  plugins/cmsimple.rb
@@ -53,7 +53,7 @@
{ :text=>'<meta name="generator" content="CMSimple' },
# Version detection # Meta generator
-{ :version=>/<meta name="generator" content="CMSimple ([\d\.]+)[^>]*>/, :version_regexp_offset=>0 },
+{ :version=>/<meta name="generator" content="CMSimple ([\d\.]+)[^>]*>/, :regexp_offset=>0 },
]
View
2  plugins/concrete5.rb
@@ -21,7 +21,7 @@
matches [
{:text=>"concrete/js/jquery.js"},
-{:version=>/<meta name=\"generator\" content=\"concrete5[ \-]+([0-9\.a-z]+)\"/, :version_regexp_offset=>0, :name=>"meta generator tag" } #"
+{:version=>/<meta name=\"generator\" content=\"concrete5[ \-]+([0-9\.a-z]+)\"/, :regexp_offset=>0, :name=>"meta generator tag" } #"
]
# <meta name="generator" content="concrete5 - 5.4.0.6a1" />
View
2  plugins/confluence.rb
@@ -48,7 +48,7 @@
{ :text=>'<li class="noprint"><a href="http://www.atlassian.com/software/confluence" class="hover-footer-link">Atlassian Confluence</a>' },
# Version detection # Powered by text
-{ :version=>/<a href="http:\/\/www.atlassian.com\/software\/confluence" class="hover-footer-link">Atlassian Confluence<\/a> ([0-9_\.]+)/, :version_regexp_offset=>0 },
+{ :version=>/<a href="http:\/\/www.atlassian.com\/software\/confluence" class="hover-footer-link">Atlassian Confluence<\/a> ([0-9_\.]+)/, :regexp_offset=>0 },
]
View
2  plugins/coppermine.rb
@@ -56,7 +56,7 @@
:certainty=>50,
:regexp=>/<a href="[^"]*\/displayimage.php\?album=[a-z0-9]+&pos=">/ }, # "
-{:version=>/<!--Coppermine Photo Gallery ([\d\.]+[^>]+)-->/, :version_regexp_offset=>0, :name=>"<!--Coppermine Photo Gallery" } #"
+{:version=>/<!--Coppermine Photo Gallery ([\d\.]+[^>]+)-->/, :regexp_offset=>0, :name=>"<!--Coppermine Photo Gallery" } #"
]
#
View
2  plugins/cpanel.rb
@@ -41,7 +41,7 @@
{ :regexp=>/<link rel="stylesheet" href="[^>]*\/unprotected\/cpanel\/style_optimized.css" type="text\/css" \/>/ },
# Version detection # Login page # Default title
-{ :version=>/<title>cPanel&reg;[\s]*([\d\.]+)<\/title>/, :version_regexp_offset=>0 },
+{ :version=>/<title>cPanel&reg;[\s]*([\d\.]+)<\/title>/, :regexp_offset=>0 },
]
View
2  plugins/dugallery.rb
@@ -38,7 +38,7 @@
{ :text=>'<img src="assets/title.gif" alt="Powered by DUportal" width="269" height="62" border="0">' },
# Version detection # Default title
-{ :version=>/<title>DUgallery ([\d\.]+)<\/title>/, :version_regexp_offset=>0 },
+{ :version=>/<title>DUgallery ([\d\.]+)<\/title>/, :regexp_offset=>0 },
]
View
2  plugins/f3site.rb
@@ -42,7 +42,7 @@
{ :regexp=>/Powered by[^>]*<a[^>]*href="http:\/\/dhost.info\/compmaste[^>]*>F3Site[^<]*<\/a>/ },
# Version detection # Powered by text
-{ :version=>/Powered by <a href="http:\/\/compmaster.prv.pl">F3Site v([\d\.]+) plus<\/a>/, :version_regexp_offset=>0 },
+{ :version=>/Powered by <a href="http:\/\/compmaster.prv.pl">F3Site v([\d\.]+) plus<\/a>/, :regexp_offset=>0 },
]
View
2  plugins/fluentNET.rb
@@ -26,7 +26,7 @@
{ :ghdb=>'"powered by FluentCMS from DotContent"', :certainty=>75 },
# Version Detection # Meta Generator
-{ :version=>/<meta name="GENERATOR" content="Fluent[CMS|NET]+ ([\d\.]+) /, :version_regexp_offset=>0 },
+{ :version=>/<meta name="GENERATOR" content="Fluent[CMS|NET]+ ([\d\.]+) /, :regexp_offset=>0 },
]
View
2  plugins/formmail.rb
@@ -33,7 +33,7 @@
{:text=>"<tr><th><font size=+2>FormMail</font></th></tr>" },
{:ghdb=>"inurl:/FormMail.pl" },
{:version=>"1.9", :regexp=>/Copyright 1995 - 2001 Matt Wright<br>[\s]+Version 1.9/ },
-{:version=>/FormMail<\/a>[\s]+V([\d\.]+)/i, :version_regexp_offset=>0, :name=>"version" }
+{:version=>/FormMail<\/a>[\s]+V([\d\.]+)/i, :regexp_offset=>0, :name=>"version" }
]
end
View
4 plugins/i-Gallery.rb
@@ -31,10 +31,10 @@
matches [
# Version detection # Default title
-{ :version=>/<title>.:: i-Gallery ([\d\.]+) -[^:]+:.<\/title>/, :version_regexp_offset=>0 },
+{ :version=>/<title>.:: i-Gallery ([\d\.]+) -[^:]+:.<\/title>/, :regexp_offset=>0 },
# Version detection # Powered by text
-{ :version=>/<font class="textsm">Powered By:&nbsp;<a class="linksm" href="http:\/\/www.b-cp.com\/igallery" target="_blank">i-Gallery ([\d\.]+)<\/a>/i, :version_regexp_offset=>0 },
+{ :version=>/<font class="textsm">Powered By:&nbsp;<a class="linksm" href="http:\/\/www.b-cp.com\/igallery" target="_blank">i-Gallery ([\d\.]+)<\/a>/i, :regexp_offset=>0 },
# Main Page # Default JavaScript
{ :text=>'var verify = confirm("Are you sure you want to permanently delete the selected \"Item\" from the i-Gallery database? All information will be lost!");' },
View
8 plugins/invision-power-board.rb
@@ -93,10 +93,10 @@
{:regexp=>/<a href="[^"]+index.php?s=[a-z0-9]+&amp;act=Login&amp;CODE=[0-9]+">Log In<\/a>/ }, # "
-{:version=>/Powered by <a [^>]+>Invision Power Board<\/a>([^&]+) &copy; 20[0-9]+/, :version_regexp_offset=>0, :name=>"powered by 1" },
-{:version=>/([0-9\.]+) &copy; 20[0-9]+ &nbsp;<a href='http:\/\/www.invisionpower.com'[^>]+>IPS/, :version_regexp_offset=>0, :name=>"powered by 2" },
-{:version=>/Invision Power Board<\/a>[\s]+v([0-9\.]+) &copy;/, :version_regexp_offset=>0, :name=>"powered by 3" },
-{:version=>/Invision Power Board<\/a>([^&]+)&copy; 20[0-9]+ &nbsp;<a href='http:\/\/www.invisionpower.com'/, :version_regexp_offset=>0, :name=>"powered by 4" }
+{:version=>/Powered by <a [^>]+>Invision Power Board<\/a>([^&]+) &copy; 20[0-9]+/, :regexp_offset=>0, :name=>"powered by 1" },
+{:version=>/([0-9\.]+) &copy; 20[0-9]+ &nbsp;<a href='http:\/\/www.invisionpower.com'[^>]+>IPS/, :regexp_offset=>0, :name=>"powered by 2" },
+{:version=>/Invision Power Board<\/a>[\s]+v([0-9\.]+) &copy;/, :regexp_offset=>0, :name=>"powered by 3" },
+{:version=>/Invision Power Board<\/a>([^&]+)&copy; 20[0-9]+ &nbsp;<a href='http:\/\/www.invisionpower.com'/, :regexp_offset=>0, :name=>"powered by 4" }
]
View
2  plugins/loggix.rb
@@ -29,7 +29,7 @@
{ :text=>'<meta name="generator" content="Loggix" />' },
# Version detection # Powered by text
-{ :version=>/Powered by <a href="http:\/\/loggix.gotdns.org">Loggix<\/a> ver.([\d\.]+)<\/address>/, :version_regexp_offset=>0 },
+{ :version=>/Powered by <a href="http:\/\/loggix.gotdns.org">Loggix<\/a> ver.([\d\.]+)<\/address>/, :regexp_offset=>0 },
]
View
2  plugins/magento.rb
@@ -85,7 +85,7 @@
# Matches are enclosed in {} brackets and separated by commas
matches [
{:text=>'images/logo.gif" alt="Magento Commerce" /></a></h1>' ,:name=>'default logo alt-text'},
-{:version=>/<a href="http:\/\/www.magentocommerce.com\/bug-tracking" id="bug_tracking_link"><strong>Report All Bugs<\/strong><\/a> \(ver. ([0-9\.]+)\)/, :version_regexp_offset=>0, :name=>"Bug tracking link" },
+{:version=>/<a href="http:\/\/www.magentocommerce.com\/bug-tracking" id="bug_tracking_link"><strong>Report All Bugs<\/strong><\/a> \(ver. ([0-9\.]+)\)/, :regexp_offset=>0, :name=>"Bug tracking link" },
{:regexp=>/<link rel="stylesheet" type="text\/css" href="[^"]+\/skin\/frontend\/[^ "]+\/css\/boxes.css" media="all"/, :name=>"/skin/front/*/css/boxes.xss"},
{:text=>'<meta name="keywords" content="Magento, Varien, E-commerce" />'},
{:text=>"var searchForm = new Varien.searchForm('search_mini_form', 'search', 'Search entire store here...'"},
View
4 plugins/meta-author.rb
@@ -18,8 +18,8 @@
matches [
# Get author's name
-{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?author[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :version_regexp_offset=>0 },
-{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?author/i, :version_regexp_offset=>0 },
+{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?author[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :regexp_offset=>0 },
+{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?author/i, :regexp_offset=>0 },
]
View
4 plugins/meta-city.rb
@@ -16,8 +16,8 @@
matches [
# Extract city
-{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?city[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :version_regexp_offset=>0 },
-{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?city/i, :version_regexp_offset=>0 },
+{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?city[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :regexp_offset=>0 },
+{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?city/i, :regexp_offset=>0 },
]
View
4 plugins/meta-contact.rb
@@ -12,8 +12,8 @@
matches [
# Get contact details
-{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?author[^>]+contact[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :version_regexp_offset=>0 },
-{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?contact/i, :version_regexp_offset=>0 },
+{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?author[^>]+contact[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :regexp_offset=>0 },
+{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?contact/i, :regexp_offset=>0 },
]
View
4 plugins/meta-country.rb
@@ -16,8 +16,8 @@
matches [
# Extract country
-{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?country[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :version_regexp_offset=>0 },
-{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?country/i, :version_regexp_offset=>0 },
+{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?country[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :regexp_offset=>0 },
+{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?country/i, :regexp_offset=>0 },
]
View
16 plugins/meta-geography.rb
@@ -18,20 +18,20 @@
matches [
# Get geography
-{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?geography[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :version_regexp_offset=>0 },
-{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?geography/i, :version_regexp_offset=>0 },
+{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?geography[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :regexp_offset=>0 },
+{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?geography/i, :regexp_offset=>0 },
# Get geo.position
-{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?geo.position[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :version_regexp_offset=>0 },
-{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?geo.position/i, :version_regexp_offset=>0 },
+{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?geo.position[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :regexp_offset=>0 },
+{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?geo.position/i, :regexp_offset=>0 },
# Get geo.placename
-{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?geo.placename[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :version_regexp_offset=>0 },
-{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?geo.placename/i, :version_regexp_offset=>0 },
+{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?geo.placename[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :regexp_offset=>0 },
+{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?geo.placename/i, :regexp_offset=>0 },
# Get geo.region
-{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?geo.region[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :version_regexp_offset=>0 },
-{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?geo.region/i, :version_regexp_offset=>0 },
+{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?geo.region[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :regexp_offset=>0 },
+{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?geo.region/i, :regexp_offset=>0 },
]
View
4 plugins/meta-state.rb
@@ -16,8 +16,8 @@
matches [
# Extract state
-{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?state[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :version_regexp_offset=>0 },
-{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?state/i, :version_regexp_offset=>0 },
+{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?state[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :regexp_offset=>0 },
+{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?state/i, :regexp_offset=>0 },
]
View
4 plugins/meta-zipcode.rb
@@ -16,8 +16,8 @@
matches [
# Extract zipcode
-{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?zipcode[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :version_regexp_offset=>0 },
-{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?zipcode/i, :version_regexp_offset=>0 },
+{ :version=>/<meta[^>]+name[\s]*=[\s]*[\'|\"]?zipcode[^>]+content[\s]*=[\s]*[\'|\"]?([^\'^\"\/^>]+)/i, :regexp_offset=>0 },
+{ :version=>/<meta[^>]+content[\s]*=[\s]*[\'|\"]?([^\"^\']+)[^>]+name[\s]*=[\s]*[\'|\"]?zipcode/i, :regexp_offset=>0 },
]
View
2  plugins/mikrotik-router.rb
@@ -23,7 +23,7 @@
matches [
{:text=>"<title>mikrotik routeros > administration</title>"},
-{:version=>/<div class="top">mikrotik routeros ([^ ]+) configuration page</, :version_regexp_offset=>0, :name=>"mikrotik routeros ([^ ]+) configuration page" }
+{:version=>/<div class="top">mikrotik routeros ([^ ]+) configuration page</, :regexp_offset=>0, :name=>"mikrotik routeros ([^ ]+) configuration page" }
]
View
2  plugins/movable_type.rb
@@ -58,7 +58,7 @@
{:name=>"Powered by link", :regexp=>/<a href="http:\/\/sixapart.com">Powered by Movable Type<\/a>/},
-{:version=>/<meta name="generator" content="Movable Type ([^"]*)/, :version_regexp_offset=>0, :name=>"meta generator tag" }
+{:version=>/<meta name="generator" content="Movable Type ([^"]*)/, :regexp_offset=>0, :name=>"meta generator tag" }
]
View
4 plugins/nmap-log.rb
@@ -25,10 +25,10 @@
matches [
# Get Nmap version # older version # 2.x +
-{ :version=>/^Starting nmap V. ([\d\.]+) by fyodor@insecure.org/, :version_regexp_offset=>0 },
+{ :version=>/^Starting nmap V. ([\d\.]+) by fyodor@insecure.org/, :regexp_offset=>0 },
# Get Nmap version # newer versions # 4.x +
-{ :version=>/^Starting Nmap ([\d\.]+) \( http:\/\/nmap.org \) at /, :version_regexp_offset=>0 },
+{ :version=>/^Starting Nmap ([\d\.]+) \( http:\/\/nmap.org \) at /, :regexp_offset=>0 },
]
View
2  plugins/open_graph_protocol.rb
@@ -24,7 +24,7 @@
{ :regexp=>/<meta[^>]*property="og:title"[^>]*>/i },
# Get type # og:type
-{ :version=>/<meta[^>]*property="og:type"[^>]*content="([^\"^>]+)"/, :version_regexp_offset=>0 },
+{ :version=>/<meta[^>]*property="og:type"[^>]*content="([^\"^>]+)"/, :regexp_offset=>0 },
]
View
2  plugins/otrs.rb
@@ -35,7 +35,7 @@
{ :text=>'<title>OTRS :: Login</title>' },
# Version detection # Powered by text
-{ :version=>/Powered by <a href="http:\/\/otrs.org[\/]*" class="small">OTRS ([^<]+)<\/a>/, :version_regexp_offset=>0 },
+{ :version=>/Powered by <a href="http:\/\/otrs.org[\/]*" class="small">OTRS ([^<]+)<\/a>/, :regexp_offset=>0 },
]
View
2  plugins/philboard.rb
@@ -35,7 +35,7 @@
{ :ghdb=>'"powered by philboard" inurl:philboard.asp', :certainty=>75 },
# Version detection # Default logo HTML
-{ :version=>/<img src="images\/philboard_small.gif" alt="powered by philboard [v]*([\d\.]+)" width="76" height="21" border="0" align="middle">/, :version_regexp_offset=>0 },
+{ :version=>/<img src="images\/philboard_small.gif" alt="powered by philboard [v]*([\d\.]+)" width="76" height="21" border="0" align="middle">/, :regexp_offset=>0 },
]
View
4 plugins/php-easy-data.rb
@@ -32,8 +32,8 @@
{ :text=>' <head><title>PhpEasyData login page</title>' },
# Version detection # Powered by text
-{ :version=>/<a[^>]*href="http:\/\/www.(phpeasydata.com|freewebmaster-scripts.com\/phpeasydata)[^>]*>PHPEasyData[\s]*([^<]+)<\/a>/, :version_regexp_offset=>0 },
-{ :version=>/n main de pages dynamiques. " target="_blank"[\s]*>PhpEasyData[\s]*([^<]+)<\/a><\/b>/, :version_regexp_offset=>0 },
+{ :version=>/<a[^>]*href="http:\/\/www.(phpeasydata.com|freewebmaster-scripts.com\/phpeasydata)[^>]*>PHPEasyData[\s]*([^<]+)<\/a>/, :regexp_offset=>0 },
+{ :version=>/n main de pages dynamiques. " target="_blank"[\s]*>PhpEasyData[\s]*([^<]+)<\/a><\/b>/, :regexp_offset=>0 },
]
View
2  plugins/php-error.rb
@@ -26,7 +26,7 @@
matches [
# Extract local file path
-{ :version=>/<b>(Warning|Fatal error)<\/b>: .* in <b>([^<]+)<\/b> on line <b>[0-9]+<\/b><br \/>/, :version_regexp_offset=>1 },
+{ :version=>/<b>(Warning|Fatal error)<\/b>: .* in <b>([^<]+)<\/b> on line <b>[0-9]+<\/b><br \/>/, :regexp_offset=>1 },
]
View
2  plugins/php-link-directory.rb
@@ -43,7 +43,7 @@
{ :regexp=>/<a href="http:\/\/www.phplinkdirectory.com[^>]*Phplinkdirectory/i },
# Version detection # Meta generator
-{ :version=>/<meta name="generator"[^>]*content="PHP Link Directory ([0-9\.]+)"/, :version_regexp_offset=>0 },
+{ :version=>/<meta name="generator"[^>]*content="PHP Link Directory ([0-9\.]+)"/, :regexp_offset=>0 },
]
View
2  plugins/php-shell.rb
@@ -29,7 +29,7 @@
{ :ghdb=>'+filetype:php +HAXPLORER +"Server Files Browser" +Browsing +"Script Location"', :certainty=>75 },
# Version detection
-{ :version=>/PHPShell by [a-zA-Z0-9]+ - Version ([0-9a-z\.]+)/, :version_regexp_offset=>0 },
+{ :version=>/PHPShell by [a-zA-Z0-9]+ - Version ([0-9a-z\.]+)/, :regexp_offset=>0 },
]
View
4 plugins/phpMyFAQ.rb
@@ -29,10 +29,10 @@
matches [
# Version detection # Default title
-{ :version=>/<meta name="generator" content="phpMyFAQ ([\d\.]+)" \/>/, :version_regexp_offset=>0 },
+{ :version=>/<meta name="generator" content="phpMyFAQ ([\d\.]+)" \/>/, :regexp_offset=>0 },
# Version detection # Powered by text
-{ :version=>/<p id="copyrightnote">powered by <a href="http:\/\/www.phpmyfaq.de[\/]*" target="_blank">phpMyFAQ<\/a> ([\d\.]+)/, :version_regexp_offset=>0 },
+{ :version=>/<p id="copyrightnote">powered by <a href="http:\/\/www.phpmyfaq.de[\/]*" target="_blank">phpMyFAQ<\/a> ([\d\.]+)/, :regexp_offset=>0 },
# Default logo
{ :md5=>"8390bf2d1fe24799bbd381d1b7d6d00b", :url=>"template/favicon.ico" },
View
2  plugins/phpfreechat.rb
@@ -39,7 +39,7 @@
{ :ghdb=>'"powered by phpfreechat"', :certainty=>75 },
# Version detection # Default logo HTML
-{ :version=>/<img src="http:\/\/www.phpfreechat.net\/pub\/logo[2]*_80x15.gif" alt="PHP FREE CHAT \[powered by phpFreeChat-([\d\.\-a-z]*)\]"/, :version_regexp_offset=>0 },
+{ :version=>/<img src="http:\/\/www.phpfreechat.net\/pub\/logo[2]*_80x15.gif" alt="PHP FREE CHAT \[powered by phpFreeChat-([\d\.\-a-z]*)\]"/, :regexp_offset=>0 },
]
View
4 plugins/phpmyadmin.rb
@@ -46,10 +46,10 @@
{ :certainty=>75, :ghdb=>'+intitle:phpMyAdmin +"Language: Afrikaans" +"Welcome to phpMyAdmin"' },
# Version Detection # Default Title
-{ :version=>/<title>phpMyAdmin ([^\s^<]+)[^<]*<\/title>/, :version_regexp_offset=>0 },
+{ :version=>/<title>phpMyAdmin ([^\s^<]+)[^<]*<\/title>/, :regexp_offset=>0 },
# Version Detection # Default heading HTML
-{ :version=>/<h2>Welcome to phpMyAdmin ([^<]+)<\/h2>/, :version_regexp_offset=>0 },
+{ :version=>/<h2>Welcome to phpMyAdmin ([^<]+)<\/h2>/, :regexp_offset=>0 },
# Default Logo HTML
{ :text=>'<img src="./themes/original/img/logo_right.png" id="imLogo" name="imLogo" alt="phpMyAdmin" border="0" /></a>' },
View
6 plugins/phpsysinfo.rb
@@ -54,13 +54,13 @@
{ :text=>'var sTargetURL = "index.php?disp=dynamic";' },
# Version detection # Redirect page # Generated by text
-{ :version=>/Generated by[\s&nbsp;]*<a href="http:\/\/phpsysinfo.sourceforge.net[^>]*>[\s&nbsp;]*phpSysInfo[\s&nbsp;]*-[\s&nbsp;]*([^<]+)<\/a>/, :version_regexp_offset=>0 },
+{ :version=>/Generated by[\s&nbsp;]*<a href="http:\/\/phpsysinfo.sourceforge.net[^>]*>[\s&nbsp;]*phpSysInfo[\s&nbsp;]*-[\s&nbsp;]*([^<]+)<\/a>/, :regexp_offset=>0 },
# Version detection # Redirect page # Created by text
-{ :version=>/Created by[\s&nbsp;]*<a href="http:\/\/phpsysinfo.sourceforge.net[^>]*>[\s&nbsp;]*phpSysInfo[\s&nbsp;]*-[\s&nbsp;]*([^<]+)<\/a>/, :version_regexp_offset=>0 },
+{ :version=>/Created by[\s&nbsp;]*<a href="http:\/\/phpsysinfo.sourceforge.net[^>]*>[\s&nbsp;]*phpSysInfo[\s&nbsp;]*-[\s&nbsp;]*([^<]+)<\/a>/, :regexp_offset=>0 },
# Version detection # index.php?disp=static # Created by text
-{ :version=>/<span>Created by <\/span><a href="http:\/\/phpsysinfo.sourceforge.net\/"><span>phpSysInfo - <\/span><span>([^<]+)<\/span>/, :version_regexp_offset=>0 },
+{ :version=>/<span>Created by <\/span><a href="http:\/\/phpsysinfo.sourceforge.net\/"><span>phpSysInfo - <\/span><span>([^<]+)<\/span>/, :regexp_offset=>0 },
]
View
2  plugins/sNews.rb
@@ -41,7 +41,7 @@
{ :text=>'<p><label for="uname">Username</label>:<br /><input type="text" name="uname" id="uname" class="text" value="" /></p><p><label for="pass">Password</label>:<br /><input type="password" name="pass" id="pass" class="text" value="" /></p>' },
# Version detection # Meta generator
-{ :version=>/<meta name="Generator" content="sNews ([\d\.]+)" \/>/, :version_regexp_offset=>0 },
+{ :version=>/<meta name="Generator" content="sNews ([\d\.]+)" \/>/, :regexp_offset=>0 },
]
View
2  plugins/searchfit-shopping-cart.rb
@@ -26,7 +26,7 @@
{:text=>"This Website is generated by SearchFit Shopping Cart"},
{:text=>'<a class="footer_link_system" target="_blank" style="font-size: 10px;" href="http://www.searchfit.com/'},
{:text=>'new SearchFitAnalytics("'},
-{:version=>/This Website is generated by SearchFit Shopping Cart v([^ ]+)/, :version_regexp_offset=>0, :name=>"version" }
+{:version=>/This Website is generated by SearchFit Shopping Cart v([^ ]+)/, :regexp_offset=>0, :name=>"version" }
]
View
2  plugins/squirrelmail.rb
@@ -22,7 +22,7 @@
{:name=>"js function", :text=>"function squirrelmail_loginpage_onload()"},
{:name=>"css comment", :text=>'/* avoid stupid IE6 bug with frames and scrollbars */'},
{:text=>'<b>SquirrelMail Login</b>'},
-{:version=>/<(small|SMALL)>SquirrelMail version ([^<]+)</, :version_regexp_offset=>1, :name=>"version" }
+{:version=>/<(small|SMALL)>SquirrelMail version ([^<]+)</, :regexp_offset=>1, :name=>"version" }
]
# <SMALL>SquirrelMail version 1.2.7<BR>
View
2  plugins/trac.rb
@@ -60,7 +60,7 @@
{ :ghdb=>'"Powered by Trac" +intitle:Trac', :certainty=>75 },
# Version detection # Powered by text
-{ :version=>/Powered by <a[^>]*><strong>Trac ([^<]+)<\/strong><\/a><br \/>/, :version_regexp_offset=>0 },
+{ :version=>/Powered by <a[^>]*><strong>Trac ([^<]+)<\/strong><\/a><br \/>/, :regexp_offset=>0 },
]
View
4 plugins/umbraco.rb
@@ -48,13 +48,13 @@
{ :regexp=>/Powered by[^<]*<a[\s]+href="http:\/\/[www.]*umbraco.org[^>]*>Umbraco<\/a>/i },
# Version detection # Powered by text
-{ :version=>/powered by[^<]*<a[\s]+href="http:\/\/[www.]*umbraco.org[^>]*>umbraco v([^<]+)<\/a>/i, :version_regexp_offset=>0 },
+{ :version=>/powered by[^<]*<a[\s]+href="http:\/\/[www.]*umbraco.org[^>]*>umbraco v([^<]+)<\/a>/i, :regexp_offset=>0 },
# Version detection # Powered by text # 4.x
{ :regexp=>/powered by[^<]*<a[\s]+href="http:\/\/[www.]*umbraco.org[^>]*>umbraco v4<\/a>/i, :version=>"4.x" },
# Version detection # Meta generator
-{ :version=>/<meta name="generator"[^>]*content="umbraco[\s]+([0-9\.]+)"/i, :version_regexp_offset=>0 },
+{ :version=>/<meta name="generator"[^>]*content="umbraco[\s]+([0-9\.]+)"/i, :regexp_offset=>0 },
]
View
4 plugins/uportal.rb
@@ -33,10 +33,10 @@
{ :ghdb=>'"powered by uportal"', :certainty=>75 },
# Version detection # Default logo HTML
-{ :version=>/<img[^>]*alt="Powered by uPortal ([\d\.]+)"[^>]*>/, :version_regexp_offset=>0 },
+{ :version=>/<img[^>]*alt="Powered by uPortal ([\d\.]+)"[^>]*>/, :regexp_offset=>0 },
# Version detection # Powered by text
-{ :version=>/<a target="_blank" title="Powered by \$" href="http:\/\/www.uportal.org">Powered by uPortal ([^<]+)<\/a>/, :version_regexp_offset=>0 },
+{ :version=>/<a target="_blank" title="Powered by \$" href="http:\/\/www.uportal.org">Powered by uPortal ([^<]+)<\/a>/, :regexp_offset=>0 },
]
View
6 plugins/vbulletin.rb
@@ -31,9 +31,9 @@
{:certainty=>50, :regexp=>/Copyright &copy;2000 - [0-9]+, Jelsoft Enterprises Ltd./},
-{:version=>/Powered by(:)? vBulletin(&reg;)? Version ([0-9a-z.]+)/, :version_regexp_offset=>2, :name=>"version" },
-{:version=>/<meta name="generator" content="vBulletin ([0-9a-z.]+)" \/>/, :version_regexp_offset=>0, :name=>"version" },
-{:version=>/\* vBulletin ([0-9a-z.]+) CSS/, :version_regexp_offset=>0, :name=>"version" }
+{:version=>/Powered by(:)? vBulletin(&reg;)? Version ([0-9a-z.]+)/, :regexp_offset=>2, :name=>"version" },
+{:version=>/<meta name="generator" content="vBulletin ([0-9a-z.]+)" \/>/, :regexp_offset=>0, :name=>"version" },
+{:version=>/\* vBulletin ([0-9a-z.]+) CSS/, :regexp_offset=>0, :name=>"version" }
]
View
2  plugins/vp-asp.rb
@@ -24,7 +24,7 @@
{:text=>'<a href="http://www.vpasp.com">Shopping Cart</a> powered by VP-ASP</p>'},
{:text=>'<a href="http://www.vpasp.com">Powered By VP-ASP Shopping Cart</a>'},
{:certainty=>75, :text=>'shopdisplayproducts.asp?id='},
-{:version=>/<title>VP-ASP Shopping Cart ([^ <]*)/, :version_regexp_offset=>0, :name=>"powered by title" }
+{:version=>/<title>VP-ASP Shopping Cart ([^ <]*)/, :regexp_offset=>0, :name=>"powered by title" }
]
# <title>VP-ASP Shopping Cart 6.00</title>
View
2  plugins/vsns-lemon.rb
@@ -38,7 +38,7 @@
{:regexp=>/<img[^>]*alt="VSNS Lemon"[^>]*title="Blog powered by VSNS Lemon"[^>]*>/},
-{:version=>/<p>Powered by <abbr title="very simple news system">VSNS<\/abbr> (Lemon) ([0-9.a-z]*) by <a href="http:\/\/tachyondecay.net\/">Tachyon<\/a>/, :version_regexp_offset=>1, :name=>"powered by link" }
+{:version=>/<p>Powered by <abbr title="very simple news system">VSNS<\/abbr> (Lemon) ([0-9.a-z]*) by <a href="http:\/\/tachyondecay.net\/">Tachyon<\/a>/, :regexp_offset=>1, :name=>"powered by link" }
]
View
2  plugins/wordpress-contact-form.rb
@@ -17,7 +17,7 @@
matches [
# Version detection
-{ :version=>/<input type="hidden" name="_wpcf([\d\.]+)" value="1" \/>/, :version_regexp_offset=>0 }
+{ :version=>/<input type="hidden" name="_wpcf([\d\.]+)" value="1" \/>/, :regexp_offset=>0 }
]
View
2  plugins/wordpress.rb
@@ -24,7 +24,7 @@
{:regexp=>/"[^"]+\/wp-content\/[^"]+"/, :name=>"wp-content", :certainty=>75 },
{:version=>/<meta name=\"generator\" content=\"(WordPress)[ ]?([0-9\.]+)\"/, #"# we use the version_regexp_offset=1 because (WordPress) is 0 and ([0-9]..) is 1
- :version_regexp_offset=>1, :name=>"meta generator tag" },
+ :regexp_offset=>1, :name=>"meta generator tag" },
{:url=>"/wp-cron.php"}, # url exists, i.e. returns HTTP status 200
Please sign in to comment.
Something went wrong with that request. Please try again.