diff --git a/build-vm/boot.sh b/build-vm/boot.sh index b3173e4..b0e8761 100755 --- a/build-vm/boot.sh +++ b/build-vm/boot.sh @@ -14,8 +14,9 @@ a2dissite 000-default a2ensite security-workshop service apache2 reload -# Update permissions +# Prepare image site chmod o+w image/uploads +echo "TODO: Fix AE-35 Unit" > /etc/geheim.txt # Update database echo "Resetting database" diff --git a/nieuws/admincheck.js b/nieuws/admincheck.js index a7053a7..e5c7df3 100644 --- a/nieuws/admincheck.js +++ b/nieuws/admincheck.js @@ -2,5 +2,5 @@ var page = require('webpage').create(); page.open('http://localhost/nieuws/login.php', 'post', 'gebruikersnaam=Admin&wachtwoord=sesame', function() { setTimeout(function(){ phantom.exit(); - }, 1000); -}); \ No newline at end of file + }, 3000); +});