!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.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     delete_group.cgi (1.3 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# delete_group.cgi
# Delete a group (and maybe it's members)

use strict;
use warnings;
require './acl-lib.pl';
our (%in, %text, %config, %access, $base_remote_user);
&ReadParse();
&error_setup($text{'gdelete_err'});
$access{'groups'} || &error($text{'gdelete_ecannot'});
my @glist = &list_groups();
my ($group) = grep { $_->{'name'} eq $in{'group'} } @glist;
my @mems = @{$group->{'members'}};
foreach my $m (@mems) {
    &error($text{'gdelete_esub'}) if ($m =~ /^\@/);
    }

if (&indexof($base_remote_user, @mems) >= 0) {
    &error($text{'gdelete_euser'});
    }
elsif (@mems && !$in{'confirm'}) {
    # Ask if the user really wants to delete the group and members
    &ui_print_header(undef, $text{'gdelete_title'}, "");

    print &ui_confirmation_form(
        "delete_group.cgi",
        &text('gdelete_desc', "<tt>$in{'group'}</tt>",
                    "<tt>".join(" ", @mems)."</tt>"),
        [ [ "group", $in{'group'} ] ],
        [ [ "confirm", $text{'gdelete_ok'} ] ],
        );

    &ui_print_footer("", $text{'index_return'});
    }
else {
    # Delete the group (and members if any)
    &delete_group($in{'group'});
    foreach my $u (@mems) {
        if ($u =~ /^\@(.*)/) {
            &delete_group("$1");
            }
        else {
            &delete_user($u);
            }
        }
    &delete_from_groups("\@".$in{'group'});
    &reload_miniserv();
    &webmin_log("delete", "group", $in{'group'});
    &redirect("");
    }


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