2020-12-04 10:54:05 +01:00
|
|
|
<?php
|
2020-12-04 11:37:00 +01:00
|
|
|
header("Content-type: text/plain");
|
2020-12-04 10:54:05 +01:00
|
|
|
echo shell_exec('whoami');
|
2020-12-04 11:30:31 +01:00
|
|
|
|
|
|
|
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();
|
|
|
|
}
|
2020-12-04 10:54:05 +01:00
|
|
|
?>
|