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


Viewing file:     list_running.cgi (1.6 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Show a list of all running backups

require './virtual-server-lib.pl';
&ReadParse();
&can_backup_sched() || &error($text{'sched_ecannot'});
&can_backup_domain() || &error($text{'backup_ecannot'});
&ui_print_header(undef, $text{'running_title'}, "");

@scheds = &list_running_backups();
@scheds = grep { &can_backup_sched($_) } @scheds;

# Work out what to show
@table = ( );
$hasowner = 0;
if (&can_backup_domain() == 1) {
    # For master admin, show it if any schedule has a non-master owner
    ($hasowner) = grep { $_->{'owner'} } @scheds;
    }
elsif (&can_backup_domain() == 3) {
    # For resellers, always show owner column
    $hasowner = 1;
    }

# Build table of backups
foreach $s (@scheds) {
    my @row;
    push(@row, { 'type' => 'checkbox', 'name' => 'd',
                  'value' => $s->{'id'}."-".$s->{'pid'} });
    @dests = &get_scheduled_backup_dests($s);
    @nices = map { &nice_backup_url($_, 1) } @dests;
    push(@row, &ui_link("backup_form.cgi?sched=$s->{'id'}",
                join("<br>\n", @nices)));
    push(@row, &nice_backup_doms($s));
    push(@row, &make_date($s->{'started'}));
    push(@row, $text{'running_'.$s->{'scripttype'}} || $s->{'scripttype'});
    push(@table, \@row);
    }

# Output the form and table
print &ui_form_columns_table(
    "kill_running.cgi",
    [ [ 'stop', $text{'running_stop'} ] ],
    1,
    [ ],
    undef,
    [ "", $text{'sched_dest'}, $text{'sched_doms'},
      $text{'running_started'}, $text{'running_mode'},
    ],
    100, \@table, [ '', 'string', 'string' ],
    0, undef,
    $text{'running_none'});
if (!@table) {
    print &text('running_link', 'list_sched.cgi', 'backuplog.cgi'),"<p>\n";
    }

&ui_print_footer("", $text{'index_return'});


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