diff --git a/PPPwn/index.php b/PPPwn/index.php index b25a38a..0091626 100644 --- a/PPPwn/index.php +++ b/PPPwn/index.php @@ -518,7 +518,8 @@ function setEnd() { } -print("         +print("          
"); @@ -786,6 +787,14 @@ function setEnd() { } "); +if (isset($_POST['patch'])){ + exec('sudo bash /boot/firmware/PPPwn/patch.sh >> /dev/null &'); + print("logger.style.display = \"block\"; + var lbody = document.getElementsByClassName(\"logger-body\")[0]; + lbody.innerHTML = ''; + startLog('patch.log');"); +} + if (isset($_POST['update'])){ exec('sudo bash /boot/firmware/PPPwn/update.sh >> /dev/null &'); print("logger.style.display = \"block\"; @@ -798,4 +807,4 @@ function setEnd() { "); -?> \ No newline at end of file +?>