Permalink
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...
1 parent d967f26 commit b00f0af57637612beaeee69383ed75429e1e57f2 @urbanadventurer urbanadventurer committed Oct 27, 2010
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
@@ -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
@@ -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,19 +180,21 @@ 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>" }
string.map {|x| @f.puts "\t\t<string>#{escape(x)}</string>" }
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
@@ -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,31 +200,39 @@ 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
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
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
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
@@ -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
@@ -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
@@ -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 },
]
@@ -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
@@ -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>
@@ -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 },
]
@@ -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 },
]
@@ -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' },
@@ -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
@@ -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;">' },
@@ -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 },
]
@@ -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 },
]
@@ -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>' },
@@ -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 },
]
@@ -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" />' },
@@ -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 },
]
@@ -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
@@ -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>' },
Oops, something went wrong. Retry.

0 comments on commit b00f0af

Please sign in to comment.