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 2:33 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: NMAP.vbs runtime errors
PostPosted: Thu Jun 03, 2010 2:43 am 
Offline
Newbie

Joined: Fri Jan 08, 2010 9:48 am
Posts: 6
Hi all,

I've been able to configure nmap to run correctly but for some reason when nmap scans for some time, roughly through 20-30 ip addresses, the script dies with a vbs runtime error. Ive been watching the resources on the box while the scan runs and everything appears to be okay so i have ruled that out for now.

Here is a capture of the error:
C:\Inetpub\wwwroot\OpenAudit\scripts\nmap.vbs(92, 5) Microsoft VBScript runtime
error: Object required: 'oAdd'


This is what is at line 92 in the nmap.vbs file. Its marked with asterisk's preceding the line

Set oAdd = oDoc.getElementById("add")
' oAdd.value = oAdd.value + strText
oAdd.value = strText <-********************
IE.Document.All("submit").Click
if nmap_ie_auto_close = "y" then
Do Until IE.readyState = 4 : WScript.sleep(5000) : Loop
WScript.sleep(5000)
ie.Quit
end if


I'd like to get this problem sorted out since the automation for this operation is key. If i have to babysit the scripts I'll never get any sleep :lol:

Thanks
Nicholas


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.  [ 1 post ] 

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