mirror of
https://github.com/dbisu/pico-ducky.git
synced 2025-12-06 02:41:45 +00:00
Upload Test
This commit is contained in:
@@ -239,6 +239,13 @@ def runPayload(payloadPath):
|
|||||||
drawPayload("STOP",payloadPath)
|
drawPayload("STOP",payloadPath)
|
||||||
time.sleep(.5)
|
time.sleep(.5)
|
||||||
|
|
||||||
|
# create default directories
|
||||||
|
|
||||||
|
default_os = ["Windows","Starred","Mac","Linux"]
|
||||||
|
for os_name in default_os:
|
||||||
|
if (os_name not in(os.listdir("payloads"))):
|
||||||
|
os.mkdir(os_name)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
# check for root payload directory
|
# check for root payload directory
|
||||||
if (path!="payloads"):
|
if (path!="payloads"):
|
||||||
|
|||||||
0
Alex-Test/payloads/Starred/.starred
Normal file
0
Alex-Test/payloads/Starred/.starred
Normal file
Reference in New Issue
Block a user