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


Viewing file:     url-normalizer.pl (1.32 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl -Tw

# From:    Markus Gyger <mgyger@itr.ch>
#
# I'd like to see a redirector which "normalizes" URLs to have
# a higher chance to get a hit. I didn't see such a redirector,
# so I thought I would send my little attempt. However, I have
# no real idea how much CPU time it needs using the LWP modules,
# but it seems to work.

require 5.003;
use strict;
use URI::URL;

$| = 1;  # force a flush after every print on STDOUT

my ($url, $addr, $fqdn, $ident, $method);

while (<>) {
    ($url, $addr, $fqdn, $ident, $method) = m:(\S*) (\S*)/(\S*) (\S*) (\S*):;

    # "normalize" URL
    $url = url $url;                    # also removes default port number
    $url->host(lc $url->host);          # map host name to lower case
    my $epath = $url->epath;
    $epath =~ s/%7e/~/ig;               # unescape ~
    $epath =~ s/(%[\da-f]{2})/\U$1/ig;  # capitalize escape digits
    if ($url->scheme =~ /^(http|ftp)$/) {
    $epath =~ s:/\./:/:g;           # safe?
    $epath =~ s://:/:g;             # safe?
    }
    $url->epath($epath);


    # ...


} continue {
    print "$url $addr/$fqdn $ident $method\n"
}


BEGIN {
    unless (URI::URL::implementor('cache_object')) {
    package cache_object;
    @cache_object::ISA = (URI::URL::implementor());
    URI::URL::implementor('cache_object', 'cache_object');

    sub default_port { 3128 }
    }
}

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