Skip to content

Commit

Permalink
Merge pull request #413 from ArnoStiefvater/all-options-for-nasl
Browse files Browse the repository at this point in the history
 Make more scanner preferences available for openvas-nasl
  • Loading branch information
mattmundell authored Oct 26, 2020
2 parents 55b6ed6 + d1a2e8a commit f3d2439
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Add support for new OSP element for defining alive test methods via separate subelements. [#409](https://github.com/greenbone/gvm-libs/pull/409)
- Add v3 handling to get_cvss_score_from_base_metrics [#411](https://github.com/greenbone/gvm-libs/pull/411)
- Add severity_date tag in epoch time format. [#412](https://github.com/greenbone/gvm-libs/pull/412)
- Make more scanner preferences available to openvas-nasl. [#413](https://github.com/greenbone/gvm-libs/pull/413)

### Changed
- Add separators for a new (ip address) field in ERRMSG and DEADHOST messages. [#376](https://github.com/greenbone/gvm-libs/pull/376)
Expand Down
14 changes: 14 additions & 0 deletions base/prefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,20 @@ prefs_init (void)
prefs_set ("open_sock_max_attempts", "5");
prefs_set ("time_between_request", "0");
prefs_set ("nasl_no_signature_check", "yes");
prefs_set ("max_hosts", "30");
prefs_set ("max_checks", "10");
prefs_set ("log_whole_attack", "no");
prefs_set ("log_plugins_name_at_load", "no");
prefs_set ("optimize_test", "yes");
prefs_set ("non_simult_ports", "139, 445, 3389, Services/irc");
prefs_set ("safe_checks", "yes");
prefs_set ("auto_enable_dependencies", "yes");
prefs_set ("drop_privileges", "no");
prefs_set ("report_host_details", "yes");
prefs_set ("vendor_version", "\0");
prefs_set ("test_alive_hosts_only", "no");
prefs_set ("debug_tls", "0");
prefs_set ("allow_simult_ips_same_host", "yes");
}

/**
Expand Down

0 comments on commit f3d2439

Please sign in to comment.