!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/virtual-server/   drwxrwxr-x
Free 28.56 GB of 117.98 GB (24.2%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     save_validate.cgi (1.69 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Set up regular validation

require './virtual-server-lib.pl';
&ReadParse();
&error_setup($text{'newvalidate_err2'});
&can_use_validation() == 2 || &error($text{'newvalidate_ecannot'});

# Validate inputs
$oldjob = $job = &find_cron_script($validate_cron_cmd);
$job ||= { 'user' => 'root',
       'active' => 1,
       'command' => $validate_cron_cmd };
if ($in{'sched'}) {
    $in{'email'} =~ /^\S+\@\S+$/ || &error($text{'newquotas_eemail'});
    &virtualmin_ui_parse_cron_time("sched", $job, \%in);
    }
if ($in{'sched'} == 0) {
    delete($config{'validate_sched'});
    }
elsif ($in{'sched'} == 1) {
    $config{'validate_sched'} = '@'.$job->{'special'};
    }
else {
    $config{'validate_sched'} =
        join(" ", $job->{'mins'}, $job->{'hours'}, $job->{'days'},
              $job->{'months'}, $job->{'weekdays'});
    }
$config{'validate_email'} = $in{'email'};
$config{'validate_config'} = $in{'config'};
$config{'validate_always'} = $in{'always'};
if ($in{'servers_def'}) {
    delete($config{'validate_servers'});
    }
else {
    $in{'servers'} || &error($text{'newvalidate_edoms'});
    $config{'validate_servers'} = join(" ", split(/\0/, $in{'servers'}));
    }
if ($in{'features_def'}) {
    delete($config{'validate_features'});
    }
else {
    $in{'features'} || &error($text{'newvalidate_efeatures'});
    $config{'validate_features'} = join(" ", split(/\0/, $in{'features'}));
    }

# Setup the Cron job
if ($oldjob) {
    &delete_cron_script($validate_cron_cmd);
    }
if ($in{'sched'}) {
    &setup_cron_script($job);
    }

# Save configuration
$config{'last_check'} = time()+1;    # no need for check.cgi to be run
&lock_file($module_config_file);
&save_module_config();
&unlock_file($module_config_file);
&run_post_actions_silently();
&webmin_log("validate");
&redirect("");


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

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