!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)

/usr/libexec/webmin/fetchmail/   drwxr-xr-x
Free 5.29 GB of 27.03 GB (19.57%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     save_global.cgi (1.53 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# save_global.cgi
# Save global options

require './fetchmail-lib.pl';
&ReadParse();
&error_setup($text{'global_err'});

if ($config{'config_file'}) {
    $file = $config{'config_file'};
    }
else {
    &can_edit_user($in{'user'}) || &error($text{'poll_ecannot'});
    @uinfo = getpwnam($in{'user'});
    $file = "$uinfo[7]/.fetchmailrc";
    }

&lock_file($file);
@conf = &parse_config_file($file);
foreach $c (@conf) {
    $poll = $c if ($c->{'defaults'});
    }
$found++ if ($poll);

# Validate inputs
$in{'port_def'} || $in{'port'} =~ /^\d+$/ ||
    &error($text{'poll_eport'});
if (!$in{'interface_def'}) {
    $in{'interface'} =~ /^\S+$/ || &error($text{'poll_einterface'});
    &check_ipaddress($in{'interface_net'}) || &error($text{'poll_enet'});
    &check_ipaddress($in{'interface_mask'}) || !$in{'interface_mask'} ||
        &error($text{'poll_emask'});
    }

# Create the default structure
$poll->{'defaults'} = 1;
$poll->{'proto'} = $in{'proto'};
$poll->{'port'} = $in{'port_def'} ? undef : $in{'port'};
if ($in{'interface_def'}) {
    delete($poll->{'interface'});
    }
else {
    local @interface = ( $in{'interface'}, $in{'interface_net'} );
    push(@interface, $in{'interface_mask'}) if ($in{'interface_mask'});
    $poll->{'interface'} = join("/", @interface);
    }

if ($found) {
    &modify_poll($poll, $file);
    }
else {
    &create_poll($poll, $file);
    if ($in{'user'} && $< == 0) {
        &system_logged("chown $in{'user'} $file");
        }
    &system_logged("chmod 700 $file");
    }
&unlock_file($file);
&webmin_log("global", undef, $config{'config_file'} ? $file : $in{'user'},
        \%in);
&redirect("");


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