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
Thanks
Nicholas