mushorg / conpot

ICS/SCADA honeypot
GNU General Public License v2.0
1.22k stars 413 forks source link

Running conpot 0.6.0 natively on Raspberry Pi - PA #455

Closed M-VdM closed 5 years ago

M-VdM commented 5 years ago

Hi,

With a lot of trial-and-error, I managed to install the latest conpot 0.6.0 on a Raspberry Pi 3 (Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux /Python 3.5.3 / pip3 19.1.1 / ...) Manually installing those python packages from requirements.txt - a few at the time - eventually did the trick. Particularly cffi & cryptography proved tough to get installed ...

Now, when I try to run conpot, I get this: BTW: DOCs: Example Usage was not usefull ;-)

-1- pi@raspberrypi:~ $ sudo conpot WARNING:scapy.loading:Cannot read wireshark manuf database

                       _
   ___ ___ ___ ___ ___| |_
  |  _| . |   | . | . |  _|
  |___|___|_|_|  _|___|_|
              |_|
  Version 0.6.0
  MushMush Foundation

CRITICAL:root:Can't start conpot with root. Please ref user docs for more info.

-2- pi@raspberrypi:~ $ conpot WARNING:scapy.loading:Cannot read wireshark manuf database ... Invalid arguments supplied. Please check that you pass both template and config arguments before running Conpot

-3- pi@raspberrypi:~ $ conpot -t default -c testing.cfg WARNING:scapy.loading:Cannot read wireshark manuf database ... 2019-05-18 14:14:21,494 Config file found! 2019-05-18 14:14:21,504 Starting Conpot using template: /usr/local/lib/python3.5/dist-packages/conpot-0.6.0-py3.5.egg/conpot/templates/default 2019-05-18 14:14:21,505 Starting Conpot using configuration found in: /usr/local/lib/python3.5/dist-packages/conpot-0.6.0-py3.5.egg/conpot/testing.cfg 2019-05-18 14:14:21,554 Can't find the temp directory. Conpot VFS would be kept at : /usr/local/lib/python3.5/dist-packages/conpot-0.6.0-py3.5.egg/conpot/ConpotTempFS ERROR:root:Can't start conpot with default file system NoneType: None 2019-05-18 14:14:21,555 Can't start conpot with default file system NoneType: None

-4- pi@raspberrypi:~ $ conpot -t default -c testing.cfg --temp_dir ~/conpot WARNING:scapy.loading:Cannot read wireshark manuf database ... 2019-05-18 14:20:03,447 Config file found! 2019-05-18 14:20:03,457 Starting Conpot using template: /usr/local/lib/python3.5/dist-packages/conpot-0.6.0-py3.5.egg/conpot/templates/default 2019-05-18 14:20:03,458 Starting Conpot using configuration found in: /usr/local/lib/python3.5/dist-packages/conpot-0.6.0-py3.5.egg/conpot/testing.cfg ERROR:root:Can't start conpot with default file system NoneType: None 2019-05-18 14:20:03,506 Can't start conpot with default file system NoneType: None

==> What arguments do I need to pass to get conpot running ? Thanks in advance for amending the documentation.

Kind Regards, M_VdM.

xandfury commented 5 years ago

Sorry about the confusion. conpot -f --template default should work :slightly_smiling_face:

xandfury commented 5 years ago

I hope you issue has been resolved :slightly_smiling_face:

iWebLearner commented 2 years ago

I also have this problem,please tell how to solve it