Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\AmbienteBogota\comments\admin\ drwxrwxrwx |
Viewing file: Select action/file-type: <?php session_start(); /** * Copyright 2008 Grestul Group * Powered by Grestul **/ include 'inc/config.php'; $username = SafeAddSlashes($_POST['username']); $passcode = SafeAddSlashes(md5($_POST['passcode'])); $time = time(); $check = SafeAddSlashes($_POST['setcookie']); $query = "SELECT user, pass FROM grestullogin WHERE user = '$username' AND pass = '$passcode'"; $result = mysql_query($query, $db); if(mysql_num_rows($result)) { $_SESSION['loggedin'] = 1; if($check) { setcookie("grestul[username]", $username, $time + 3600); setcookie("grestul[passcode]", $passcode, $time + 3600); } header('Location: home.php'); exit(); } else { header('Location: index.php?inv=1'); exit(); } ?> |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]-- |