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 Tue Mar 19, 2024 3:53 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
PostPosted: Wed Jan 31, 2018 7:05 pm 
Offline
Newbie

Joined: Mon Jan 29, 2018 6:55 pm
Posts: 26
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)[/code]

Debug says there is an parameter error.
After that error occurs cscript.exe will crash.
[attachment=0] 2018-01-31 11_11_38-Windows Script Host.jpg
2018-01-31 11_11_38-Windows Script Host.jpg [ 16.26 KiB | Viewed 30390 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: 1259
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
[/code]

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: 26
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: 1259
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: 1964
Location: Brisbane, Australia
Thanks JPA - included in the next release (2.1.1).
:-)

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


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.  [ 5 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:  
cron
Powered by phpBB® Forum Software © phpBB Group