Sha256: aa87b77472a77709910451695aa7aec450a54ef0523cfb2d54b81f700fc7f7bd
Contents?: true
Size: 1003 Bytes
Versions: 6
Compression:
Stored size: 1003 Bytes
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 "Python" do @author = "Brendan Coles <bcoles@gmail.com>" # 2010-10-26 @version = "0.1" @description = "Python is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python and see almost immediate gains in productivity and lower maintenance costs." @website = "http://www.python.org/" # About 170076 ShodanHQ results for "server: python" @ 2010-10-26 # HTTP Header def passive(target) m = [] # Server # Version Detection m << { version: target.headers["server"].to_s.scan(/[^\r^\n]* Python\/([^\s^\r^\n]+)/).flatten } if target.headers["server"].to_s =~ /[^\r^\n]* Python\/([^\s^\r^\n]+)/ m end end
Version data entries
6 entries across 6 versions & 1 rubygems