403Webshell
Server IP : 37.9.174.138  /  Your IP : 216.73.216.117
Web Server : Apache
System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64
User : ftpuser ( 1001)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/webmin/proftpd/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin/proftpd/mod_pam.pl
# mod_pam.pl

sub mod_pam_directives
{
local $rv = [
	[ 'AuthPAM', 0, 6, 'virtual global', 1.20 ],
	[ 'AuthPAMConfig', 0, 6, 'virtual global', 1.20 ]
	];
return &make_directives($rv, $_[0], "mod_pam");
}

sub edit_AuthPAM
{
return (1, $text{'mod_pam_pam'},
	&choice_input($_[0]->{'value'}, "AuthPAM", "",
		      "$text{'yes'},on", "$text{'no'},off",
		      "$text{'default'},"));
}
sub save_AuthPAM
{
return &parse_choice("AuthPAM", "");
}

sub edit_AuthPAMConfig
{
return (1, $text{'mod_pam_config'},
	&opt_input($_[0]->{'value'}, "AuthPAMConfig", $text{'default'}, 15));
}
sub save_AuthPAMConfig
{
return &parse_opt("AuthPAMConfig", '^\S+$', $text{'mod_pam_econfig'});
}


Youez - 2016 - github.com/yon3zu
LinuXploit