Package core :: Package controllers :: Package payloadTransfer :: Module payloadTransferFactory :: Class payloadTransferFactory
[hide private]
[frames] | no frames]

Class payloadTransferFactory



This factory is pretty cool stuff, it uses an execMethod ( generated by os commanding, or some other vuln ) to determine what is the fastest method to send something to the compromised host. After determining what method to use, it will return the fastest method.

Transfers methods inherit from transfer factory and can be found in this directory. If you want to add a new method, you should create the file and add it to the toTest list that is defined in the first lines of this function.

Instance Methods [hide private]
  __init__(self, execMethod)
  estimateTransferTime(self)
  getTransferHandler(self, inboundPort=None)
Do an extrusion scan and return the inbound open ports.

Method Details [hide private]

__init__(self, execMethod)
(Constructor)

 
None

estimateTransferTime(self)

 
None

getTransferHandler(self, inboundPort=None)

 
Do an extrusion scan and return the inbound open ports. If the caller sends an inboundPort, don't do an extrusion scan, just trust him and use that port.