mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-06 21:12:16 -07:00
16 lines
504 B
Python
16 lines
504 B
Python
from plugins.plugin import Plugin
|
|
#Uncomment to use
|
|
'''
|
|
class Test(Plugin):
|
|
name = "Test"
|
|
optname = "test"
|
|
has_opts = True
|
|
implements = ["handleResponse"]
|
|
def add_options(self,options):
|
|
options.add_argument("--testy",action="store_true",
|
|
help="This is a test option")
|
|
def initialize(self,options):
|
|
self.worked = options.test
|
|
def handleResponse(self,request,data):
|
|
print "http://" + request.client.getRequestHostname() + request.uri
|
|
'''
|