mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-11 07:37:11 -07:00
re-added scapy, changed imports
This commit is contained in:
parent
aa246130e2
commit
b73ac99de3
8 changed files with 8 additions and 7 deletions
|
@ -17,7 +17,7 @@ from urllib import unquote
|
|||
|
||||
# shut up scapy
|
||||
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
|
||||
from mitmflib.scapy.all import *
|
||||
from scapy.all import *
|
||||
conf.verb=0
|
||||
|
||||
mitmf_logger = logging.getLogger('mitmf')
|
||||
|
|
|
@ -3,7 +3,7 @@ import os
|
|||
import sys
|
||||
import threading
|
||||
|
||||
from mitmflib.scapy.all import *
|
||||
from scapy.all import *
|
||||
from core.utils import shutdown
|
||||
|
||||
mitmf_logger = logging.getLogger('mitmf')
|
||||
|
|
|
@ -5,7 +5,7 @@ from traceback import print_exc
|
|||
from netaddr import IPNetwork, IPRange, IPAddress, AddrFormatError
|
||||
from time import sleep
|
||||
from core.utils import shutdown
|
||||
from mitmflib.scapy.all import *
|
||||
from scapy.all import *
|
||||
|
||||
mitmf_logger = logging.getLogger('mitmf')
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import binascii
|
|||
import random
|
||||
|
||||
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) #Gets rid of IPV6 Error when importing scapy
|
||||
from mitmflib.scapy.all import *
|
||||
from scapy.all import *
|
||||
|
||||
mitmf_logger = logging.getLogger('mitmf')
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ from time import sleep
|
|||
#from netfilterqueue import NetfilterQueue
|
||||
|
||||
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) #Gets rid of IPV6 Error when importing scapy
|
||||
from mitmflib.scapy.all import *
|
||||
from scapy.all import *
|
||||
|
||||
mitmf_logger = logging.getLogger('mitmf')
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import re
|
|||
import sys
|
||||
|
||||
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) #Gets rid of IPV6 Error when importing scapy
|
||||
from mitmflib.scapy.all import get_if_addr, get_if_hwaddr
|
||||
from scapy.all import get_if_addr, get_if_hwaddr
|
||||
from core.sergioproxy.ProxyPlugins import ProxyPlugins
|
||||
|
||||
mitmf_logger = logging.getLogger('mitmf')
|
||||
|
|
|
@ -25,7 +25,7 @@ from core.servers.dns.DNSchef import DNSChef
|
|||
from core.poisoners.dhcp.DHCPpoisoner import DHCPpoisoner
|
||||
from core.poisoners.icmp.ICMPpoisoner import ICMPpoisoner
|
||||
from plugins.plugin import Plugin
|
||||
from mitmflib.scapy.all import *
|
||||
from scapy.all import *
|
||||
|
||||
class Spoof(Plugin):
|
||||
name = "Spoof"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Twisted
|
||||
requests
|
||||
netaddr
|
||||
scapy
|
||||
msgpack-python
|
||||
configobj
|
||||
mitmflib
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue