Bug fix causing shellcodeexec to error out

This commit is contained in:
TrustedSec 2013-10-14 22:42:01 -04:00
parent 03a8c6bc4e
commit 3d6e35e649
4 changed files with 12 additions and 4 deletions

View file

@ -120,7 +120,7 @@ SELF_SIGNED_APPLET=OFF
# #
### This flag will set the java id flag within the java applet to something different. ### This flag will set the java id flag within the java applet to something different.
### This could be to make it look more believable or for better obfuscation ### This could be to make it look more believable or for better obfuscation
JAVA_ID_PARAM=Verified Trusted and Secure (SECURE) JAVA_ID_PARAM=Verified Trusted and Secure (VERIFIED)
# #
### Java applet repeater option will continue to prompt the user with the java applet if ### Java applet repeater option will continue to prompt the user with the java applet if
### the user hits cancel. This means it will be non stop until run is executed. This gives ### the user hits cancel. This means it will be non stop until run is executed. This gives

View file

@ -1,3 +1,9 @@
~~~~~~~~~~~~~~~~
version 5.3.9
~~~~~~~~~~~~~~~
* small bug fix that caused shellcodeexec to error out
~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
version 5.3.8 version 5.3.8
~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~

View file

@ -511,9 +511,11 @@ try:
filewrite = file("%s/meterpreter.alpha_decoded" % (setdir), "w") filewrite = file("%s/meterpreter.alpha_decoded" % (setdir), "w")
filewrite.write(shellcode) filewrite.write(shellcode)
filewrite.close() filewrite.close()
if choice1 == "shellcode/pyinject" or choice1 == "shellcode/multipyinject":
# close the pyinjector file for ports and payload
payload_options.close() # close the pyinjector file for ports and payload
payload_options.close()
# here we are going to encode the payload via base64 # here we are going to encode the payload via base64
fileopen = file("%s/meterpreter.alpha_decoded" % (setdir), "r") fileopen = file("%s/meterpreter.alpha_decoded" % (setdir), "r")

View file

@ -229,7 +229,7 @@ def print_error(message):
print bcolors.RED + bcolors.BOLD + "[!] " + bcolors.ENDC + bcolors.RED + str(message) + bcolors.ENDC print bcolors.RED + bcolors.BOLD + "[!] " + bcolors.ENDC + bcolors.RED + str(message) + bcolors.ENDC
def get_version(): def get_version():
define_version = '5.3.8' define_version = '5.3.9'
return define_version return define_version
class create_menu: class create_menu: