After a fresh reinstall of OA 2.2.7 the problems are the same. Bulk Edit discovery works, running the script directly did'nt work.
Here some additional infos:
The parameters:
Code:
set url=http://172.26.21.141/open-audit/index.php/input/discoveries
set logpath=D:\LOGS\
set submit_online=y
set echo_output=n
set create_file=n
set debugging=1
set os_scan=n
The command:
Code:
cscript //nologo C:\xampplite\open-audit\other\discover_subnet.vbs subnet_range=%%e url=!url! submit_online=!submit_online! echo_output=!echo_output! create_file=!create_file! debugging=!debugging! discovery_id=%%a os_scan=!os_scan!>>!LOG!
The CSV-File:
Code:
Discovery_ID;Discovery_Name;Discovery_Desc;Subnet
1;00-Stade-01;1;Subnet - 172.26.21.0/24;172.26.21.0/24
My script works, but the discover_subnet.vbs retrieves the error shown above.