%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.101 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/thread-self/root/proc/self/root/usr/share/webmin/ |
Upload File : |
#!/usr/bin/perl
# password_form.cgi
# Display the form that allows users to change their passwords at login time
BEGIN { push(@INC, "."); };
use WebminCore;
$pragma_no_cache = 1;
$ENV{'MINISERV_INTERNAL'} || die "Can only be called by miniserv.pl";
&init_config();
&ReadParse();
&header(undef, undef, undef, undef, 1, 1);
print "<center>\n";
if ($in{'expired'} == 2) {
print &ui_subheading($text{'password_temp'});
}
else {
print &ui_subheading($text{'password_expired'});
}
# Start of the form
print "$text{'password_prefix'}\n";
print &ui_form_start("@{[&get_webprefix()]}/password_change.cgi", "post");
print &ui_hidden("user", $in{'user'});
print &ui_hidden("pam", $in{'pam'});
print &ui_hidden("expired", $in{'expired'});
print &ui_table_start($text{'password_header'}, undef, 2);
# Current username
print &ui_table_row($text{'password_user'},
&html_escape($in{'user'}));
# Old password
print &ui_table_row($text{'password_old'},
&ui_password("old", undef, 20));
# New password, twice
print &ui_table_row($text{'password_new1'},
&ui_password("new1", undef, 20));
print &ui_table_row($text{'password_new2'},
&ui_password("new2", undef, 20));
# End of form
print &ui_table_end();
print &ui_form_end([ [ undef, $text{'password_ok'} ] ]);
print "</center>\n";
print "$text{'password_postfix'}\n";
&footer();