diff --git a/testssl.sh b/testssl.sh index 7025436..e82ad3b 100755 --- a/testssl.sh +++ b/testssl.sh @@ -1398,6 +1398,8 @@ service_detection() { [[ -z "$SERVICE" ]] && head $TMPFILE | grep -aq FTP && SERVICE=FTP [[ -z "$SERVICE" ]] && head $TMPFILE | egrep -aqi "jabber|xmpp" && SERVICE=XMPP [[ -z "$SERVICE" ]] && head $TMPFILE | egrep -aqw "Jive News|InterNetNews|NNRP|INN" && SERVICE=NNTP + # MongoDB port 27017 will respond to a GET request with a mocked HTTP response + [[ "$SERVICE" == HTTP ]] && head $TMPFILE | egrep -aqw "MongoDB" && SERVICE=MongoDB debugme head -50 $TMPFILE | sed -e '//,$d' -e '//,$d' -e '/