mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-23 21:13:05 +00:00
Updated setcore to check for python-pycrypto and warn if not installed
This commit is contained in:
parent
c531311900
commit
e7041c08bf
1 changed files with 8 additions and 1 deletions
|
@ -17,8 +17,15 @@ import string
|
|||
import inspect
|
||||
import base64
|
||||
from src.core import dictionaries
|
||||
|
||||
# check to see if we have python-pycrypto
|
||||
try:
|
||||
from Crypto.Cipher import AES
|
||||
|
||||
except ImportError:
|
||||
print_error("The python-pycrypto python module not installed. You will loose the ability to use multi-pyinjector.")
|
||||
pass
|
||||
|
||||
# used to grab the true path for current working directory
|
||||
definepath = os.getcwd()
|
||||
|
||||
|
|
Loading…
Reference in a new issue