Package core :: Package controllers :: Package w3afAgent :: Module w3afAgentManager :: Class w3afAgentManager
[hide private]
[frames] | no frames]

Class w3afAgentManager




Start a w3afAgent, to do this, I must transfer the agent client to the remote end and start the w3afServer in this local machine all this work is done by the w3afAgentManager, I just need to called start and thats it.

Instance Methods [hide private]
  __init__(self, execMethod, socksPort=1080)
  _exec(self, command)
A wrapper for executing commands
  run(self)
w3af w3afThreads MUST implment a run method.
  _delayedExecution(self, command)
  _selectClient(self)
This method selects the w3afAgent client to use based on the remote OS and some other factors like having a working python installation.
  _getInboundPort(self)

Inherited from threads.w3afThread.w3afThread: start2, stop

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, join, setDaemon, setName, start

Inherited from threading.Thread (private): _set_daemon

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, execMethod, socksPort=1080)
(Constructor)

 
None
Overrides: threads.w3afThread.w3afThread.__init__

_exec(self, command)

 
A wrapper for executing commands

run(self)

 
w3af w3afThreads MUST implment a run method.
Overrides: threads.w3afThread.w3afThread.run
(inherited documentation)

_delayedExecution(self, command)

 
None

_selectClient(self)

 
This method selects the w3afAgent client to use based on the remote OS and some other factors like having a working python installation.

_getInboundPort(self)

 
None