I can not create a target specifying a port list using OMP


#1

Hi.

I created the target by specifying portlist using the OMP command, but it will be default portlist instead of portlist specified by portlist.
Would you tell me if there is an error in the execution method?
I ran the following command.

  1. Create port list command
    omp - h 192.168.0.1 -p 9392 -u foo -w bar -xml ‘<create_port_list> dummy_port_list</ name><port_range>T:22, T:80, T:139, T:143, T:443, T:445, T:5001, T: 8080, T:8081</port_range></create_port_list>’

  2. Create target command
    omp - h 192.168.0.1 -p 9392 -u foo -w bar -xml ‘<create_target> test 192.168.0.2 </ hosts><port_list>Return value of 1.</port_list></ create_target>’

The OpenVAS environment is as follows.
· OS: Ubuntu 16.04.5
· OpenVAS Scanner 5.1.3
· OpenVAS Manager 7.0.3