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

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/libexec/webmin/acl/   drwxr-xr-x
Free 3.83 GB of 27.03 GB (14.19%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     convert_form.cgi (1.54 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# convert_form.cgi
# Display a form for converting unix users to webmin users

use strict;
use warnings;
require './acl-lib.pl';
our (%in, %text, %config, %access);
$access{'sync'} && $access{'create'} || &error($text{'convert_ecannot'});
&ui_print_header(undef, $text{'convert_title'}, "");

my @glist = &list_groups();
if ($access{'gassign'} ne '*') {
    my @gcan = split(/\s+/, $access{'gassign'});
    @glist = grep { &indexof($_->{'name'}, @gcan) >= 0 } @glist;
    }
if (!@glist) {
    print "$text{'convert_nogroups'}<p>\n";
    &ui_print_footer("", $text{'index_return'});
    exit;
    }

print "$text{'convert_desc'}<p>\n";
print &ui_form_start("convert.cgi", "post");
print &ui_table_start(undef, undef, 2);

# Users to convert
print &ui_table_row($text{'convert_users'},
   &ui_radio_table("conv", 0,
    [ [ 0, $text{'convert_0'} ],
      [ 1, $text{'convert_1'}, &ui_textbox("users", undef, 60)." ".
                   &user_chooser_button("users", 1) ],
      [ 2, $text{'convert_2'}, &ui_textbox("nusers", undef, 60)." ".
                   &user_chooser_button("nusers", 1) ],
      [ 3, $text{'convert_3'}, &unix_group_input("group") ],
      [ 4, $text{'convert_4'}, &ui_textbox("min", undef, 6)." - ".
                   &ui_textbox("max", undef, 6) ]
    ]));

# Put into group
print &ui_table_row($text{'convert_group'},
      &ui_select("wgroup", undef, [ map { $_->{'name'} } @glist ]));

# Keep passwords in sync
print &ui_table_row($text{'convert_sync2'},
    &ui_yesno_radio("sync", 1));

print &ui_table_end();
print &ui_form_end([ [ undef, $text{'convert_ok'} ] ]);

&ui_print_footer("", $text{'index_return'});


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0033 ]--