Skip to content

Updated CanaryToken-deploy script#71

Closed
0xForest wants to merge 3 commits into
masterfrom
CanaryToken-deploy.sh
Closed

Updated CanaryToken-deploy script#71
0xForest wants to merge 3 commits into
masterfrom
CanaryToken-deploy.sh

Conversation

@0xForest

@0xForest 0xForest commented Jun 26, 2026

Copy link
Copy Markdown
Contributor
  • migrated script over to deploy keys.
  • updated README
  • updated list of supported token types
  • dropped dependency on JQ

Test

g@Aspen bash % sh CanaryToken-deploy.sh
Enter your desired token type
> aws-id | credit-card | doc-msword | msexcel-macro | msexcel-macro | msword-macro | msword-macro | mysql-dump | pdf-acrobat-reader | qr-code | slack-api | windows-dir | wireguard
doc-msword
[*] Token type is downloadable, proceeding
Enter your Full Canary domain (e.g. xyz.canary.tools)
6b42426d.canary.tools
Enter your Canarytoken API Key
fa0...57d
Enter your target directory. Leave blank for ~/backup
/Users/g/Downloads
Enter your desired file name
helloworld.docx
[*] Starting Script with the following params:
Console Domain = 6b42426d.canary.tools
API Key = fa...7d
Target Directory = /Users/g/Downloads
Token Type = doc-msword
Token Filename = helloworld.docx
[*] Checking if '/Users/g/Downloads' exists...
Directory exists
[*] Dropping '/Users/g/Downloads/helloworld.docx'...
[*] Requesting a Token from the Canary Console API...
[*] Token Created (ID: i39pkuggqyy54pr6u3owdi65n).
[*] Downloading Token from Console...
[*] Token Successfully written to destination: '/Users/g/Downloads/helloworld.docx'.

- migrated script over to deploy keys.
- updated README
- updated list of supported token types
- dropped dependency on JQ
Comment thread bash/CanaryToken-deploy.sh Outdated
Comment thread bash/CanaryToken-deploy.sh Outdated
Comment thread bash/CanaryToken-deploy.sh Outdated
Comment thread bash/CanaryToken-deploy.sh Outdated
Comment thread bash/CanaryToken-deploy.sh Outdated
Comment thread bash/CanaryToken-deploy.sh Outdated
Comment thread bash/CanaryToken-deploy.sh Outdated
Comment thread bash/CanaryToken-deploy.sh
Comment thread bash/CanaryToken-deploy.sh Outdated
@0xForest 0xForest closed this Jun 26, 2026
@0xForest 0xForest deleted the CanaryToken-deploy.sh branch June 26, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants