<commit_before><?php 
	// Default Variables
	$controller = "http://andrew.rimrockhosting.com";
	$mac = "08:00:27:EA:16:04";
	$key = "<KEY>";
	$module = "network";
?>
<h3>Get Module Config</h3>
<form name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
URL: <input type="text" name="controller" value="<?php echo $controller; ?>" size="30" />/
		 <input type="text" name="module" value="<?php echo $module; ?>" size="10" />/
		 <input type="text" name="mac" value="<?php echo $mac; ?>" size="13" />/
		 <input type="text" name="key" value="<?php echo $key; ?>" size="33"/>
		 <br />
		 <input type="submit" name="submit" value="Submit Form" /><br>
</form>

<?php
	if (isset($_POST['submit']))
	{
		$controller = $_POST['controller'];
		$mac = $_POST['mac'];
		$key = $_POST['key'];
		$module = $_POST['module'];

		// Build the URL
		$url = $controller.'/modules/'.$module.'/auth/'.$mac.'/'.$key;

		$ch = curl_init($url);
		// Ignore invalid ssl
		curl_setopt($ch, CURLOPT_SSL_VERIFYPEER , false);
		curl_setopt($ch, CURLOPT_SSL_VERIFYHOST , false);
		// Follow redirects
		curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
		// Misc options
		curl_setopt($ch, CURLOPT_HEADER, 0);
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
		// Run curl
		$output = curl_exec($ch);
		curl_close($ch);

		echo "<p>Outputed text:</p>";
		echo "<pre>";
		echo $output;
		echo "</pre>";<commit_msg>Changed paths to reflect new folder structure and changed MAC default<commit_after><?php 
	// Default Variables
	$controller = "http://andrew.rimrockhosting.com";
	$mac = "080027EA1604";
	$key = "<KEY>";
	$module = "network";
?>
<h3>Get Module Config</h3>
<form name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
URL: <input type="text" name="controller" value="<?php echo $controller; ?>" size="30" />/module/buildModule/
		 <input type="text" name="module" value="<?php echo $module; ?>" size="10" />/
		 <input type="text" name="mac" value="<?php echo $mac; ?>" size="13" />/
		 <input type="text" name="key" value="<?php echo $key; ?>" size="33"/>
		 <br />
		 <input type="submit" name="submit" value="Submit Form" /><br>
</form>

<?php
	if (isset($_POST['submit']))
	{
		$controller = $_POST['controller'];
		$mac = $_POST['mac'];
		$key = $_POST['key'];
		$module = $_POST['module'];

		// Build the URL
		$url = $controller.'/module/buildModule/'.$module.'/'.$mac.'/'.$key;

		$ch = curl_init($url);
		// Ignore invalid ssl
		curl_setopt($ch, CURLOPT_SSL_VERIFYPEER , false);
		curl_setopt($ch, CURLOPT_SSL_VERIFYHOST , false);
		// Follow redirects
		curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
		// Misc options
		curl_setopt($ch, CURLOPT_HEADER, 0);
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
		// Run curl
		$output = curl_exec($ch);
		curl_close($ch);

		echo "<p>Outputed text:</p>";
		echo "<pre>";
		echo $output;
		echo "</pre>";
{'fraction_non_alphanumeric': 0.2221835883171071, 'fraction_numerical': 0.015994436717663423, 'mean_word_length': 4.586407766990291, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 47, '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': '5867371', 'n_tokens_mistral': 1150, 'n_tokens_neox': 1036, 'n_words': 232}