Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul authored Jan 20, 2022
1 parent aa719cd commit c353b22
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,39 @@ Need more information? please refer to [installation guide](https://authz0.hahwu
version Show version
```

1) Generate template
### 1. Generate template
```
authz0 new <filename> [flags]
```
e.g
```
authz0 new target.yaml --include-urls urls.txt
authz0 new target.yaml --include-zap zapurls.har
authz0 new target.yaml --include-burp burpurl.xml
```

2) Scanning
### 2. Modify template
```
authz0 setCred <filename> [flags]
authz0 setRole <filename> [flags]
authz0 setUrl <filename> [flags]
```
e.g
```
authz0 setUrl target.yaml setUrl -u https://www.hahwul.com
authz0 setRole target.yaml -n User1
authz0 setCred target.yaml -n User1 -H "X-API-Key: 1234" -H "TestHeader: 12344"
```

### 3. Scanning
```
authz0 scan <filename> [flags]
```
e.g
```
authz0 scan target.yaml
authz0 scan target.yaml -r TestUser1 -H "Cookie: 1234=1234" -H "X-API-Key: 1234555"
```

## 📖 Documents
https://authz0.hahwul.com
Expand Down

0 comments on commit c353b22

Please sign in to comment.