403Webshell
Server IP : 189.126.111.107  /  Your IP : 216.73.217.69
Web Server : Apache
System : Linux www.gadotticar.com.br 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64
User : gadotticar ( 1000)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/webmin/acl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin/acl/cgi_args.pl
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
do 'acl-lib.pl';
our (%access);

sub cgi_args
{
my ($cgi) = @_;
if ($cgi eq 'edit_user.cgi') {
	my ($u) = grep { &can_edit_user($_->{'name'}) } &list_users();
	return $u ? 'user='.&urlize($u->{'name'}) :
	       $access{'create'} ? '' : 'none';
	}
elsif ($cgi eq 'edit_group.cgi') {
	my ($u) = grep { &can_edit_group($_->{'name'}) } &list_groups();
	return $u ? 'group='.&urlize($u->{'name'}) :
	       $access{'groups'} ? '' : 'none';
	}
elsif ($cgi eq 'edit_acl.cgi') {
	my ($u) = grep { &can_edit_user($_->{'name'}) } &list_users();
	if ($u && @{$u->{'modules'}}) {
		return 'user='.&urlize($u->{'name'}).
		       '&mod='.$u->{'modules'}->[0];
		}
	return 'none';
	}
return undef;
}

Youez - 2016 - github.com/yon3zu
LinuXploit