shencode-core-download
Description
Download a file from a remote source. Actually http
is the only supported protocol. Of course you can use HTTP and HTTPS URIs as download source.
Command
shencode.py core download [-h] -o OUTPUT -p {http} -u URI
Download files
options:
-h, --help show this help message and exit
-o, --output Output file
-p, --protocol Download protocol
-u, --uri URI to file
Example Output
python shencode.py core download -o debian.iso -p http -u https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.10.0-amd64-netinst.iso
[D0WNL04D3R]-[0.1.0]
[*] File size: 105639336 bytes
Download: 100%|██████████████████████████████| 106M/106M [00:07<00:00, 13.4MB/s]
[+] File created in debian.iso
[#] Hash: d1d64a0c34c705e288a9b577fa79f3fef785f692
[+] DONE!
JSON Parameter
Arguments | Values | Type |
---|---|---|
ouput | filename | str |
protocol | http | str |
uri | uri | str |