Sha256: 13b235e00f18e22ca35a1907147de0119d0dcbba3258f999166b062091ef67d8
Contents?: true
Size: 1.57 KB
Versions: 6
Compression:
Stored size: 1.57 KB
Contents
# frozen_string_literal: true ## # This file is part of WhatWeb and may be subject to # redistribution and commercial restrictions. Please see the WhatWeb # web site for more information on licensing and terms of use. # http://www.morningstarsecurity.com/research/whatweb ## WhatWeb::Plugin.define "Posterous" do @author = "Brendan Coles <bcoles@gmail.com>" # 2011-05-19 @version = "0.1" @description = "Posterous publishing platform. If you can email, you can manage a website and share it with small groups or the world using Posterous. - https://posterous.com/" # ShodanHQ results as at 2011-05-19 # # 13 for _sharebymail_session_id # Matches # @matches = [ # Meta Generator { text: '<meta name="generator" content="Posterous" />' }, # div class "posterous_site_data" { text: '<div class="posterous_site_data" data-post-id="' }, # Account Detection { account: /<meta property="og:site_name" content="([^"]+)'s posterous" \/>/ }, # Protected Page { text: '<li class="first"><a href="http://posterous.com/login?jumpto=http' }, # Redirect Page { regexp: /<html><body>You are being <a href="http:\/\/([^"]+)\.posterous\.com\/">redirected<\/a>\.<\/body><\/html>/ }, ] # Passive # def passive(target) m = [] # _sharebymail_session_id cookie m << { name: "_sharebymail_session_id cookie" } if target.headers["set-cookie"] =~ /^_sharebymail_session_id=/ # x-posteroushostname header m << { name: "x-posteroushostname header" } unless target.headers["x-posteroushostname"].nil? # Return passive matches m end end
Version data entries
6 entries across 6 versions & 1 rubygems