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,7 +17,14 @@ import string
|
||||||
import inspect
|
import inspect
|
||||||
import base64
|
import base64
|
||||||
from src.core import dictionaries
|
from src.core import dictionaries
|
||||||
from Crypto.Cipher import AES
|
|
||||||
|
# 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
|
# used to grab the true path for current working directory
|
||||||
definepath = os.getcwd()
|
definepath = os.getcwd()
|
||||||
|
|
Loading…
Reference in a new issue