*** Míkel Rodríguez wrote: > Hello. I need to develop an NVT which has to know if some UDP ports are > open or closed. How can I program that in NASL?
udp_port = 53; if( get_udp_port_state( udp_port ) ) display( "Port open\n" ); else display( "Port closed\n" ); get_*_port_state() relies on the result of the port scanner... HTH Micha -- Michael Meyer OpenPGP Key: 0xAF069E9152A6EFA6 http://www.greenbone.net/ Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 202460 Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner _______________________________________________ Openvas-plugins mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins
