hak5 / usbrubberducky-payloads

The Official USB Rubber Ducky Payload Repository
https://usbrubberducky.com
3.88k stars 1.29k forks source link

[DevilsCupid] No support for the standard shortlived access tokens (sl. prefix) #318

Open ollia008 opened 1 year ago

ollia008 commented 1 year ago

Payload Title

DevilsCupid

Payload URL

https://github.com/hak5/usbrubberducky-payloads/tree/master/payloads/library/credentials/DevilsCupid

Payload Setup

Changed the $DropBoxAccessToken = "" to use my access token.

Problem Description

get the error "expired_access_token" or something close to it when running it from a powershell window. Seems the old long lasting tokens are deprecated. Can't find a way to fix it. I found something on "refresh tokens" but they're not implemented in the payload

Troubleshooting steps

Tried to find a way to use a long lasting access token tried things from this thread: https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Tokens-only-valid-for-4-hours-from-app-console/td-p/425269/highlight/true

Suspected Cause

The old long lasting (non-expiring) access tokens are depricated and it seems there's no way to generate them anymore. There are some.

Screenshots or additional information

devlis cupid no work

Checklist ✅ - READ CAREFULLY

Agreement

dallaswinger commented 1 year ago

@nejcpirecnik

ollia008 commented 1 year ago

Possibly add a different way to get the data such as anonfiles or something simmilar and then send it to a discord webhook or something simmilar? Don't know how it would be done, but it's an idea

dallaswinger commented 1 year ago

bump @nejcpirecnik