Nmap setup is pretty simple in theory and not so simple in practice.
For Windows:
First, make sure you're on the latest SVN version of OpenAudit.
Make sure you have nmap installed.
Edit the nmap_* entries in your audit.config. For example:
Code:
'
' Nmap section
'
nmap_tmp_cleanup = true ' Set this false if you want to leave the tmp files for analysis in your tmp folder
nmap_subnet = "192.168.0." ' The subnet you wish to scan
nmap_subnet_formatted = "192.168.000." ' The subnet padded with 0's
nmap_ie_form_page = audit_host + "/admin_nmap_input.php"
nmap_ie_visible = "n"
nmap_ie_auto_close = "y"
nmap_ip_start = 1
nmap_ip_end = 254
nmap_syn_scan = "y" ' Tcp Syn scan
nmap_udp_scan = "y" ' UDP scan
nmap_srv_ver_scan = "n" ' Service version detection.
nmap_srv_ver_int = 9 ' Service version detection intensity level. Values 0-9, 0=fast
Run the nmap.vbs audit script: cscript nmap.vbs
Make sure to run the nmap audit script from a machine on the same network as you configured in the audit.config file. If you try to map a different subnet nmap won't retrieve the target machines MAC address and the current code doesn't handle this.
For linux:
Edit the nmap_linux.sh command. Make sure to get the starting and ending IP address set correctly in the for loop, the subnet in the nmap_input line and the correct posting address in the wget line.
Again, I think you'll do best to run this from a machine on the same subnet you're auditing.
If this doesn't work then you'll need to describe your errors a bit better.