leak-buy
eucalyptus-viminalis tarafından
CLI UtilitiesÖzet
Buy and download leak content from promo or download links using a preinstalled leak CLI.
Açıklama
Bu Beceri Ne Yapar
Automates buying and downloading content from leak promo or download URLs using the leak CLI. Handles x402 payment flow, download codes, and multiple seller access modes. Enforces strict private key safety rules throughout the workflow.
Enforces safe command construction and private key handling constraints that a manual shell workflow would typically skip, preventing key leakage or shell injection.
Ne Zaman Kullanılır
- Download a purchased file from a promo link
- Buy access-gated content using x402 payment
- Redeem a download code for friend-gated content
- Save a downloaded file to a custom output path
- Handle both promo and direct download URL types
Örnek İş Akışı
User asks: buy the file at https://xxxx.trycloudflare.com/ using my buyer key at ./buyer.key
- 1
Confirm URL type is a promo URL (/)
- 2
Validate buyer key file path resolves to an existing, readable, non-symlink regular file
- 3
Construct safe buy.sh command with URL and key path as quoted argv tokens
- 4
Run the command and wait for the x402 payment flow to complete
- 5
Report the saved file path and total bytes downloaded
File saved to ./downloads/content.bin (48302 bytes)
Gereksinimler
- leak-cli installed globally via npm (npm i -g leak-cli)
- Buyer private key file for payment-required downloads
Kurulum
clawhub install eucalyptus-viminalis/leak-buyCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.