Kota Kanbe
b977558f38
Change structure of VulnInfo.Pacakges to []string
2017-08-09 16:15:24 +09:00
Kota Kanbe
210e3dc990
Change ScanResult.Packages structure to Map
2017-08-09 16:15:24 +09:00
Kota Kanbe
f36671784e
Fix testcase
2017-08-09 16:15:24 +09:00
Kota Kanbe
d626cc8a8b
Rename PackageInfoList to Packages
2017-08-09 16:15:24 +09:00
Kota Kanbe
f26b61d773
Change CveContents data type to map
2017-08-09 16:15:24 +09:00
Kota Kanbe
12c2d3cbc6
Fix test cases
2017-08-09 16:15:24 +09:00
Kota Kanbe
209ca704de
Fixed a bug caused by capturing epoch number on RedHat.go
2017-08-09 16:15:24 +09:00
Kota Kanbe
2e37d3adc1
Improve sort logics
2017-08-09 16:15:24 +09:00
Kota Kanbe
c103b79ec2
Change models structure
2017-08-09 16:15:23 +09:00
Kota Kanbe
085a9dcb79
Fix Test Case
2017-08-09 16:15:23 +09:00
Kota Kanbe
1a319859eb
Include RHEL, CentOS epoch number in version
2017-08-09 16:15:23 +09:00
Kota Kanbe
23c177ed4a
-package-list-only for Debian
2017-08-09 16:15:23 +09:00
Teppei Fukuda
5bf4cd46ff
Enable -timeout option when detecting OS ( #410 )
2017-04-22 18:39:13 +09:00
Ján Koščo
eb2598f3b3
Define timeout for vulnerabilities scan and platform detection ( #414 )
2017-04-09 16:25:45 +09:00
Kota Kanbe
e20a59b991
SSH Hostkey check ( #417 )
...
* Add Hostkey check as default behavior when SSH
2017-04-06 18:08:55 +09:00
Kota Kanbe
8335b40368
Add some testcases ( #418 )
2017-04-06 13:09:51 +09:00
Kota Kanbe
05884c2d29
Change default ssh method from go library to external command ( #416 )
...
* Change default ssh method from go library to external command
2017-04-06 12:00:09 +09:00
Kota Kanbe
9ab0622886
Fix SSH dial error ( #413 )
...
Error message:
[Apr 2 13:36:49] DEBUG [localhost] Failed to Dial to u16, err: ssh: must specify HostKeyCallback, Retrying in 552.330144ms...
It is caused by breaking changes of Go library.
https://go-review.googlesource.com/c/38701/
2017-04-02 14:01:30 +09:00
Paul Furtado
d4bec0dd9a
Add --user root to docker exec command ( #389 )
...
* Add --user root to docker exec command
If containers were run with their user set to something other than root,
docker exec will exec the command in the container as that user by
default. Unfortunately, this causes many package manager commands to
fail. This commit adds --user root to the docker exec command so that
commands executed inside the container will always run as root.
* Use numerical id for root rather than name
2017-03-31 18:58:00 +09:00
Kota Kanbe
7131270cad
Add timeout option to configtest ( #400 )
2017-03-23 20:52:25 +09:00
Avi Miller
986762ca85
Add Oracle Linux support ( #386 )
...
Adding support for Oracle Linux
2017-03-16 17:07:43 +09:00
Kota Kanbe
735aa835a6
Change container scan setting in config.toml
2017-03-14 20:07:51 +09:00
Kota Kanbe
d077c29716
Fix scan confidence on Ubuntu/Debian/Raspbian #362
2017-03-13 20:55:23 +09:00
Kota Kanbe
cc7d3dc2aa
Obsolete CentOS5
2017-03-13 16:57:43 +09:00
Kota Kanbe
688cfd6872
Deprecate prepare subcommand to minimize the root authority #375
2017-03-13 13:21:01 +09:00
Kota Kanbe
1f9e5c6263
sudo yum check-update on RHEL
2017-03-06 14:43:02 +09:00
Kota Kanbe
2f3eddd2ab
Merge pull request #369 from knqyf263/change_option
...
Change ssh option from -t to -tt
2017-03-06 14:37:29 +09:00
knqyf263
619a0ee700
Change ssh option from -t to -tt
2017-03-03 11:20:57 +09:00
Kota Kanbe
a86035c0bf
Output changelog in report, TUI and JSON for Ubuntu/Debian/CentOS
2017-03-02 22:22:35 +09:00
knqyf263
a4cf4bd314
Increase the width of RequestPty
2017-02-28 14:29:12 +09:00
Kota Kanbe
1b9aafbbaf
Output confidence ranking of detection accuracy to JSON or Reporting
2017-02-22 20:51:58 +09:00
Kota Kanbe
1d3ee6a241
Merge pull request #328 from federacy/leniant_changelog_parsing_for_debian
...
Add leniancy to the version matching for debian to account for versio…
2017-02-22 20:43:46 +09:00
Kota Kanbe
55b1264c7d
Avoid null slice being null in JSON
2017-02-19 09:34:24 +09:00
Kota Kanbe
d6f72ac0f3
Merge pull request #343 from knqyf263/fix_typo
...
Fix typo
2017-02-16 12:01:03 +09:00
Kota Kanbe
e16ec15226
Fix test case
2017-02-16 11:32:18 +09:00
knqyf263
74e6aee236
Fix typo
2017-02-15 23:51:46 +09:00
Kota Kanbe
9986c4a6f3
Change the command used for os detection from uname to freebsd-version
2017-02-15 14:34:53 +09:00
Kota Kanbe
6e08bd23f4
Merge pull request #330 from knqyf263/support_raspbian
...
Support Raspbian
2017-02-14 12:15:28 +09:00
Kota Kanbe
c6864289cb
Fix error handling of detectOS
2017-02-14 11:54:06 +09:00
knqyf263
bee25f5aa2
Support Raspbian
2017-02-13 22:15:09 +09:00
Kota Kanbe
386b97d2be
Continue scanning even when some hosts have tech issues
...
see #264
2017-02-13 21:55:55 +09:00
Kota Kanbe
00660485b7
Merge pull request #324 from federacy/aptitude_changelog_more_to_cat
...
aptitude changelog defaults to using more, which is not interactive a…
2017-02-13 14:54:12 +09:00
Kota Kanbe
1e8f24dedb
Merge pull request #326 from federacy/add_image_info_for_docker
...
Add image information for docker containers
2017-02-13 13:48:11 +09:00
Kota Kanbe
2be190f863
Merge pull request #322 from knqyf263/delete_sudo_echo
...
Do not use sudo when echo
2017-02-13 12:19:16 +09:00
James Sulinski
981631503a
Add leniancy to the version matching for debian to account for versions without the "+" when package maintainers aren't using them.
2017-02-10 11:38:46 -08:00
James Sulinski
3380e905de
Add image information for docker containers
2017-02-09 01:05:12 -08:00
James Sulinski
b5c2718756
aptitude changelog defaults to using more, which is not interactive and breaks docker scans. Set PAGER=cat before running to default to cat.
2017-02-09 00:54:47 -08:00
James Sulinski
a03a803b89
Reduce privilege requirements for commands that don't need sudo
2017-02-09 00:47:08 -08:00
knqyf263
e743177ae6
Do not use sudo when echo
2017-02-09 17:43:15 +09:00
Kota Kanbe
42a6004c7d
Fix the changelog cache logic for ubuntu/debian
2017-01-28 04:08:57 +09:00