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


Viewing file:     worker.pl (1.57 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# worker.pl
# Defines editors for the fork/thread module in apache 2.0
# The actual functions for most of these are still in core.pl

sub worker_directives
{
local $rv;
$rv = [ [ 'CoreDumpDirectory', 0, 9, 'global', 2.0 ],
    [ 'BindAddress Listen Port', 1, 1, 'global', 2.0, 10 ],
    [ 'ListenBacklog', 0, 1, 'global', 2.0 ],
    [ 'LockFile', 0, 9, 'global', 2.0 ],
    [ 'MaxClients', 0, 0, 'global', 2.0 ],
    [ 'MaxRequestsPerChild', 0, 0, 'global', 2.0 ],
    [ 'MinSpareThreads', 0, 0, 'global', 2.0 ],
    [ 'MaxSpareThreads', 0, 0, 'global', 2.0 ],
    [ 'PidFile', 0, 9, 'global', 2.0 ],
    [ 'ScoreBoardFile', 0, 9, 'global', 2.0 ],
    [ 'SendBufferSize', 0, 1, 'global', 2.0 ],
    [ 'StartServers', 0, 0, 'global', 2.0 ],
    [ 'ThreadsPerChild', 0, 0, 'global', 2.0 ],
    [ 'Group', 0, 8, 'global', 2.0 ],
    [ 'User', 0, 8, 'global', 2.0, 10 ] ];
return &make_directives($rv, $_[0], "worker");
}

sub edit_MinSpareThreads
{
return (1,
    $text{'worker_minspare'},
    &opt_input($_[0]->{'value'},"MinSpareThreads",$text{'default'}, 4));
}
sub save_MinSpareThreads
{
return &parse_opt("MinSpareThreads", '^\d+$',
          $text{'worker_eminspare'});
}

sub edit_MaxSpareThreads
{
return (1,
    $text{'worker_maxspare'},
    &opt_input($_[0]->{'value'},"MaxSpareThreads",$text{'default'}, 4));
}
sub save_MaxSpareThreads
{
return &parse_opt("MaxSpareThreads", '^\d+$',
          $text{'worker_emaxspare'});
}

sub edit_ThreadsPerChild
{
return (1,
    $text{'worker_threads'},
    &opt_input($_[0]->{'value'},"ThreadsPerChild",$text{'default'}, 4));
}
sub save_ThreadsPerChild
{
return &parse_opt("ThreadsPerChild", '^\d+$',
          $text{'worker_ethreads'});
}


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