Updated setcore to check for python-pycrypto and warn if not installed

This commit is contained in:
trustedsec 2013-01-23 20:58:55 -05:00
parent c531311900
commit e7041c08bf

View file

@ -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()