Peach::Agent::ppprocess::portScanner Class Reference

portScanner More...

List of all members.

Public Member Functions

def getBlockedPorts
 Gets list of blocked ports.
def getOpenedPorts
 Gets list of opened ports.

Static Public Attributes

tuple getOpenedPorts = staticmethod(getOpenedPorts)
 make method getOpenedPorts static

Detailed Description


Netstat based port scanner It retrieves information about currently opened ports on local machine

Member Function Documentation

def Peach::Agent::ppprocess::portScanner::getBlockedPorts (  ) 

Gets list of blocked ports.

Retrieves list of tcp ports, which are in state CLOSE_WAIT. CLOSE_WAIT Indicates passive close. Server just received first FIN from a client.

Gets list of opened ports.

Retrieves list of opened udp ports and opened listening tcp ports. Method works on machines running Microsoft Windows. We use module ctypes.windll.iphlpapi to get the information about ports from Windows. Items in retrieved list have following format: PORT_NUMBER/PROTOCOL_FAMILY, where PROTOCOL_FAMILY represents tcp/udp.

Member Data Documentation

make method getOpenedPorts static

The documentation for this class was generated from the following file:

Generated on Sat Sep 4 18:13:54 2010 for HotFuzz by  doxygen 1.5.8