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) /var/www/html/phpMyAdmin/lang/ drwxr-xr-x |
Viewing file: translatecount.sh (904 B) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | #!/bin/sh # $Id: translatecount.sh,v 2.0 2003/11/18 15:20:42 nijel Exp $ ## # Shell script to produce counts of just how out of date the translations are! ## # Accepts optional parameters of a list of files to produce counts from # Defaults to using all files ## # Written by Robin Johnson <robbat2 at users.sourceforge.net> ## srcfilelist=${@} destfilelist="" translationmatch='//to translate' suffixtoremove='.inc.php' added=0 if [ -z "${srcfilelist}" ]; then srcfilelist="*.inc.php" added=1 fi; for i in ${srcfilelist}; do if [ ! -e ${i} ]; then $i=`eval ${i}*php3` fi if [ -e ${i} ]; then destfilelist="${destfilelist} ${i}" fi; done; destfilelist=`echo ${destfilelist} | xargs -n1 | egrep '.inc.php$'` if [ ! -z "${destfilelist}" ]; then grep -c -- "${translationmatch}" ${destfilelist} | sort -t':' -n +1 | sed -e "s/${suffixtoremove}//g" | xargs -n1 | egrep -v ':0$' fi; |
:: 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.016 ]-- |