From e0c86e306e58b51fa9ade8aa9dbd5896d3d73484 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Fri, 29 May 2015 12:30:36 -0500 Subject: [PATCH] Version bump --- lib/recog/fingerprint.rb | 1 + lib/recog/version.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/recog/fingerprint.rb b/lib/recog/fingerprint.rb index 090b1ae1..6baefe68 100644 --- a/lib/recog/fingerprint.rb +++ b/lib/recog/fingerprint.rb @@ -42,6 +42,7 @@ def initialize(xml) # @param match_string [String] # @return [Hash,nil] Keys will be host, service, and os attributes def match(match_string) + match_string.force_encoding('BINARY') if match_string match_data = @regex.match(match_string) return if match_data.nil? diff --git a/lib/recog/version.rb b/lib/recog/version.rb index eb3c630f..f9379fea 100644 --- a/lib/recog/version.rb +++ b/lib/recog/version.rb @@ -1,3 +1,3 @@ module Recog - VERSION = '2.0.2' + VERSION = '2.0.3' end