Files
Security-VM/nieuws/admincheck.js
T
2014-03-05 23:24:49 +01:00

6 lines
208 B
JavaScript

var page = require('webpage').create();
page.open('http://localhost/nieuws/', 'post', 'email=admin@nieuws.nl&password=sesame', function() {
setTimeout(function(){
phantom.exit();
}, 1000);
});