mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-07 05:22:15 -07:00
initial commit
This commit is contained in:
parent
fbf31c220a
commit
6fa335183c
37 changed files with 2698 additions and 0 deletions
16
plugins/test.py
Normal file
16
plugins/test.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
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
|
||||
'''
|
Loading…
Add table
Add a link
Reference in a new issue