Skip to content

Commit

Permalink
Add version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoles committed Apr 26, 2015
1 parent d4867a7 commit 37b0619
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/Snare.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,18 @@

# Default Port: 6161



# Matches #
matches [

# HTTP Server Header
{ :search=>"headers[server]", :regexp=>/^SNARE$/ },
{ :search=>"headers[server]", :regexp=>/^SNARE\/([\d\.]+)$/ },

# WWW-Authenticate realm
{ :search=>"headers[www-authenticate]", :regexp=>/Digest realm="SNARE"/ },

# Version Detection
{ :version=>/<H2><CENTER>SNARE Version ([\d\.]+) Status Page<\/H2><\/CENTER>/ },

# 401 Page # Address Tag
{ :certainty=>75, :text=>'<ADDRESS>Snare Server Remote Control facility</ADDRESS>' },

Expand Down

0 comments on commit 37b0619

Please sign in to comment.