sub send_info {
my $socket = login($clientName, $clientKey);
- my $info = join "", ns_system('./busybox', 'sh', '-c', 'hostname; date; uname -a; lspci; lsusb; ifconfig');
+ my $info = join "", ns_system('./busybox', 'sh', '-c', 'hostname; date; uname -a; cat /etc/os-release; lspci; lsusb; ifconfig');
$socket->send("info\n");
$socket->send($info);
# These files will have their contents sent as they are updated
send_log('/var/log/secure');
send_log('/var/log/auth.log');
+send_log('/var/log/audit/audit.log');
send_log('/var/log/cron');
+send_log('/var/log/sudo.log');
send_log('/var/log/messages');
send_log('/var/log/syslog');