!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/bind8/   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:     conf_servers.cgi (1.75 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# conf_servers.cgi
# Display options for other DNS servers
use strict;
use warnings;
# Globals
our (%access, %text);

require './bind8-lib.pl';
$access{'defaults'} || &error($text{'servers_ecannot'});
&ui_print_header(undef, $text{'servers_title'}, "",
         undef, undef, undef, undef, &restart_links());

my $conf = &get_config();
my @servers = ( &find("server", $conf), { } );
my @keys = &find("key", $conf);

print &ui_form_start("save_servers.cgi", "post");
print &ui_columns_start([ $text{'servers_ip'},
              $text{'servers_bogus'},
              $text{'servers_format'},
              $text{'servers_trans'},
              @keys ? ( $text{'servers_keys'} ) : ( ) ], 100);
for(my $i=0; $i<@servers; $i++) {
    my $s = $servers[$i];
    my @cols = ( );
    push(@cols, &ui_textbox("ip_$i", $s->{'value'}, 30));

    my $bogus = &find_value("bogus", $s->{'members'});
    push(@cols, &ui_radio("bogus_$i", lc($bogus) eq 'yes' ? 1 : 0,
                  [ [ 1, $text{'yes'} ],
                [ 0, $text{'no'} ] ]));

    my $format = &find_value("transfer-format", $s->{'members'});
    push(@cols, &ui_radio("format_$i", lc($format),
                  [ [ 'one-answer', $text{'servers_one'} ],
                [ 'many-answers', $text{'servers_many'} ],
                [ '', $text{'default'} ] ]));

    my $trans = &find_value("transfers", $s->{'members'});
    push(@cols, &ui_textbox("trans_$i", $trans, 8));

    if (@keys) {
        my %haskey;
        my $keys = &find("keys", $s->{'members'});
        foreach my $k (@{$keys->{'members'}}) {
            $haskey{$k->{'name'}}++;
            }
        my $cbs = "";
        foreach my $k (@keys) {
            my $v = $k->{'value'};
            $cbs .= &ui_checkbox("keys_$i", $v, $v, $haskey{$v}).
                "\n";
            }
        push(@cols, $cbs);
        }
    print &ui_columns_row(\@cols);
    }
print &ui_columns_end();
print &ui_form_end([ [ undef, $text{'save'} ] ]);

&ui_print_footer("", $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.0034 ]--