!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.58 GB of 117.98 GB (24.22%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     delete_plans.cgi (1.06 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Delete one or more selected plans

require './virtual-server-lib.pl';
&ReadParse();
&error_setup($in{'default'} ? $text{'dplans_err2'} : $text{'dplans_err'});
$canplans = &can_edit_plans();
$canplans || &error($text{'plans_ecannot'});

@d = split(/\0/, $in{'d'});
@d || &error($text{'dplans_enone'});

if ($in{'delete'}) {
    # Get the plans and remove them
    @plans = &list_editable_plans();
    @allplans = &list_plans();
    foreach $d (@d) {
        ($plan) = grep { $_->{'id'} eq $d } @plans;
        if ($plan) {
            @allplans = grep { $_->{'id'} ne $d } @allplans;
            @allplans || &error($text{'dplans_eall'});
            &delete_plan($plan);
            }
        }

    # Log and return
    &run_post_actions_silently();
    &webmin_log("delete", "plans", scalar(@d));
    }
else {
    # Get the selected plan and make it the default
    $plan = &get_plan($d[0]);
    $plan && !$plan->{'deleted'} && &can_use_plan($plan) ||
                &error($text{'plans_esetdef'});
    &set_default_plan($plan);
    &run_post_actions_silently();
    &webmin_log("default", "plan", $plan->{'id'}, $plan);
    }
&redirect("edit_newplan.cgi");


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