Open-AudIT
https://www.open-audit.org/phpBB3/

discover_subnets abort discovering at one device
https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6641
Page 1 of 1

Author:  Gwahlers [ Wed Jan 31, 2018 7:05 pm ]
Post subject:  discover_subnets abort discovering at one device

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 2253 times ]


Is there any suggestion? Any "big" Logfile?

Gwahlers

Author:  jpa [ Thu Feb 01, 2018 1:46 am ]
Post subject:  Re: discover_subnets abort discovering at one device

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.

Author:  Gwahlers [ Thu Feb 08, 2018 5:47 pm ]
Post subject:  Re: discover_subnets abort discovering at one device

Worked! Thanks. Will the if-clause integrated in further Updates? Or do i have to update manually every update?

Author:  jpa [ Fri Feb 09, 2018 1:47 am ]
Post subject:  Re: discover_subnets abort discovering at one device

It should get integrated. I'll try to catch the developers attention.

Author:  Mark [ Fri Feb 16, 2018 10:07 am ]
Post subject:  Re: discover_subnets abort discovering at one device

Thanks JPA - included in the next release (2.1.1).
:-)

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/