mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-15 09:33:53 -07:00
changed interface in tests
This commit is contained in:
parent
9d774a28b9
commit
6bde387356
2 changed files with 4 additions and 3 deletions
|
@ -3,6 +3,7 @@ python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
sudo: required
|
sudo: required
|
||||||
before_install:
|
before_install:
|
||||||
|
- "ifconfig"
|
||||||
- "sudo apt-get update -qq"
|
- "sudo apt-get update -qq"
|
||||||
- "sudo apt-get install tcpdump libpcap0.8-dev libnetfilter-queue-dev libssl-dev"
|
- "sudo apt-get install tcpdump libpcap0.8-dev libnetfilter-queue-dev libssl-dev"
|
||||||
|
|
||||||
|
|
|
@ -28,14 +28,14 @@ class BasicTests(unittest.TestCase):
|
||||||
set_ip_forwarding(1)
|
set_ip_forwarding(1)
|
||||||
except IOError:
|
except IOError:
|
||||||
pass
|
pass
|
||||||
ip = get_ip('enp3s0')
|
ip = get_ip('eth0')
|
||||||
mac = get_mac('enp3s0')
|
mac = get_mac('eth0')
|
||||||
|
|
||||||
def test_NetCreds(self):
|
def test_NetCreds(self):
|
||||||
from core.logger import logger
|
from core.logger import logger
|
||||||
logger.log_level = logging.DEBUG
|
logger.log_level = logging.DEBUG
|
||||||
from core.netcreds import NetCreds
|
from core.netcreds import NetCreds
|
||||||
NetCreds().start('enp3s0', '192.168.1.0', None)
|
NetCreds().start('eth0', '192.168.1.0', None)
|
||||||
#NetCreds().start('eth0', '192.168.1.0', None)
|
#NetCreds().start('eth0', '192.168.1.0', None)
|
||||||
|
|
||||||
def test_SSLStrip_Proxy(self):
|
def test_SSLStrip_Proxy(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue