File: Synchronet-BBS.rb

package info (click to toggle)
whatweb 0.4.8~git20120606-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,956 kB
  • sloc: ruby: 53,738; sh: 577; makefile: 34
file content (47 lines) | stat: -rw-r--r-- 1,279 bytes parent folder | download
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
41
42
43
44
45
46
47
##
# 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 "Synchronet-BBS" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-06-04
version "0.1"
description "Synchronet Multinode BBS Software - Open source BBS that works on the DOS, Windows, or OS/2 operating system and supports multiple simultaneous users with hierarchical message and file areas, multi-user chat, and the ever-popular BBS door games. - Homepage: http://www.synchro.net/"

# ShodanHQ results as at 2011-06-04 #
# 93 for Synchronet BBS
# 69 for Synchronet BBS Win32
# 23 for Synchronet BBS Linux
#  1 for Synchronet BBS FreeBSD

# Examples #
examples %w|
76.202.204.42
87.79.30.27
74.82.196.211
67.131.51.105
71.130.72.50
86.24.74.157
69.197.160.143
208.115.243.69
71.236.221.62
173.12.195.97
71.197.167.138
66.25.237.142
99.56.212.181
|

# Passive #
def passive
	m=[]

	# Version Detection # HTTP Server Header
	m << { :version=>@headers["server"].scan(/^Synchronet BBS for .+ Version ([^\s]+)$/) } if @headers["server"] =~ /^Synchronet BBS for .+ Version ([^\s]+)$/

	# Return passive matches
	m
end

end