!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/fail2ban/   drwxr-xr-x
Free 25.57 GB of 117.98 GB (21.68%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     save_config.cgi (1.28 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Save global config options

use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './fail2ban-lib.pl';
our (%in, %text, %config);
&ReadParse();
&error_setup($text{'config_err'});

my $conf = &get_config();
my ($def) = grep { $_->{'name'} eq 'Definition' } @$conf;
$def || &error($text{'config_edef'});
my ($DEF) = grep { $_->{'name'} eq 'DEFAULT' } @$conf;

# Validate inputs
if ($in{'logtarget_def'} eq 'file') {
    $in{'logtarget'} =~ /^\/\S+$/ || &error($text{'config_elogtarget'});
    }
if (!$in{'socket_def'}) {
    $in{'socket'} =~ /^\/\S+$/ || &error($text{'config_esocket'});
    }

# Update config file
&lock_all_config_files();

&save_directive("loglevel", $in{'loglevel'}, $def);
&save_directive("logtarget",
    $in{'logtarget_def'} eq '' ? undef :
    $in{'logtarget_def'} eq 'file' ? $in{'logtarget'} :
                     $in{'logtarget_def'}, $def);
&save_directive("socket", $in{'socket_def'} ? undef : $in{'socket'}, $def);
if ($DEF) {
    my $time = $in{'dbpurgeage'} == 1 ? 86400 :
            $in{'dbpurgeage'} == 2 ?
                $in{'dbpurgeagecus'} : $in{'dbpurgeagesel'};
    my $conf_time_error = &time_to_seconds_error($time);
    &error($conf_time_error) if ($conf_time_error);
    &save_directive("dbpurgeage", $time, $DEF);
    }

&unlock_all_config_files();
&webmin_log("config");
&redirect("");

:: 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.0037 ]--