Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recog_match does not support multiline input banners #100

Open
jhart-r7 opened this issue Nov 20, 2015 · 0 comments
Open

recog_match does not support multiline input banners #100

jhart-r7 opened this issue Nov 20, 2015 · 0 comments

Comments

@jhart-r7
Copy link
Contributor

recog_match can read banners from STDIN or from a file passed on the command line, but assumes that each line of input is a banner. This complicates working with multiline banners, like NTP:

In this case, /tmp/f contains an example NTP fingerprint taken verbatim from our fingerprints:

$  ./bin/recog_match xml/ntp_banners.xml /tmp/f
FAIL: version="ntpd 4.1.1a@1.791 Fri Aug  8 04:08:19 PDT 2003 (1)",
FAIL: processor="i386", system="BIG-IPBIG-IP 4.5PTF-0", leap=3, stratum=16,
FAIL: precision=-16, rootdelay=0.000, rootdispersion=103599.120, peer=0,
FAIL: refid=0.0.0.0, reftime=0x00000000.00000000, poll=4,
FAIL: clock=0xd20533b8.903aa79b, state=1, offset=0.000, frequency=0.000,
FAIL: jitter=0.015, stability=0.000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant