first commit

This commit is contained in:
OPSXCQ 2016-12-02 17:19:11 -02:00
parent 985a5c928c
commit f40a84879c
No known key found for this signature in database
GPG key ID: 9AD730FE9CDE5661
551 changed files with 72374 additions and 24 deletions

17
dvwa/logout.php Normal file
View file

@ -0,0 +1,17 @@
<?php
define( 'DVWA_WEB_PAGE_TO_ROOT', '' );
require_once DVWA_WEB_PAGE_TO_ROOT . 'dvwa/includes/dvwaPage.inc.php';
dvwaPageStartup( array( 'phpids' ) );
if( !dvwaIsLoggedIn() ) { // The user shouldn't even be on this page
// dvwaMessagePush( "You were not logged in" );
dvwaRedirect( 'login.php' );
}
dvwaLogout();
dvwaMessagePush( "You have logged out" );
dvwaRedirect( 'login.php' );
?>