Skip to content
This repository has been archived by the owner on Aug 28, 2018. It is now read-only.

Commit

Permalink
removed single client logging option since not fully tested
Browse files Browse the repository at this point in the history
  • Loading branch information
byt3bl33d3r committed Nov 29, 2014
1 parent 9f4ddc5 commit 7e2a75c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mitmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
slogopts.add_argument("-p", "--post", action="store_true",help="Log only SSL POSTs. (default)")
slogopts.add_argument("-s", "--ssl", action="store_true", help="Log all SSL traffic to and from server.")
slogopts.add_argument("-a", "--all", action="store_true", help="Log all SSL and HTTP traffic to and from server.")
slogopts.add_argument("-c", "--clients", action='store_true', default=False, help='Log each clients data in a seperate file')
#slogopts.add_argument("-c", "--clients", action='store_true', default=False, help='Log each clients data in a seperate file') #not fully tested yet
sgroup.add_argument("-l", "--listen", type=int, metavar="port", default=10000, help="Port to listen on (default 10000)")
sgroup.add_argument("-f", "--favicon", action="store_true", help="Substitute a lock favicon on secure requests.")
sgroup.add_argument("-k", "--killsessions", action="store_true", help="Kill sessions in progress.")
Expand Down Expand Up @@ -83,7 +83,7 @@
from sslstrip.StrippingProxyHSTS import StrippingProxy
from sslstrip.URLMonitorHSTS import URLMonitor

URLMonitor.getInstance().setValues(args.favicon, args.clients)
URLMonitor.getInstance().setFaviconSpoofing(args.favicon)
CookieCleaner.getInstance().setEnabled(args.killsessions)
ProxyPlugins.getInstance().setPlugins(load)

Expand All @@ -100,6 +100,7 @@
from sslstrip.StrippingProxy import StrippingProxy
from sslstrip.URLMonitor import URLMonitor

args.clients = False # temporary
URLMonitor.getInstance().setValues(args.favicon, args.clients)
CookieCleaner.getInstance().setEnabled(args.killsessions)
ProxyPlugins.getInstance().setPlugins(load)
Expand Down

0 comments on commit 7e2a75c

Please sign in to comment.