forked from p15670423/monkey
Update minor things in order to pass CI build
This commit is contained in:
parent
e7ecaa1744
commit
cec57c1604
|
@ -1,6 +1,7 @@
|
||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
|
|
||||||
from common.network.network_utils import get_host_from_network_location, remove_port
|
from common.network.network_utils import (get_host_from_network_location,
|
||||||
|
remove_port)
|
||||||
|
|
||||||
|
|
||||||
class TestNetworkUtils(TestCase):
|
class TestNetworkUtils(TestCase):
|
||||||
|
|
|
@ -5,11 +5,13 @@ Implementation is based on:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import requests
|
|
||||||
from urllib.parse import urljoin
|
from urllib.parse import urljoin
|
||||||
|
|
||||||
|
import requests
|
||||||
|
|
||||||
|
from common.network.network_utils import remove_port
|
||||||
from infection_monkey.exploit.web_rce import WebRCE
|
from infection_monkey.exploit.web_rce import WebRCE
|
||||||
from infection_monkey.model import ID_STRING
|
from infection_monkey.model import ID_STRING
|
||||||
from network.network_utils import remove_port
|
|
||||||
|
|
||||||
__author__ = 'Ophir Harpaz'
|
__author__ = 'Ophir Harpaz'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue