patschi

OpenVAS "Mark unreachable hosts as dead"

Dec 5th, 2014
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.77 KB | None | 0 0
  1. # by default OpenVas does not scan hosts, which are not pingable (because these are marked as "death")
  2. # this commands should modify the configuration group so, that OpenVas still does scan these hosts
  3. export password="admin"
  4. 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>"
  5. 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