mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-22 20:43:04 +00:00
Update sd2teensy.py
Updates to reflect recent changes with the Arduino IDE (Change in file extension from .pde to .ino)
This commit is contained in:
parent
1ff02b4f94
commit
f05764febb
1 changed files with 5 additions and 5 deletions
|
@ -235,16 +235,16 @@ Keyboard.send_now();
|
|||
""".format(random_filename=random_filename, powershell_command=powershell_command, vbs=vbs, bat=bat))
|
||||
# delete temporary file
|
||||
subprocess.Popen("rm {0} 1> /dev/null 2>/dev/null".format(random_filename), shell=True).wait()
|
||||
print("[*] Binary to Teensy file exported as teensy.pde")
|
||||
# write the teensy.pde file out
|
||||
with open("teensy.pde", "w") as filewrite:
|
||||
# write the teensy.pde file out
|
||||
print("[*] Binary to Teensy file exported as teensy.ino")
|
||||
# write the teensy.ino file out
|
||||
with open("teensy.ino", "w") as filewrite:
|
||||
# write the teensy.ino file out
|
||||
filewrite.write(output_variable)
|
||||
print("""
|
||||
|
||||
Instructions:
|
||||
|
||||
Copy the converts.txt file to the sdcard on the Teensy device. Use the teensy.pde normally
|
||||
Copy the converts.txt file to the sdcard on the Teensy device. Use the teensy.ino normally
|
||||
and use the Arduino IDE to place the latest code in there. Notice that you need to change
|
||||
some code marked above based on the Teensy and the Teensy++ based on how you soldered the PIN's
|
||||
on.
|
||||
|
|
Loading…
Reference in a new issue