From c353b22f7097ed7cf0c2b4f92bb99c15032bb494 Mon Sep 17 00:00:00 2001 From: HAHWUL Date: Fri, 21 Jan 2022 00:14:12 +0900 Subject: [PATCH] Update README.md --- README.md | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8dcbb6e..1633ff5 100644 --- a/README.md +++ b/README.md @@ -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 [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 [flags] +authz0 setRole [flags] +authz0 setUrl [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 [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