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


Viewing file:     http_download.cgi (1.36 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl

require './filemin-lib.pl';
use lib './lib';

&ReadParse();
get_paths();

if (!$in{'link'}) {
    &redirect("index.cgi?path=".&urlize($path));
    return;
    }

my $mode;
my @errors;

my ($host, $port, $page, $ssl) = &parse_http_url($in{'link'});
if (!$host) {
    # Not an HTTP or FTP URL
    push(@errors, $text{'error_invalid_uri'});
    }
else {
    # Looks like a valid URL
    my $file = $page;
    $file =~ s/^.*\///;
    $file ||= "index.html";
    $full = "$cwd/$file";

    if (-e $full) {
        push @errors, "<i>$file</i> $text{'file_already_exists'} <i>$path</i>";
        }
    else {
        &ui_print_header(undef, $text{'http_downloading'}, "");

        $progress_callback_url = $in{'link'};
        my @st = stat($cwd);
        if ($ssl == 0 || $ssl == 1) {
            # HTTP or HTTPS download
            &http_download($host, $port, $page, $full, undef,
                       \&progress_callback, $ssl,
                       $in{'username'}, $in{'password'});
            }
        else {
            # Actually an FTP download
            &ftp_download($host, $page, $full, undef,
                      \&progress_callback,
                      $in{'username'}, $in{'password'}, $port);
            }
        &set_ownership_permissions($st[4], $st[5], undef, $full);
        @st = stat($cwd);
        print &text('http_done', &nice_size($st[7]),
                "<tt>".&html_escape($full)."</tt>"),"<p>\n";
        &ui_print_footer("index.cgi?path=".&urlize($path),
                 $text{'previous_page'});
        }
    }

if (scalar(@errors) > 0) {
    print_errors(@errors);
    }

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