mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 23:20:30 -04:00
It can scan localhost or remote hosts via SSH. Vuls has a Terminal-Based User Interface(TUI) to display the scan results. Vuls' features include: * scan for vulnerabilitie in Ubuntu, Debian, CentOS, Amazon Linux, RHEL, Oracle Linux, FreeBSD and Raspbian; * scan middleware that are not included in OS package management; * nondestructive testing; * email and slack notification. WWW: https://github.com/future-architect/vuls PR: 220328 Submitted by: Alexandru Ciobanu <iscandr@gmail.com> (maintainer) Reviewed by: matthew (mentor), mat Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D11746
21 lines
586 B
Go
21 lines
586 B
Go
--- commands/configtest.go.orig 2017-06-23 15:51:48 UTC
|
|
+++ commands/configtest.go
|
|
@@ -20,8 +20,6 @@ package commands
|
|
import (
|
|
"context"
|
|
"flag"
|
|
- "os"
|
|
- "path/filepath"
|
|
|
|
"github.com/google/subcommands"
|
|
|
|
@@ -68,8 +66,7 @@ func (*ConfigtestCmd) Usage() string {
|
|
|
|
// SetFlags set flag
|
|
func (p *ConfigtestCmd) SetFlags(f *flag.FlagSet) {
|
|
- wd, _ := os.Getwd()
|
|
- defaultConfPath := filepath.Join(wd, "config.toml")
|
|
+ defaultConfPath := "%%ETCDIR%%/config.toml"
|
|
f.StringVar(&p.configPath, "config", defaultConfPath, "/path/to/toml")
|
|
|
|
defaultLogDir := util.GetDefaultLogDir()
|