From d27fda6069f5fccfac88d7ab61fcd3cb15ec1adf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Ribeiro?= Date: Sat, 15 Apr 2023 03:44:55 +0100 Subject: [PATCH] Write service probe for MSMQ --- nmap-service-probes | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nmap-service-probes b/nmap-service-probes index d4eeecaa1..a0f13d087 100644 --- a/nmap-service-probes +++ b/nmap-service-probes @@ -16775,3 +16775,12 @@ ports 34555 Probe UDP BECKHOFF_ADS q|\x03\x66\x14\x71\0\0\0\0\x01\0\0\0\0\0\0\0\x01\x01\x10\x27\0\0\0\0| rarity 8 ports 48899 + +##############################NEXT PROBE############################## +# Microsoft Message Queuing probe +Probe TCP msmqEstablishConnection q|\x10\xc0\x0b\0LIOR<\x02\0\0\xff\xff\xff\xff\0\0\x02\0NmapNmapNmapNmapNmapNmapNmapNmapNmap\x10\x03\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\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