<commit_before>#!/bin/sh
# usage: ping-msn.sh <version> <ip>
# prints the IP if the server doesn't support the protocol
if [ -z "$(echo VER 1 $1 | nc -w 10 $2 1863 | grep $1)" ]; then
    echo $2
fi<commit_msg>https based protocol version testing script<commit_after>#!/bin/sh
# usage: ping-msn.sh <version> <ip>
# prints the IP if the server doesn't support the protocol
# otherwise, quits silently
curl -sk -m10 "https://$2/gateway/gateway.dll?Action=open" -d "VER 1 $1"$'\r\n' | grep -q $1 || echo $2
{'fraction_non_alphanumeric': 0.15904572564612326, 'fraction_numerical': 0.03578528827037773, 'mean_word_length': 3.8932038834951457, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1587390', 'n_tokens_mistral': 200, 'n_tokens_neox': 179, 'n_words': 67}