<commit_before>#!/bin/sh

FILE=$1

DIR=$(mktemp -t -d bro_urlsnarf.XXXXXXXXX)

cd $DIR || exit 1

bro -f 'not ip6'  -C  -r $FILE || true

cat http.log | cf

rm -rf $DIR<commit_msg>switch from cf to bro-cut<commit_after>#!/bin/sh

FILE=$1

DIR=$(mktemp -t -d bro_urlsnarf.XXXXXXXXX)

cd $DIR || exit 1

bro -f 'not ip6'  -C  -r $FILE || true

cat http.log | bro-cut -d -c

rm -rf $DIR
{'fraction_non_alphanumeric': 0.17232375979112272, 'fraction_numerical': 0.015665796344647518, 'mean_word_length': 2.878787878787879, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '3247635', 'n_tokens_mistral': 183, 'n_tokens_neox': 176, 'n_words': 53}