
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Python tool to upload files into Azure Storage Blob Service from local file system.
AzCopy is the official tool from Microsoft that, among many other things, implements bulk upload of files from local file system to Azure Storage Blob Service. PyAzBlob is a simple console application created in a few hours, mostly for fun and to practice with Microsoft Azure Storage SDK for Python. However, it does implement a couple of features that I find useful for my personal use, that are not available in AzCopy.
_____ ____ _ _
| __ \ /\ | _ \| | | |
| |__) | _ / \ ___| |_) | | ___ | |__
| ___/ | | | / /\ \ |_ / _ <| |/ _ \| '_ \
| | | |_| |/ ____ \ / /| |_) | | (_) | |_) |
|_| \__, /_/ \_\/___|____/|_|\___/|_.__/
__/ |
|___/
.pyazblobignore
file (read from command CWD)settings.json
file (read from command CWD)Install:
pip install pyazblob
Verify that the CLI was installed:
pyazblob --help
The CLI works by storage account name and key. These parameters can be either configured as environmental variables (recommended) or passed as input parameters.
Recommendations: if you are creating an Azure Storage for backups, use Standard performance and LRS (Locally Redundant Storage). Make sure to use Private containers if you want your data to be kept private.
Storage account name and settings can be found in the Azure Portal under Settings > Access keys
.
Example: upload all files from /home/username/Pictures/
recursively, recreating the folder structure:
pyazblob -p /home/username/Pictures/ -r
Upload all files from C:\Users\username\Documents\
recursively, keeping folder structure starting from \Documents\
:
python pyazblob.py -p C:\Users\username\Documents\ -c C:\Users\username\
.pyazblobignore
fileName | Scope |
---|---|
PYAZ_ACCOUNT_NAME | account name |
PYAZ_ACCOUNT_KEY | account key |
FAQs
Python tool to upload files into Azure Storage Blob service from local file system
We found that pyazblob demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.