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


Viewing file:     pam_listfile.so.pl (1.59 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# display args for pam_listfile.so

# display_args(&service, &module, &args)
sub display_module_args
{
print &ui_table_row($text{'listfile_item'},
    &ui_select("item", $_[2]->{'item'},
        [ map { [ $_, $text{'listfile_item_'.$_} ] }
              ('user', 'tty', 'rhost', 'ruser', 'group', 'shell') ]));

print &ui_table_row($text{'listfile_sense'},
    &ui_radio("sense", $_[2]->{'sense'} || "deny",
        [ [ "allow", $text{'listfile_succeed'} ],
          [ "deny", $text{'listfile_fail'} ] ]));

print &ui_table_row($text{'listfile_file'},
    &ui_textbox("file", $_[2]->{'file'}, 50)." ".
    &file_chooser_button("file"), 3);

print &ui_table_row($text{'listfile_onerr'},
    &ui_radio("onerr", $_[2]->{'onerr'} || "succeed",
          [ [ "fail", $text{'listfile_fail'} ],
            [ "success", $text{'listfile_succeed'} ] ]));

local $mode = $_[2]->{'apply'} =~ /^\@/ ? 2 :
          $_[2]->{'apply'} ? 1 : 0;
print &ui_table_row($text{'listfile_apply'},
    &ui_radio("apply_mode", $mode,
    [ [ 0, $text{'listfile_all'} ],
      [ 1, $text{'listfile_user'}." ".
        &unix_user_input("apply_user", $mode == 1 ? $_[2]->{'apply'} : "")],
      [ 2, $text{'listfile_group'}." ".
        &unix_group_input("apply_group", $mode == 2 ?
            substr($_[2]->{'apply'}, 1) : "") ] ]), 3);
}

# parse_module_args(&service, &module, &args)
sub parse_module_args
{
$_[2]->{'item'} = $in{'item'};
$_[2]->{'sense'} = $in{'sense'};
$_[2]->{'file'} = $in{'file'};
$_[2]->{'onerr'} = $in{'onerr'};
if ($in{'apply_mode'} == 0) {
    delete($_[2]->{'apply'});
    }
elsif ($in{'apply_mode'} == 1) {
    $_[2]->{'apply'} = $in{'apply_user'};
    }
else {
    $_[2]->{'apply'} = '@'.$in{'apply_group'};
    }
}

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