Bug fixing mode, fixed powershell and pycrypto bug

This commit is contained in:
trustedsec 2013-02-07 21:05:40 -05:00
parent 5a878fe2f9
commit 58d87f9da2
4 changed files with 20 additions and 11 deletions

View file

@ -1,3 +1,10 @@
~~~~~~~~~~~~~~~~
version 4.4.3
~~~~~~~~~~~~~~~~
* Fixed a pycrypto bug that would cause SET to error out if pycrypto was not properly installed
* Fixed a bug that would cause the alphanumeric shellcode injector to error out when selecting it through the payload menu (port.options exception)
~~~~~~~~~~~~~~~~
version 4.4.2
~~~~~~~~~~~~~~~~

9
set
View file

@ -9,6 +9,15 @@ import sys
import shutil
import re
# check to see if we have python-pycrypto
try:
from Crypto.Cipher import AES
except ImportError:
print "[!] The python-pycrypto python module not installed. You will loose the ability to use multi-pyinjector."
pass
#########################################
# The Social-Engineer Toolkit (SET) #
# Written by: David Kennedy (ReL1K) #

View file

@ -18,14 +18,6 @@ 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()
@ -223,7 +215,7 @@ def print_error(message):
print bcolors.RED + bcolors.BOLD + "[!] " + bcolors.ENDC + bcolors.RED + str(message) + bcolors.ENDC
def get_version():
define_version = '4.4.2'
define_version = '4.4.3'
return define_version
class create_menu:

View file

@ -46,8 +46,9 @@ if powershell_menu_choice != "99":
filewrite.write(x86)
# grab port specifications
fileopen = file("src/program_junk/port.options", "r")
port = fileopen.read()
if os.path.isfile("%s/src/program_junk/port.options" % (definepath)):
fileopen = file("%s/src/program_junk/port.options" % (definepath), "r")
port = fileopen.read()
choice = yesno_prompt("0","Do you want to start the listener now [yes/no]: ")
if choice == 'NO':