15 lines
		
	
	
		
			389 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			389 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
	header("Content-type: text/plain");
 | 
						|
	echo shell_exec('whoami');
 | 
						|
	
 | 
						|
	if($_GET['usr']=='vtauth' && $_GET['pass']=='plsnohackerinokthanks') {
 | 
						|
		echo '<br>auth success<br>';
 | 
						|
		echo shell_exec('git pull');
 | 
						|
		echo '<br>pulled<br>';
 | 
						|
		echo shell_exec('npm run build');
 | 
						|
		echo '<br>built<br>';
 | 
						|
	} else {
 | 
						|
		header("Location: https://vt-prototyp.schulze.studio/");
 | 
						|
		die();
 | 
						|
	}
 | 
						|
?>
 |