Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

Problem with pyopenssl==17.2.0 #10

Open
mariobranco opened this issue Jan 26, 2018 · 1 comment
Open

Problem with pyopenssl==17.2.0 #10

mariobranco opened this issue Jan 26, 2018 · 1 comment

Comments

@mariobranco
Copy link

mariobranco commented Jan 26, 2018

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
Copy link

dnet commented May 8, 2019

See also #11

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants