Multiple bug fixes

This commit is contained in:
TrustedSec 2014-02-19 18:27:14 -05:00
parent 515659a8e3
commit 6a1aadc2c1
3 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,10 @@
~~~~~~~~~~~~~~~~
version 5.4.6
~~~~~~~~~~~~~~~~
* fixed OSX compatibility (pull request)
* fixed an issue with Teensy Shellcode generation - would throw path error
~~~~~~~~~~~~~~~~
version 5.4.5
~~~~~~~~~~~~~~~~

View file

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

View file

@ -18,7 +18,7 @@ filewrite.close()
import src.payloads.powershell.prep
fileopen = file(path, "r")
fileopen = file(setdir + "/x86.powershell", "r")
#payload_encoded = fileopen.read()
# read in x amount of bytes
@ -134,6 +134,8 @@ Keyboard.send_now();
}
""")
print "[*] Payload has been extracted. Copying file to %s/reports/teensy.pde" % (setdir)
if not os.path.isfile(setdir + "/reports/"):
os.makedirs(setdir + "/reports/")
filewrite = file(setdir + "/reports/teensy.pde", "w")
filewrite.write(teensy)
filewrite.close()