!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:     psmerge (1.8 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl eval 'exec perl -S $0 "$@"' if (1 == 0); # psmerge: merge PostScript files produced by same application and setup # usage: psmerge [-oout.ps] file1.ps file2.ps ... # # Copyright (C) Angus J. C. Duggan 1991-1995 # See file LICENSE for details. # # Unbroken (or, broken in a different way that at least sometimes # works) by Peter Williams 2003 $prog = $0; $prog =~ s=.*/==; while ($ARGV[0] =~ /^-/) { $_ = shift; if (/^-o(.+)/) { if (!close(STDOUT) || !open(STDOUT, ">$1")) { print STDERR "$prog: can't open $1 for output\n"; exit 1; } } else { print STDERR "Usage: $prog [-oout] file1 file2...\n"; exit 1; } } $page = 0; $first = 1; $seenpages = 0; $nesting = 0; @trailer = (); $trailermode = 0; while (<>) { if ($seenpages == 0) { if (/^%%Page:/) { if ($nesting == 0) { $seenpages = 1; $page++; print "%%Page: ($page) $page\n"; } else { print $_; } } elsif ($first) { if (/^%%Pages: /) { print "%%Pages: (atend)\n"; } else { print $_; } } } elsif ($trailermode) { if (/^%!/ || /%%EOF/) { $seenpages = 0; $first = 0; $trailermode = 0; } elsif ($first) { push (@trailer, $_) unless (/^%%Pages/); } } else { if (/^%%Page:/) { if ($nesting == 0) { $seenpages = 1; $page++; print "%%Page: ($page) $page\n"; } else { print $_; } } elsif (/^%%Trailer/ && $nesting == 0) { $trailermode = 1; } elsif (/^%%BeginDocument/ || /^%%BeginBinary/ || /^%%BeginFile/) { push(@body, $_); $nesting++; print $_; } elsif (/^%%EndDocument/ || /^%%EndBinary/ || /^%%EndFile/) { push(@body, $_); $nesting--; print $_; } else { print $_; } } } print "%%Trailer\n"; print @trailer; print "%%Pages: $page\n"; print "%%EOF\n"; exit 0;

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