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

Modify telnet patterns to fix recog-java compatibility #385

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions xml/telnet_banners.xml
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@
<param pos="1" name="host.name"/>
</fingerprint>

<fingerprint pattern="^(?:\r|\n)*HP JetDirect(?:\r|\n)+$">
<fingerprint pattern="^(?:\r|\n)*HP JetDirect(?:\r|\n)+">
<description>HP Printer - Jet Direct</description>
<!-- HP JetDirect\r\nPassword is not set\r\n\r\nPlease type "menu" for the MENU system, \r\nor "?" for help, or "/" for current settings.\r\n> -->

Expand Down Expand Up @@ -1209,7 +1209,7 @@
<param pos="1" name="os.version"/>
</fingerprint>

<fingerprint pattern="^Telnet Server Build (5.*)">
<fingerprint pattern="(?m)^Telnet Server Build (5\.[.\d]+)">
<description>Windows 2000</description>
<!--Microsoft (R) Windows NT (TM) Version 4.00 (Build 1381)\nWelcome to Microsoft Telnet Service \nTelnet Server Build 5.00.99034.1\nlogin: -->

Expand Down Expand Up @@ -1703,7 +1703,7 @@
<param pos="3" name="os.version"/>
</fingerprint>

<fingerprint pattern="^HP ([^\s]+) ProCurve Switch">
<fingerprint pattern="(?m)^HP ([^\s]+) ProCurve Switch">
<description>HP ProCurve Switch</description>
<!-- ==============================================================================\nHP J4121A ProCurve Switch 4000M\n
Firmware revision v2.2.3\n\nCopyright (C) 1991-2004 Hewlett-Packard Co. All Rights Reserved.\n\n
Expand Down