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


Viewing file:     add_conn.cgi (1.1 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Actually add a connection

use strict;
use warnings;
require './iscsi-client-lib.pl';
our (%text, %in);
&ReadParse();
&error_setup($text{'add_err'});

# Re-check the list of targets
my $targets = &list_iscsi_targets($in{'host'}, $in{'port'}, $in{'iface'});
ref($targets) || &error(&text('add_etargets', $in{'host'}, $targets));
my $target = undef;
if ($in{'target'}) {
    ($target) = grep { $_->{'name'}.":".$_->{'target'} eq $in{'target'} }
             @$targets;
    $target || &error(&text('add_etarget', $in{'target'}));
    }

# Validate username and password
my @auth;
if (!$in{'auth_def'}) {
    $in{'authuser'} =~ /\S/ || &error($text{'auth_eusername'});
    $in{'authpass'} =~ /\S/ || &error($text{'auth_epassword'});
    @auth = ( $in{'authmethod'}, $in{'authuser'}, $in{'authpass'} );
    }

# Try to make the connection
my $err = &create_iscsi_connection($in{'host'}, $in{'port'},
                   $in{'iface'}, $target, @auth);
&error($err) if ($err);

&webmin_log("add", "connection", $in{'host'},
        { 'host' => $in{'host'},
          'port' => $in{'port'},
          'target' => $target->{'target'} });
&redirect("list_conns.cgi");

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