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/setup.cgi
#!/usr/bin/perl
# setup.cgi
# Calls ssh-keygen for the user

require './ssh-lib.pl';
&ReadParse();
&error_setup($text{'setup_err'});

$type = $in{'type'} ? "-t $in{'type'}" : "";

$out = &backquote_command(
	"echo '' | ssh-keygen $type -P ".
	($in{'pass'} ? quotemeta($in{'pass'}) : "''")." 2>&1");
if ($?) {
	&error("<pre>$out</pre>");
	}

# Add the new public key to the authorized keys file
$ak = "$ssh_directory/authorized_keys";
if  (-r "$ssh_directory/id_rsa.pub") {
	system("cat $ssh_directory/id_rsa.pub >>$ak");
	}
elsif (-r "$ssh_directory/identity.pub") {
	system("cat $ssh_directory/identity.pub >>$ak");
	}
else {
	system("cat $ssh_directory/id_dsa.pub >>$ak");
	}

&redirect("");


Youez - 2016 - github.com/yon3zu
LinuXploit