Open-AudIT

What's on your network?
It is currently Tue Jun 19, 2018 9:17 am

All times are UTC + 10 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed Jan 31, 2018 7:05 pm 
Offline
Newbie

Joined: Mon Jan 29, 2018 6:55 pm
Posts: 21
Hi there!
My discover_subnet.vbs aborts discovering at 192.168.2.11 ( PC211 ) with an error on line 412 at 9.

Code:
nmap_ports = Right(nmap_ports,Len(nmap_ports)-1)


Debug says there is an parameter error.
After that error occurs cscript.exe will crash.
Attachment:
2018-01-31 11_11_38-Windows Script Host.jpg
2018-01-31 11_11_38-Windows Script Host.jpg [ 16.26 KiB | Viewed 514 times ]


Is there any suggestion? Any "big" Logfile?

Gwahlers


Last edited by Gwahlers on Thu Feb 01, 2018 2:24 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 01, 2018 1:46 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1254
Change 412 to the following and report back.

Code:
if len(nmap_ports) > 0 then
   nmap_ports = Right(nmap_ports,Len(nmap_ports)-1)
end if


This looks like it would happen if your nmap wasn't installed or working correctly. Or maybe it doesn't report anything that would cause nmap_ports to have a value other than blank.


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 08, 2018 5:47 pm 
Offline
Newbie

Joined: Mon Jan 29, 2018 6:55 pm
Posts: 21
Worked! Thanks. Will the if-clause integrated in further Updates? Or do i have to update manually every update?


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 09, 2018 1:47 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1254
It should get integrated. I'll try to catch the developers attention.


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 16, 2018 10:07 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1952
Location: Brisbane, Australia
Thanks JPA - included in the next release (2.1.1).
:-)

_________________
Support and Development hours available from Opmantek.
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 3 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:  
cron
Powered by phpBB® Forum Software © phpBB Group