Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # by default OpenVas does not scan hosts, which are not pingable (because these are marked as "death")
- # this commands should modify the configuration group so, that OpenVas still does scan these hosts
- export password="admin"
- omp -u admin -w $password --xml "<modify_config config_id='8715c877-47a0-438d-98a3-27c7a6ab2196'><preference><nvt oid='1.3.6.1.4.1.25623.1.0.100315'/><name>Ping Host[checkbox]:Mark unrechable Hosts as dead (not scanning)</name><value>bm8=</value></preference></modify_config>"
- omp -u admin -w $password --xml "<modify_config config_id='74db13d6-7489-11df-91b9-002264764cea'><preference><nvt oid='1.3.6.1.4.1.25623.1.0.100315'/><name>Ping Host[checkbox]:Mark unrechable Hosts as dead (not scanning)</name><value>bm8=</value></preference></modify_config>"
Advertisement
Add Comment
Please, Sign In to add comment