mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-08 05:51:48 -07:00
second implementation of the HTTP server, you can now define shares for the SMB server in the config file, added an option to switch between the normal SMB server and the Karma version.
removed some useless code (left over from the responder plugin), serverResponseStatus hook now returns a dict (tuple was causing errors)
This commit is contained in:
parent
e985d42a8a
commit
14580f1589
14 changed files with 806 additions and 920 deletions
|
@ -49,7 +49,7 @@ class Spoof(Plugin):
|
|||
#Makes scapy more verbose
|
||||
debug = False
|
||||
if options.log_level == 'debug':
|
||||
debug = True
|
||||
debug = False
|
||||
|
||||
if options.arp:
|
||||
|
||||
|
@ -98,9 +98,7 @@ class Spoof(Plugin):
|
|||
|
||||
if not options.manualiptables:
|
||||
if IpTables.getInstance().dns is False:
|
||||
IpTables.getInstance().DNS(self.myip, self.dnscfg['port'])
|
||||
|
||||
DNSChef.getInstance().loadRecords(self.dnscfg)
|
||||
IpTables.getInstance().DNS(self.dnscfg['port'])
|
||||
|
||||
if not options.arp and not options.icmp and not options.dhcp and not options.dns:
|
||||
shutdown("[-] Spoof plugin requires --arp, --icmp, --dhcp or --dns")
|
||||
|
@ -108,7 +106,6 @@ class Spoof(Plugin):
|
|||
SystemConfig.setIpForwarding(1)
|
||||
|
||||
if not options.manualiptables:
|
||||
IpTables.getInstance().Flush()
|
||||
if IpTables.getInstance().http is False:
|
||||
IpTables.getInstance().HTTP(options.listen)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue