forked from urbanadventurer/WhatWeb
/
Nette-Framework.rb
41 lines (33 loc) · 940 Bytes
/
Nette-Framework.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
##
# 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
##
Plugin.define "Nette-Framework" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-04-08
version "0.1"
description "Nette Framework is a powerful framework for rapid and easy creation of high quality and innovative web applications in PHP 5.3 - Homepage: http://nette.org/cs/"
# ShodanHQ results as at 2011-04-08 #
# 105 for X-Powered-By: Nette Framework
# Examples #
examples %w|
95.168.203.90
109.74.144.212
93.184.70.208
62.245.94.248
92.52.82.213
109.74.144.205
147.230.88.143
93.185.104.99
147.251.105.149
|
# Passive #
def passive
m=[]
# X-Powered-By Header
m << { :name=>"X-Powered-By" } if @headers["x-powered-by"] =~ /^Nette Framework$/
# Return passive matches
m
end
end