features/match.feature in recog-0.02 vs features/match.feature in recog-1.0.0
- old
+ new
@@ -1,15 +1,15 @@
Feature: Match
Scenario: Finds matches
- When I run `match.rb matching_banners_fingerprints.xml banners.xml`
+ When I run `recog_match.rb matching_banners_fingerprints.xml banners.xml`
Then it should pass with:
"""
MATCH: {"pureftpd.config"=>"[privsep] [TLS] ", "service.family"=>"Pure-FTPd", "service.product"=>"Pure-FTPd", "data"=>"---------- Welcome to Pure-FTPd [privsep] [TLS] ----------"}
MATCH: {"os.vendor"=>"Sun", "os.family"=>"Solaris", "os.product"=>"Solaris", "os.device"=>"General", "host.name"=>"polaris", "os.version"=>"5.8", "data"=>"polaris FTP server (SunOS 5.8) ready."}
"""
Scenario: Fails at finding matches
- When I run `match.rb failing_banners_fingerprints.xml banners.xml`
+ When I run `recog_match.rb failing_banners_fingerprints.xml banners.xml`
Then it should pass with:
"""
FAIL: ---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
FAIL: polaris FTP server (SunOS 5.8) ready
"""