A python-based pentesting library for Azure and Entra ID
Project description
Azure Offensive Library
A python-based pentesting library for Azure and Entra ID
Installation
Install the library using Python3 pip:
pip install azol
Basic Usage
Log in as a user and get all subscriptions:
from azol.credentials import User
from azol.clients import ArmClient
cred = User(username="user@domain.com")
armClient = ArmClient(tenant="tenant.com", cred=cred)
subscriptions=armClient.get_subscriptions()
for sid in subscriptions:
print(sid)
Log in as a Service Principal and get all groups, with owners
from pprint import pprint
from azol.credentials import ServicePrincipal
from azol.clients import GraphClient
cred = ServicePrincipal(client_id="00000000-0000-0000-0000-000000000000", client_secret="your secret" )
GraphClient = GraphClient(tenant="tenant.com", cred=cred)
groups=GraphClient.get_all_groups_and_owners()
for group in groups:
pprint(group)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
azol-0.2.5b1.tar.gz
(206.4 kB
view details)
Built Distribution
azol-0.2.5b1-py3-none-any.whl
(217.3 kB
view details)
File details
Details for the file azol-0.2.5b1.tar.gz
.
File metadata
- Download URL: azol-0.2.5b1.tar.gz
- Upload date:
- Size: 206.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c56e0e6ef0ef8adfe151479ae0af395d8ddf67f68b8517100374b01ac7f2fc04 |
|
MD5 | 51a8ed3107d29311375a23b571e0a8c1 |
|
BLAKE2b-256 | 10418bf7419ddf9c222bfb508f3399dc4e11858ed3b3f01f39835184c6e76785 |
File details
Details for the file azol-0.2.5b1-py3-none-any.whl
.
File metadata
- Download URL: azol-0.2.5b1-py3-none-any.whl
- Upload date:
- Size: 217.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04106bfc1bed114f285aa99b9080dc529dff17c9992310ee3834213059ab4c3b |
|
MD5 | 87f168c93a9ed8626dd4ba54bac3a91c |
|
BLAKE2b-256 | 76f8e62f526afc3b517a78f20aca71da1befa56f9af36f86e3339162afb52cb8 |