!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/usr/share/webmin/mysql/   drwxr-xr-x
Free 28.6 GB of 117.98 GB (24.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     syslog_logs.pl (1.11 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# Contains a function to supply the syslog module with extra logs

require 'mysql-lib.pl';

# syslog_getlogs()
# Returns a list of structures containing extra log files known to this module
sub syslog_getlogs
{
my $conf = &get_mysql_config();
my ($mysqld) = grep { $_->{'name'} eq 'mysqld_safe' ||
                 $_->{'name'} eq 'safe_mysqld' } @$conf;
my ($mariadb) = grep { $_->{'name'} eq 'mariadb' } @$conf;
my @rv;

# Find the error log
my $log;
if ($mysqld) {
    $log = &find_value("err-log", $mysqld->{'members'});
    }
if ($mariadb && !$log) {
    $log = &find_value("log_error", $mariadb->{'members'});
    if ($log !~ /^\//) {
        my $datadir = $mysqld ?
            &find_value("datadir", $mysqld->{'members'}) : undef;
        if ($datadir) {
            $log = $datadir."/".$log;
            }
        else {
            $log = undef;
            }
        }
    }
if ($log) {
    push(@rv, { 'file' => $log,
            'desc' => $text{'syslog_desc'},
            'active' => 1,
          } );
    }

# Find the query log
my $qlog;
if ($mysqld) {
    $qlog = &find_value("log", $mysqld->{'members'});
    }
if ($qlog) {
    push(@rv, { 'file' => $qlog,
            'desc' => $text{'syslog_logdesc'},
            'active' => 1,
          } );
    }
return @rv;
}


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.005 ]--