SpiderLabs / ikeforce

235 stars 72 forks source link

Problem with pyopenssl==17.2.0 #10

Open mariobranco opened 6 years ago

mariobranco commented 6 years ago

If you are having this problem.

./ikeforce.py [HOST_IP] -a [+]Program started in Transform Set Enumeration Mode [+]Checking for acceptable Transforms

Accepted (AM) Transform Sets

Traceback (most recent call last): File "./ikeforce.py", line 307, in iCookie = ikeneg.secRandom(8).encode('hex') File "/home/master/git/ikeforce/ikeclient.py", line 46, in secRandom randomBytes = OpenSSL.rand.bytes(bytes) AttributeError: 'module' object has no attribute 'rand'

You can fix buy running this command

pip install 'pyopenssl==17.2.0'

dnet commented 5 years ago

See also #11