Closed
Description
Environment
Vuls
Hash : 5581a5c
OS
- Target Server: rhel 5.7
- Vuls Server: CentOS 7.2
Go
- Go version: go1.7.1 linux/amd64
Current Output
$ /var/lib/go/bin/vuls scan -config="/home/vuls/testserver.toml" -results-dir="/home/vuls/results_test" -ssh-external --debug
[Feb 27 15:05:08] INFO [localhost] Start scanning
[Feb 27 15:05:08] INFO [localhost] config: /home/vuls/testserver.toml
[Feb 27 15:05:08] INFO [localhost] Validating config...
[Feb 27 15:05:08] INFO [localhost] Detecting Server/Container OS...
[Feb 27 15:05:08] INFO [localhost] Detecting OS of servers...
[Feb 27 15:05:09] INFO [localhost] (1/1) Detected: testserver: rhel 5.7
[Feb 27 15:05:09] INFO [localhost] Detecting OS of containers...
[Feb 27 15:05:09] INFO [localhost] Checking sudo configuration...
[Feb 27 15:05:10] INFO [testserver] sudo ... OK
[Feb 27 15:05:10] INFO [localhost] Detecting Platforms...
[Feb 27 15:05:14] INFO [localhost] (1/1) testserver is running on other
[Feb 27 15:05:14] INFO [localhost] Scanning vulnerabilities...
[Feb 27 15:05:14] INFO [localhost] Check required packages for scanning...
[Feb 27 15:05:14] INFO [localhost] Scanning vulnerable OS packages...
[Feb 27 15:05:24] DEBUG [testserver] execResult: servername: testserver
cmd: /bin/ssh -t -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vuls@testserver -p 20202 -i /home/vuls/.ssh/id_rsa_vuls -o PasswordAuthentication=no set -o pipefail; sudo -S yum --color=never list-security --security
exitstatus: 0
stdout: Loaded plugins: product-id, rhnplugin, security, subscription-manager
Updating Red Hat repositories.
Excluding Packages in global exclude list
Finished
...
RHSA-2013:0788 security subscription-manager-1.0.24.1-1.el5_9.x86_64
RHSA-2013:0788 security subscription-manager-firstboot-1.0.24.1-1.el5_9.x86_64
RHSA-2013:0737 security subversion-1.6.11-11.el5_9.x86_64
...
stderr: Killed by signal 1.
err: %!s(<nil>)
[Feb 27 15:05:29] DEBUG [testserver] execResult: servername: testserver
cmd: /bin/ssh -t -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vuls@testserver -p 20202 -i /home/vuls/.ssh/id_rsa_vuls -o PasswordAuthentication=no set -o pipefail; sudo -S LANGUAGE=en_US.UTF-8 yum --color=never check-update
exitstatus: 100
stdout: Loaded plugins: product-id, rhnplugin, security, subscription-manager
Updating Red Hat repositories.
Excluding Packages in global exclude list
Finished
Skipping security plugin, no data
...
subscription-manager.x86_64 1.11.3-14.el5_11 rhel-x86_64-server-5
subscription-manager-firstboot.x86_64
1.11.3-14.el5_11 rhel-x86_64-server-5
subscription-manager-gnome.x86_64 0.98.16.3-1.el5_8 rhel-x86_64-server-5
...
stderr: Killed by signal 1.
err: %!s(<nil>)
[Feb 27 15:05:29] ERROR [testserver] Failed to scan vulnerable packages
[Feb 27 15:05:29] ERROR [localhost] Error: testserver, err: [Failed to parse LANGUAGE=en_US.UTF-8 yum --color=never check-update. err: Unknown format: subscription-manager-firstboot.x86_64]
One Line Summary
================
testserver Error Run with --debug to view the details
To view the detail, vuls tui is useful.
To send a report, run vuls report -h.