desaster / kippo

Kippo - SSH Honeypot
1.61k stars 277 forks source link

when ./start.sh got error #56

Open ghost opened 10 years ago

ghost commented 10 years ago

From squall2751 on September 28, 2012 07:56:26

What is the expected output? What do you see instead? [kippotest@honeypot kippo-0.5]$ ./start.sh Starting kippo in background...Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/twisted/application/app.py", line 652, in run runApp(config) File "/usr/lib/python2.6/site-packages/twisted/scripts/twistd.py", line 23, in runApp _SomeApplicationRunner(config).run() File "/usr/lib/python2.6/site-packages/twisted/application/app.py", line 386, in run self.application = self.createOrGetApplication() File "/usr/lib/python2.6/site-packages/twisted/application/app.py", line 451, in createOrGetApplication application = getApplication(self.config, passphrase) --- --- File "/usr/lib/python2.6/site-packages/twisted/application/app.py", line 462, in getApplication application = service.loadApplication(filename, style, passphrase) File "/usr/lib/python2.6/site-packages/twisted/application/service.py", line 405, in loadApplication application = sob.loadValueFromFile(filename, 'application', passphrase) File "/usr/lib/python2.6/site-packages/twisted/persisted/sob.py", line 210, in loadValueFromFile exec fileObj in d, d File "kippo.tac", line 15, in from twisted.conch.ssh import factory, keys File "/usr/lib/python2.6/site-packages/twisted/conch/ssh/factory.py", line 16, in from twisted.conch.ssh import keys File "/usr/lib/python2.6/site-packages/twisted/conch/ssh/keys.py", line 17, in from Crypto.PublicKey import RSA, DSA File "/usr/lib/python2.6/site-packages/Crypto/PublicKey/RSA.py", line 75, in from Crypto.Util.number import getRandomRange, bytes_to_long, long_to_bytes File "/usr/lib/python2.6/site-packages/Crypto/Util/number.py", line 56, in if _fastmath is not None and not _fastmath.HAVE_DECL_MPZ_POWM_SEC: exceptions.AttributeError: 'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC'

Failed to load application: 'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC' What version of the product are you using? On what operating system? CentOS6.3(Final)

What problem about it ??

Original issue: http://code.google.com/p/kippo/issues/detail?id=56

ghost commented 10 years ago

From desaster on September 27, 2012 22:28:19

Please test using the latest svn version. Version 0.5 is very outdated and there may have been some changes related to your problem (although I don't remember exactly right now). https://code.google.com/p/kippo/source/checkout

ghost commented 10 years ago

From squall2751 on September 27, 2012 22:36:00

using the latest svn version also same like this problem~

ghost commented 10 years ago

From desaster on November 10, 2012 07:56:15

I tested with a fresh installation of Centos6.3, and cannot reproduce the problem:

$ cat /etc/centos-release CentOS release 6.3 (Final)

$ sudo yum install python-twisted

$ rpm -q python python-crypto python-twisted python-2.6.6-29.el6_3.3.i686 python-crypto-2.0.1-22.el6.i686 python-twisted-8.2.0-3.1.el6.noarch

$ svn co http://kippo.googlecode.com/svn/trunk/ kippo

$ cd kippo; twistd -n -y kippo.tac

ghost commented 10 years ago

From schmall.markus on November 18, 2012 00:54:06

I have the same problem, also on a fresh 6.3 install, kippo from svn

python-2.6.6-29.el6_3.3.x86_64 python-crypto-2.0.1-22.el6.x86_64 python-twisted-8.2.0-3.1.el6.noarch

I installed twisted 12.2 0, below is the stack trace

Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/Twisted-12.2.0-py2.6-linux-x86_64.egg/twisted/application/app.py", line 652, in run runApp(config)

(sorry, I am not a python guy, dont know if the twisted install was right in the first case)

ghost commented 10 years ago

From lamribenn on June 14, 2013 17:29:47

any update? I am having the same issue on ubuntu