PageRenderTime 39ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/plugins/php-link-directory.rb

https://github.com/eliasdorneles/WhatWeb
Ruby | 58 lines | 35 code | 9 blank | 14 comment | 0 complexity | c287f3c45f901ad14d44303ae3730182 MD5 | raw file
Possible License(s): GPL-2.0
  1. ##
  2. # This file is part of WhatWeb and may be subject to
  3. # redistribution and commercial restrictions. Please see the WhatWeb
  4. # web site for more information on licensing and terms of use.
  5. # http://www.morningstarsecurity.com/research/whatweb
  6. ##
  7. # Version 0.2 #
  8. # Fixed regex
  9. ##
  10. Plugin.define "PHP-Link-Directory" do
  11. author "Brendan Coles <bcoles@gmail.com>" # 2010-06-13
  12. version "0.2"
  13. description "phpLD is the most widely used directory script on the internet, installed on over 100,000 websites. phpLD is a great addition to any site, and is easy to install. - homepage: http://www.phplinkdirectory.com/"
  14. # 186 results for "powered by phpLinkDirectory" @ 2010-08-07
  15. # Dorks #
  16. dorks [
  17. '"powered by phpLinkDirectory"'
  18. ]
  19. # Examples #
  20. examples %w|
  21. www.inclusio.com
  22. pornocms.com
  23. www.londovor.com
  24. www.travel247365.com
  25. myworlddirectory.com
  26. www.ultradirectory.net
  27. www.link-collections.info
  28. www.summerdirectory.info
  29. www.dawnlink.info
  30. www.knifedirectory.info
  31. shrateralliance.com
  32. www.gardenwebdirectory.com
  33. highriselinks.info
  34. www.drinksdirectory.info
  35. www.hitchfifty.com
  36. www.hitslive.info
  37. indian-links.com
  38. www.addmylinkfree.com
  39. www.vipdirectory.com.ar
  40. www.europelink.info
  41. |
  42. matches [
  43. # Powered by text
  44. { :ghdb=>'"powered by phpLinkDirectory"', :certainty=>25 },
  45. { :regexp=>/<a href="http:\/\/www.phplinkdirectory.com[^>]*Phplinkdirectory/i },
  46. # Version detection # Meta generator
  47. { :version=>/<meta name="generator"[^>]*content="PHP Link Directory ([0-9\.]+)"/ },
  48. ]
  49. end