!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:     edit_mailusers.cgi (1.76 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Show a form for emailing virtual server owners

require './virtual-server-lib.pl';
&ReadParse();
$d = &get_domain($in{'dom'});
&can_edit_domain($d) || &error($text{'users_ecannot'});
&can_edit_users() || &error($text{'users_ecannot'});
&ui_print_header(&domain_in($d), $text{'mailusers_title'}, "");
&foreign_require("mailboxes");

print &ui_hidden_start($text{'newuser_docs'}, "docs", 0);
$text{'sub_USER'} = $text{'sub_POP3'};
$text{'sub_HOME'} = $text{'sub_POP3HOME'};
print "$text{'mailusers_desc'}<p>\n";
&print_subs_table("MAILBOX", "USER", "PLAINPASS", "DOM", "HOME", "QUOTA");
print &ui_hidden_end(),"<p>\n";

print &ui_form_start("mailusers.cgi", "form-data");
print &ui_hidden("dom", $in{'dom'}),"\n";
print &ui_table_start($text{'mailusers_header'}, undef, 2);

# Users to email
@users = grep { $_->{'email'} || $_->{'user'} eq $d->{'user'} }
          &list_domain_users($d, 0, 0, 1, 1);
print &ui_table_row($text{'mailusers_to'},
            &ui_radio("to_def", 1,
            [ [ 1, $text{'mailusers_all'} ],
              [ 0, $text{'mailusers_sel'} ] ])."<br>\n".
            &ui_select("to", undef,
            [ map { [ $_->{'user'},
                  &remove_userdom($_->{'user'}, $d) ] } @users ],
            5, 1));

# Message subject
print &ui_table_row($text{'newnotify_subject'},
            &ui_textbox("subject", undef, 50));

# Message sender
print &ui_table_row($text{'newnotify_from'},
            &ui_textbox("from", $d->{'emailto_addr'}, 50));

# Message body
print &ui_table_row($text{'newnotify_body'},
            &ui_textarea("body", undef, 10, 60));

# Attachment
print &ui_table_row($text{'newnotify_attach'},
            &ui_upload("attach"));

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

&ui_print_footer("list_users.cgi?dom=$in{'dom'}", $text{'users_return'},
         "", $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.0038 ]--