uawdijnntqw1x1x1
IP : 3.17.78.106
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.
/
.trash
/
catalog
/
.
/
.
/
model
/
tool
/
upload.php
/
/
<?php class ModelToolUpload extends Model { public function addUpload($name, $filename) { $code = sha1(uniqid(mt_rand(), true)); $this->db->query("INSERT INTO `" . DB_PREFIX . "upload` SET `name` = '" . $this->db->escape($name) . "', `filename` = '" . $this->db->escape($filename) . "', `code` = '" . $this->db->escape($code) . "', `date_added` = NOW()"); return $code; } public function getUploadByCode($code) { $query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "upload` WHERE code = '" . $this->db->escape($code) . "'"); return $query->row; } }
/home/sudancam/./.trash/catalog/././model/tool/upload.php