Home page logo
/
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News

Sponsors


File omp2-enum-targets

Script types: portrule
Categories: discovery, safe
Download: http://nmap.org/svn/scripts/omp2-enum-targets.nse

User Summary

Attempts to retrieve the list of target systems and networks from an OpenVAS Manager server.

The script authenticates on the manager using provided or previously cracked credentials and gets the list of defined targets for each account.

These targets will be added to the scanning queue in case newtargets global variable is set.

Script Arguments

max-newtargets, newtargets

See the documentation for the target library.

omp2.password, omp2.username

See the documentation for the omp2 library.

Example Usage

  • nmap -p 9390 --script omp2-brute,omp2-enum-targets <target>
    
  • nmap -p 9390 --script omp2-enum-targets --script-args omp2.username=admin,omp2.password=secret <target>
    

Script Output

PORT     STATE SERVICE
9390/tcp open  openvas
| omp2-enum-targets:
|  Targets for account admin:
|  TARGET              HOSTS
|  Sales network       192.168.20.0/24
|  Production network  192.168.30.0/24
|_ Firewall            192.168.1.254

Requires


Author: Henri Doreau

License: Same as Nmap--See http://nmap.org/book/man-legal.html

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault