On Sep 26, 2006, at 7:04 PM, Douglas Nordwall wrote: > So, i'm working off the GPL dont_scan_printers.nasl script, and i > cannot figure out why i'm not getting anything back when I hit the > snmp port > > --code-- > if ( get_kb_item("SNMP/community") ) > { > port = get_kb_item("SNMP/port"); > community = get_kb_item("SNMP/community"); > soc = open_sock_udp (port); > if ( soc ) > { > security_note(port:port, data: port); Try : security_note(port:port, data:string(port)); As security_note() expects a string, not an integer. You may also want to use display() when working on command-line mode instead of these calls. -- Renaud _______________________________________________ Plugins-writers mailing list Plugins-writers@private http://mail.nessus.org/mailman/listinfo/plugins-writers
This archive was generated by hypermail 2.1.3 : Wed Sep 27 2006 - 04:09:53 PDT