[Plugins-writers] Write a plugin to determine if LanDesk client is NOT listening

From: James Kelly (macubergeek@private)
Date: Fri Oct 06 2006 - 15:34:58 PDT


Hello
I'm trying to write a plugin that scans hosts and only reports back  
the workstations who are not
listening on tcp 9595 for LanDesk.

I pinched some code from telnet.nasl

please tell me if I'm on target:

# The script code starts here
#
include("misc_func.inc");


port = 9595;

if(get_port_state(port))
{
  soc = open_sock_tcp(port);
  if(!soc)
#    security_note(port);
    print "LanDesk not found";
}




_______________________________________________
Plugins-writers mailing list
Plugins-writers@private
http://mail.nessus.org/mailman/listinfo/plugins-writers



This archive was generated by hypermail 2.1.3 : Fri Oct 06 2006 - 15:45:49 PDT