Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 8:24 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Sun May 29, 2011 9:07 am 
Offline
Newbie

Joined: Sun May 22, 2011 5:56 pm
Posts: 2
Hi Support,

I have installed open-audit for my office network and it works excellent. But I have only one issue that nmap doesn't give any results to my audit page. Is there any special method to use nmap.vbs ? Please advice .

Below is the network config part of my nmap script.

' Below calls the file audit_include.vbs to setup the variables.
ExecuteGlobal CreateObject("Scripting.FileSystemObject").OpenTextFile("audit.config").ReadAll

'nmap_tmp_cleanup = false ' Set this false if you want to leave the tmp files for analysis in your tmp folder
'nmap_subnet = "192.168.10." ' The subnet you wish to scan
nmap_subnet = "10.1.2."
nmap_subnet = "10.1.3."
nmap_subnet = "10.1.4."
nmap_subnet = "10.1.5."
nmap_subnet = "10.1.6."
'nmap_subnet_formatted = "192.168.010." ' The subnet padded with 0's
nmap_subnet_formatted = "10.1.002."
nmap_subnet_formatted = "10.1.003."
nmap_subnet_formatted = "10.1.004."
nmap_subnet_formatted = "10.1.005."
nmap_subnet_formatted = "10.1.006."

nmap_ie_form_page = "http://myauditserver/admin_nmap_input.php"
'nmap_ie_visible = "n"
'nmap_ie_auto_close = "y"
'nmap_ip_start = 21
'nmap_ip_end = 254



Here is teh nmap section from audit.config


' 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 = "10.1.1." ' The subnet you wish to scan
nmap_subnet = "10.1.2."
nmap_subnet = "10.1.3."
nmap_subnet = "10.1.4."
nmap_subnet = "10.1.5."
'nmap_subnet_formatted = "10.1.001." ' The subnet padded with 0's
nmap_subnet_formatted = "10.1.002."
nmap_subnet_formatted = "10.1.003."
nmap_subnet_formatted = "10.1.004."
nmap_subnet_formatted = "10.1.005."
nmap_subnet_formatted = "10.1.006."
nmap_ie_form_page = audit_host + "/lan/admin_nmap_input.php"
nmap_ie_visible = "n"
nmap_ie_auto_close = "y"
nmap_ip_start = 1
nmap_ip_end = 254
nmap_syn_scan = "n" ' Tcp Syn scan
nmap_udp_scan = "n" ' UDP scan
nmap_srv_ver_scan = "y" ' Service version detection.
nmap_srv_ver_int = 9 ' Service version detection intensity level. Values 0-9, 0=fast

Is my configuration correct ??


Thanks

Vinod Bhasi


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 02, 2011 2:29 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
[quote="vinodsreehari"]Is my configuration correct ??

Probably, but not in the way you intended. You can only have one key-value pair at a time so the last one "wins". So in your audit.config file you only have 'nmap_subnet = "10.1.5."' defined and not the other .1-.4 subnets. To avoid confusion you should use the original nmap.vbs script that has the variables commented out so that they come from the audit.config file.

Having said that the nmap stuff isn't all that reliable right now. You might need [url=http://www.open-audit.org/phpBB3/viewtopic.php?f=10&t=3724#p16437]some changes[/url] to handle newer nmap output. You should also run the nmap script from a machine on the [url=http://www.open-audit.org/phpBB3/viewtopic.php?f=10&t=3908#p17166]same subnet[/url] that you're scanning for it to work correctly.

Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 06, 2011 5:42 am 
Offline
Newbie

Joined: Sun May 22, 2011 5:56 pm
Posts: 2
Thanks for the reply . I will try with a single subnet and will update !!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group