403Webshell
Server IP : 103.82.32.14  /  Your IP : 216.73.217.121
Web Server : Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9
System : Linux cloud.lonmanhoabinh.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : lonmakmf ( 524)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/blogwnph/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/blogwnph/public_html/control.php
<?
session_start();
echo '<html>
<meta charset="utf-8">
<head><style>
body{
 max-width: 600px;
 margin: auto;
 }
 </style>
 </head>
 ';
echo '<h2>code by princenuce</h2><br /><br />';
@set_time_limit(6000);
include('inc.php');
dbconnect();
if($_GET['cat_pag'] != null){
   $_SESSION['cat_page']= $_GET['cat_pag'];
   }

//if($_SESSION['link'] == null){
$text = grab ('http://topkute.net/forum/index.php?id=180&page=3');
$_SESION['total_cat_page'] = grab_cat_pa($text);
$_SESSION['link'] = 'http://topkute.net/forum/index.php?id=180&page=3';
//}

if($_SESSION['page_cat'] != null){
  $source = grab ('http://topkute.net/forum/index.php?id=' . $cat_id .'&page='. $_SESSION['cat_page']);
  $data = grab_cat_l($source);
  $list_link[] = $data[1];
  $list_title[] = $data[2];
  }else{
  $_SESSION['page_cat'] = 1;
  $source = grab ('http://topkute.net/forum/index.php?id=' . $cat_id .'&page='. $_SESSION['cat_page']);
  $data = grab_cat_l($source);
  $list_link[] = $data[1];
  $list_title[] = $data[2];
  }


if($_POST['sm'] == 'leech nào thím'){
  for($i=0; $i < $_SESSION['numlink']; $i++){
  $contents= $_POST["post$i"];
  $title = $_POST["title$i"];
//echo ('<br />========================' . $list_title[$key][$k] .'====================================<br />');
            /*kiểm tra bài viết đã có tên trong database hay chưa */
              if(check_entry($title)== 'ok'){
            /* kiểm tra xem thêm tiêu đề bài viết thành công không */
              if(insert_post_title_johncms($title,$refid,$user_id,$from)== 'ok'){
            /* lấy id tiêu đề bài viết */
              if($id = get_id_title($title)){
            /* kiểm tra xem có id của bài đã thêm hay không */
              if($id != 'err') {
            /* kiểm tra nếu thêm bài viết*/
              if(insert_post_entry_johncms($contents,$id ,$user_id ,$from) == true){
               echo '<font color="lime">....thêm bài viết <b><font color="#0E46A5">' . $title . '</font></b> thành công....<br />';
               echo '...................</font><br />';
            /* thì thông báo thành công */
               } else {
            /* lỗi thì thông báo */
               echo '<font color="red">...thêm bài viết <b>'. $title . '</b> thất bại...<br />';
               echo '...................</font><br />';
               }
               } else {
            /* không tìm thấy id thì error :) */
                 echo ' lỗi rồi không tìm thấy id<br />';
                 }
                 }
                 } else {
                   echo 'post tiêu đề ' . $title . ' lỗi<br />';
                   }
                   } else {
                     echo ' đã tồn tai bài viết <b>'. $title .'</b><br /> ';
                     }
                     }
//echo nl2br(($contents));

   $_SESSION['okpage'] = $_SESSION['cat_page'];
  }
  if($_SESSION['okpage'] !== $_SESSION['cat_page'] ){
  if($_SESSION['cat_page']){
    echo '<b><h2>trang :'. $_SESSION['cat_page'] .'</h2></b><br />';
    echo '<form method=post>';
 foreach ($list_link[0] as $key => $link) {
        $_SESSION['numlink'] = count($list_link[0]);
        $contents = '';
        $text = grab ($link);
        $link = preg_replace('#\.html#','', $link);
        $total_page = grab_nd_l($text);
           for ($i=0; $i < $total_page; $i++) {
              $l = $link .'_trang-' . $i . '.html';
             $contents .= strip_tags(grab_nd(grab($l)));
             }
             echo 'tiêu đề:<input name="title' . $key . '" value=" ' . $list_title[0][$key] . '"><br /> ';
             echo 'bài viết:<textarea name="post' . $key . '">' . (($contents)). '</textarea><br />';
              }
              echo '<input name="sm" value="leech nào thím" type="submit"></form>';
              }
              }
              echo '<br />';
              for($l =1; $l<=$_SESION['total_cat_page']; $l++){
                echo '[<a href="control.php?cat_pag=' . ($l) . '"> trang ' . ($l) . '</a>]';
                }
                echo '<br /><br />dùng nhớ cho 1 textlink về truyen.hj.cx nhá. vì đây là wap mình làm để share tool leech, thím nào không có textlink lần sau bị fix code tớ đếch share nữa :)';

Youez - 2016 - github.com/yon3zu
LinuXploit