!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/lib/rpm/   drwxr-xr-x
Free 3.33 GB of 27.03 GB (12.33%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     u_pkg.sh (2 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/sh

# a universal interface to Unix OS package managment systems

# This script is not finished.  It is a bunch of ideas for creating a
# universal package manager using the OS package manager.  I wish to
# only use tools which are installed in the OS by default and be
# portable to all OS package managers.


PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/bsd:$PATH"
export PATH



osname=`uname -s`
if test $? -ne 0 || test X$osname = X ; then
	echo "I can't determine what platform this is.  Exiting"
	exit 1
fi


#
# Set OS dependent defaults
#

# note: that the "package name" which are returned by this script
# should always include the version and release number.

case $osname in
	Linux)
		check_all_packages='rpm -Va'
		list_all_packages='rpm -qa'
		list_all_files='rpm -qla'
		list_all_files_in_package='rpm -ql $1'
		full_package_name='rpm -q $1'
		query_file='rpm -qf $1'
		;;
	SunOS)
		check_all_packages='/usr/sbin/pkgchk -n'
		list_all_files='/usr/sbin/pkgchk -l | /bin/egrep Pathname | /bin/awk "{print \$2}" '
		list_all_files_in_package='/usr/sbin/pkgchk -l $1 | /bin/egrep Pathname | /bin/awk "{print \$2}" '
		list_all_packages='/usr/bin/pkginfo -x | /bin/sed -e "/^[a-zA-Z]/ { N; /^\\n\$/d; s/ .*$//; }" '
		package_version='/usr/bin/pkginfo -x $1 | egrep -v "^[a-zA-Z]" | sed -e "s/(.*)//; s/\ \ *//" '
		query_file='/usr/sbin/pkgchk -l -p $1 | /bin/egrep -v "^[a-zA-Z]" | xargs /usr/bin/pkginfo -x | /bin/sed -e "/^[a-zA-Z]/ { N; /^\\n\$/d; s/\ .*\\n.*//; }" '
		;;
	OSF1)
		;;
	HP-UX)
		;;
	AIX)
		;;
	IRIX|IRIX64)
		;;
	*)
		echo "I haven't been configured yet to work on $osname."
		echo "email it to rpm-list@redhat.com, so that your OS"
		echo "will be supported by some future version of this script."
		echo ""
		echo "Thanks!"
		echo
		exit 2
		;;
esac



option=$1
shift

# I would like to have the second $ actually interpolate so I could
# drop the second eval.  Anyone know how to do this?

if [ $option = 'print_cmd' ]; then
	option=$1
	shift
	eval echo $"$option"
	exit 0
fi

eval eval $"$option"




:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0032 ]--