!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/grub/   drwxr-xr-x
Free 3.79 GB of 27.03 GB (14.03%)
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.78 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# save_global.cgi
# Save global GRUB options

require './grub-lib.pl';
&ReadParse();
&error_setup($text{'global_err'});
&lock_file($config{'menu_file'});
$conf = &get_menu_config();
&error_setup($text{'global_err'});

# validate and save inputs
if ($in{'default'} eq '') {
    &save_directive($conf, 'default', undef);
    }
else {
    &save_directive($conf, 'default', { 'name' => 'default',
                        'value' => $in{'default'} });
    }
if ($in{'fallback'} eq '') {
    &save_directive($conf, 'fallback', undef);
    }
else {
    &save_directive($conf, 'fallback', { 'name' => 'fallback',
                         'value' => $in{'fallback'} });
    }
if ($in{'timeout_def'}) {
    &save_directive($conf, 'timeout', undef);
    }
else {
    $in{'timeout'} =~ /^\d+$/ || &error($text{'global_etimeout'});
    &save_directive($conf, 'timeout', { 'name' => 'timeout',
                        'value' => $in{'timeout'} });
    }
if ($in{'password_def'}) {
    &save_directive($conf, 'password', undef);
    }
else {
    $in{'password'} =~ /^\S+$/ || &error($text{'global_epassword'});
    if (!$in{'password_file'}) {
        &save_directive($conf, 'password', { 'name' => 'password',
            'value' => $in{'password'} } );
        }
    else {
        $in{'password_filename'} =~ /^\S+$/ ||
            &error($text{'global_epasswordfile'});
        &save_directive($conf, 'password', { 'name' => 'password',
            'value' => $in{'password'}.' '.$in{'password_filename'} } );
        }
    }
if ($in{'install_mode'} == 1) {
    $install = &linux_to_bios($in{'install'});
    $install || &error(&text('global_edev', $in{'root'}));
    $config{'install'} = $install;
    }
else {
    $in{'other'} =~ /^\S+$/ || &error($text{'global_eother'});
    $config{'install'} = $in{'other'};
    }
&write_file("$module_config_directory/config", \%config);
&flush_file_lines($config{'menu_file'});
&unlock_file($config{'menu_file'});
&webmin_log("global");
&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.0029 ]--