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


Viewing file:     edit_ext.cgi (1.48 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# edit_ext.cgi
# Display a form for creating or editing an external ACL type

use strict;
use warnings;
our (%text, %in, %access, $squid_version, %config);
require './squid-lib.pl';
$access{'actrl'} || &error($text{'eacl_ecannot'});
&ReadParse();
my $conf = &get_config();

my ($ext, $ea);
if ($in{'new'}) {
    &ui_print_header(undef, $text{'ext_title1'}, "", undef, 0, 0, 0, &restart_button());
    $ea = { 'args' => [ ] };
    }
else {
    &ui_print_header(undef, $text{'ext_title2'}, "", undef, 0, 0, 0, &restart_button());
    $ext = $conf->[$in{'index'}];
    $ea = &parse_external($ext);
    }

print &ui_form_start("save_ext.cgi", "post");
print &ui_hidden("index", $in{'index'});
print &ui_hidden("new", $in{'new'});
print &ui_table_start($text{'ext_header'}, undef, 2);

print &ui_table_row($text{'ext_name'},
    &ui_textbox("name", $ea->{'name'}, 20));

print &ui_table_row($text{'ext_format'},
    &ui_textbox("format", $ea->{'format'}, 60));

my $o = $ea->{'opts'};
foreach my $on ('ttl', 'negative_ttl', 'children', 'cache') {
    print &ui_table_row($text{'ext_'.$on},
        &ui_opt_textbox($on, $o->{$on}, 6, $text{'default'})." ".
        $text{'ext_'.$on.'_u'});
    }

print &ui_table_row($text{'ext_program'},
    &ui_textbox("program",
            join(" ", $ea->{'program'}, @{$ea->{'args'}}), 60));

print &ui_table_end();
print &ui_form_end([ [ undef, $text{'acl_buttsave'} ],
             $in{'new'} ? ( ) : ( [ 'delete', $text{'acl_buttdel'} ] ),
           ]);

&ui_print_footer("edit_acl.cgi?mode=external", $text{'acl_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.0033 ]--