MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /usr/libexec/webmin/at/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/libexec/webmin/at/save_allow.cgi
#!/usr/bin/perl
# Update allowed or denied At users

require './at-lib.pl';
ReadParse();
&error_setup($text{'allow_err'});
$access{'allow'} || &error($text{'allow_ecannot'});

if ($in{'amode'} == 0) {
	&save_allowed();
	&save_denied();
	}
elsif ($in{'amode'} == 1) {
	@users = split(/\s+/, $in{'ausers'});
	@users || &error($text{'allow_eusers'});
	&save_allowed(@users);
	&save_denied();
	}
elsif ($in{'amode'} == 2) {
	@users = split(/\s+/, $in{'ausers'});
	@users || &error($text{'allow_eusers'});
	&save_allowed();
	&save_denied(@users);
	}
&webmin_log("allow");
&redirect("");


Anon7 - 2021