2020-12-08 19:36:02 +01:00
|
|
|
<?php
|
|
|
|
header("Content-type: text/plain");
|
|
|
|
echo shell_exec('whoami');
|
|
|
|
|
|
|
|
if($_GET['usr']=='vtauth' && $_GET['pass']=='plsnohackerinokthanks') {
|
|
|
|
echo 'auth success. ';
|
|
|
|
echo shell_exec('git pull');
|
|
|
|
echo 'pulled. ';
|
|
|
|
echo shell_exec('npm run build');
|
|
|
|
echo 'built. ';
|
|
|
|
} else {
|
|
|
|
header("Location: https://vt-prototyp.schulze.studio/");
|
|
|
|
die();
|
|
|
|
}
|
2020-12-04 10:54:05 +01:00
|
|
|
?>
|