move payload to sub folder
This commit is contained in:
parent
4e2273f558
commit
ea2296f77f
@ -1,15 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
header("Content-type: text/plain");
|
header("Content-type: text/plain");
|
||||||
echo shell_exec('whoami');
|
echo shell_exec('whoami');
|
||||||
|
|
||||||
if($_GET['usr']=='vtauth' && $_GET['pass']=='plsnohackerinokthanks') {
|
if($_GET['usr']=='vtauth' && $_GET['pass']=='plsnohackerinokthanks') {
|
||||||
echo 'auth success. ';
|
echo 'auth success. ';
|
||||||
echo shell_exec('git pull');
|
echo shell_exec('git pull');
|
||||||
echo 'pulled. ';
|
echo 'pulled. ';
|
||||||
echo shell_exec('npm run build');
|
echo shell_exec('npm run build');
|
||||||
echo 'built. ';
|
echo 'built. ';
|
||||||
} else {
|
} else {
|
||||||
header("Location: https://vt-prototyp.schulze.studio/");
|
header("Location: https://vt-prototyp.schulze.studio/");
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user