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: diff-jars (1.2 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | #!/bin/sh # # Show jar content difference # # JPackage Project <http://www.jpackage.org/> # Guillaume Rousse <guillomovitch@sourceforge.net> # # 1.0 - initial release # 1.1 - corrected a typo # - used /tmp for temp files # 1.2 - allow diffing two jars with same basename # - use mktemp(1) for creating temp files # 1.3 - fix java-functions location # Source functions library if [ -r /usr/share/java-utils/java-functions ] ; then . /usr/share/java-utils/java-functions else echo "Can't find functions library, aborting" exit 1 fi # Check arguments if [ $# != 2 ] ; then echo "usage: `basename $0` jar1 jar2" exit 1 fi if [ -r "$1" ] ; then JAR1=$1 LIST1=/tmp/`basename "$JAR1"`.list.XXXXXX else echo "Jar '$1' not readable" exit 1 fi if [ -r "$2" ] ; then JAR2=$2 LIST2=/tmp/`basename "$JAR2"`.list.XXXXXX else echo "Jar '$2' not readable" exit 1 fi # Get jar command set_jvm JAR=$JAVA_HOME/bin/jar LIST1=`mktemp "$LIST1"` LIST2=`mktemp "$LIST2"` # Get sorted jar content $JAR tvf "$JAR1" | awk -F" " '{ print $8}' | sort > "$LIST1" $JAR tvf "$JAR2" | awk -F" " '{ print $8}' | sort > "$LIST2" # Compute difference diff -Naur "$LIST1" "$LIST2" # Remove files rm -f "$LIST1" rm -f "$LIST2" |
:: 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.0047 ]-- |