Example of usage
from pbuster import PhantomBuster
pb = PhantomBuster()
pb.container.list(agent_id="1234567890")
pbuster.container.Container(req)
Initialize Container API client
| Parameters: |
|
|---|
list(agent_id)
Fetch all containers for a specific agent
| Parameters: |
|
|---|
| Returns: |
|
|---|
get(container_id)
Fetch a specific container by ID with results and output
| Parameters: |
|
|---|
| Returns: |
|
|---|
output(container_id, raw=False)
Fetch the output of a specific container by ID
| Parameters: |
|
|---|
| Returns: |
|
|---|
results(container_id)
Fetch the results of a specific container by ID
| Parameters: |
|
|---|
| Returns: |
|
|---|
wait(container_id)
Wait for completion of a specific container by ID
| Parameters: |
|
|---|
| Returns: |
|
|---|