!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/home/mnnews/public_html/cgi-bin/mail/   drwxr-xr-x
Free 3.95 GB of 27.03 GB (14.63%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     changeacct.pl (3.69 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
###########################################################################
# changeacct.pl - Let the user change their account information
###########################################################################
require "common.pl";

###########################################################################
# Print header
###########################################################################
if ($button eq $cancel_button) {
&cancel;
} elsif ($remip ne $fromip) {
&diffip;
}
&print_header;

if ($button eq $change_button) {
@username = split (/ /, $sessionid);
$username = $username[0];

###########################################################################
# Store the user's POP server
###########################################################################
dbmopen(%server, $serverdb, 0600) || die "Error opening db $serverdb";
$server{$username} = $popserver;
dbmclose(%server);

###########################################################################
# Store the user's POP username
###########################################################################
dbmopen(%popuser, $popdb, 0600) || die "Error opening db $popdb";
$popuser{$username} = $popusername;
dbmclose(%popuser);

###########################################################################
# Store the user's e-mail address
###########################################################################
dbmopen(%mail, $maildb, 0600) || die "Error opening db $maildb";
$mail{$username} = $email;
dbmclose(%mail);

###########################################################################
# Store a virtual domain e-mail entry
###########################################################################
# 990204 - jrtietsort -       added check for sendmail configuration
if ($feature_forward == 1 && $dont_mess_with_sendmail != 1){
  dbmopen(%usertable, $usertable, 0600) || die "Error opening db $usertable";
  $newmail = $username . "\@" . $domain;
  $usertable{$newmail} = $email;
  dbmclose(%usertable);
}

###########################################################################
# Store the users header preference
###########################################################################
dbmopen(%head, $headerdb, 0600) || die "Error opening db $headerdb";
$head{$username} = $fullheader;
dbmclose(%head);

###########################################################################
# Store the user's button location preference
###########################################################################
dbmopen(%button, $buttondb, 0600) || die "Error opening db $buttondb";
$button{$username} = $butns;
dbmclose(%button);

###########################################################################
# Store the user's signature
###########################################################################
dbmopen(%sig, $sigdb, 0600) || die "Error opening db $sigdb";
$sig{$username} = $signature;
dbmclose(%sig);

###########################################################################
# Update the user's default From: address
###########################################################################
dbmopen(%def, $defaultdb, 0600) || die "Error opening db $defaultdb";
$def{$username} = $default;
dbmclose(%def);

###########################################################################
# Let the use know it worked
###########################################################################
print $accnt_change_info;
}

###########################################################################
# Done
###########################################################################
&print_options;
&update_sess;
&print_footer;

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0042 ]--