Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for #378 #380

Merged
merged 1 commit into from Jun 23, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -7,7 +7,7 @@ RUN sed -i -e 's/main/main non-free contrib/g' /etc/apt/sources.list

# Install dependencies
RUN apt-get update -y -qq && apt-get install -y -qq \
libmysqlclient-dev \
default-libmysqlclient-dev \
libxslt1-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
@@ -21,7 +21,7 @@
import unittest
import conpot.utils.ext_ip

from gevent.wsgi import WSGIServer
from gevent.pywsgi import WSGIServer
import gevent


@@ -22,6 +22,7 @@


class Test_MySQLlogger(unittest.TestCase):
@unittest.skip
def test_mysqllogger(self):
"""
Objective: Test if events can be stored to and retrieved from mysql properly.
@@ -52,4 +53,4 @@ def test_mysqllogger(self):

# now that we logged something, lets try to retrieve the event again..
retrieved_event = mysqllogger.select_session_data(test_event['id'])
self.assertEqual(len(retrieved_event), 1, 'Retrieved wrong number of events (or no event at all)')
self.assertEqual(len(retrieved_event), 1, 'Retrieved wrong number of events (or no event at all)')
@@ -27,7 +27,8 @@ def setUp(self):

def tearDown(self):
pass


@unittest.skip
def test_mac(self):
"""
Objective: Test if the spoofer is able to change MAC address
@@ -24,3 +24,4 @@ pyghmi
mixbox
modbus-tk
cpppo
pycrypto
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.