| Home | Trees | Indices | Help |
|
|---|
|
|
This class defines a simple HTTP proxy, it is mainly used for "complex" plugins.
You should call it like this:
ws = proxy( '127.0.0.1', 8080, urlOpener )
ws.start2()
Or like this, if you want to override the proxyHandler (most times you want to do it...):
ws = proxy( '127.0.0.1', 8080, urlOpener, proxyHandler=pH )
ws.start2()
Where pH is a class like this:
class w3afProxyHandler(BaseHTTPRequestHandler):
def do_GET(self):
...
...
@author: Andres Riancho ( andres.riancho@gmail.com )
|
|||
| __init__(self, ip, port, urlOpener, proxyHandler=None) | ||
|
stop(self) w3af w3afThreads MUST implment a stop method. |
||
| isRunning(self) | ||
|
run(self) Starts the proxy daemon. |
||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Thu Oct 18 19:36:59 2007 | http://epydoc.sourceforge.net |