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


Viewing file:     showpass.cgi (1.45 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Show a domain's or user's password

require './virtual-server-lib.pl';
&ReadParse();
$d = &get_domain($in{'dom'});
$d || &error($text{'edit_egone'});
&can_show_pass() || &error($text{'showpass_ecannot'});
&can_edit_domain($d) || &error($text{'edit_ecannot'});
if ($in{'user'}) {
    # Showing for mailbox user
    &can_edit_users() || &error($text{'users_ecannot'});
    @users = &list_domain_users($d, 0, 1, 1, 1);
    ($user) = grep { $_->{'user'} eq $in{'user'} } @users;
    $user || &error($text{'showpass_egone'});
    $username = $user->{'user'};
    $pass = $user->{'plainpass'};
    $msg1 = $text{'showpass_useru'};
    $msg2 = $text{'showpass_passu'};
    }
elsif (&indexof($in{'mode'}, @database_features) >= 0) {
    # For a DB
    $ufunc = $in{'mode'}."_user";
    $username = &$ufunc($d);
    $pfunc = $in{'mode'}."_pass";
    $pass = &$pfunc($d, 1);
    $msg1 = &text('showpass_dbuser', $text{'feature_'.$in{'mode'}});
    $msg2 = &text('showpass_dbpass', $text{'feature_'.$in{'mode'}});
    }
else {
    # For a domain
    $username = $d->{'user'};
    $pass = $d->{'pass'};
    $msg1 = $text{'showpass_user'};
    $msg2 = $text{'showpass_pass'};
    }

&popup_header($text{'showpass_title'});

print "<center><table>\n";
print "<tr> <td style=\"padding-right: 10px\"><b>$msg1</b></td> ",
      "<td><tt>",&html_escape($username),"</tt></td> </tr>\n";
print "<tr> <td style=\"padding-right: 10px\"><b>$msg2</b></td> ",
      "<td><tt>",&html_escape($pass),"</tt></td> </tr>\n";
print "</table></center>\n";

&popup_footer();

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