mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-23 21:13:05 +00:00
Bug fix causing shellcodeexec to error out
This commit is contained in:
parent
03a8c6bc4e
commit
3d6e35e649
4 changed files with 12 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue