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: gnroff (1.52 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | #!/bin/bash # Emulate nroff with groff. prog="$0" charset_in=iso-8859-1 charset_out=`locale charmap 2>/dev/null` opts= for i do case $1 in -c) opts="$opts -P-c" ;; -h) opts="$opts -P-h" ;; -[eq] | -s* | -u* | -T* ) # ignore these options ;; -[mrnoT]) echo $"option $1 requires an argument" >&2 exit 1 ;; -[iptSUC] | -[mrno]*) opts="$opts $1" ;; -v | --version) echo $"GNU nroff (groff) with Red Hat i18n/l10n support" exit 0 ;; --legacy) shift charset_in=$1 ;; --help) echo $"usage: $prog [-cChipt] [-mNAME] [-nNUM] [--legacy CHARSET] [-oLIST] [-rCN] [FILE...]" exit 0 ;; --) shift break ;; -) break ;; -*) echo $"$prog: invalid option $1" >&2 exit 1 ;; *) break ;; esac shift done TMPFILE=$(mktemp /tmp/man.XXXXXX) trap "rm -f $TMPFILE" 0 1 2 3 15 cat ${1+"$@"} >| ${TMPFILE} if iconv -f utf-8 -t utf-8 -o /dev/null ${TMPFILE} 2>/dev/null then charset_in=utf-8 else echo XXX echo XXX $"WARNING: old character encoding and/or character set" echo XXX fi # en_US is chosen arbitrarily; any UTF-8 locale should work export LC_ALL=en_US.UTF-8 # This shell script is intended for use with man, so warnings are # probably not wanted. Also load nroff-style character definitions. /usr/bin/iconv -f ${charset_in} -t utf-8 ${TMPFILE} | \ /usr/bin/groff -mtty-char -Tutf8 $opts 2>/dev/null | \ /usr/bin/iconv -f utf-8 -t ${charset_out}//translit rm -f ${TMPFILE} # eof |
:: 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.0057 ]-- |