MOON
Server: Apache
System: Linux cl1170g 4.19.62-mod-std-ipv6-64-rescue #828825 SMP Tue Jul 30 13:54:49 UTC 2019 x86_64
User: wh0f20bb (1057)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: //proc/thread-self/root/root/webmin-1.881/mysql/root_form.cgi
#!/usr/bin/perl
# Show a form for changing the MySQL root password

require './mysql-lib.pl';
&ReadParse();
$access{'perms'} == 1 || &error($text{'perms_ecannot'});
&ui_print_header(undef, $text{'root_title'}, "");

print &ui_form_start("save_root.cgi", "post");
print &ui_table_start($text{'root_header'}, undef, 2);

print &ui_table_row($text{'root_user'},
	$mysql_login ? "<tt>$mysql_login</tt>" : "<i>$text{'root_auto'}</i>");
print &ui_table_row($text{'root_pass'},
	$mysql_pass ? "<tt>$mysql_pass</tt>" : "<i>$text{'root_none'}</i>");
print &ui_table_row($text{'root_newpass1'},
	&ui_password("newpass1", undef, 20));
print &ui_table_row($text{'root_newpass2'},
	&ui_password("newpass2", undef, 20));

print &ui_table_end();
print &ui_form_end([ [ undef, $text{'root_ok'} ] ]);

&ui_print_footer("", $text{'index_return'});