Skip to content

Commit e74c5da

Browse files
committed
Add HarWriter in Interface
1 parent ac5a9e1 commit e74c5da

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lib/interface.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package lib
33
import (
44
"time"
55

6+
"github.com/hahwul/dalfox/v2/pkg/har"
67
"github.com/hahwul/dalfox/v2/pkg/model"
78
)
89

@@ -41,8 +42,9 @@ type Options struct {
4142
UseDeepDXSS bool `json:"use-deepdxss"`
4243
RemotePayloads string
4344
RemoteWordlists string
44-
PoCType string `json:"poc-type"`
45-
WAFEvasion bool `json:"waf-evasion"`
45+
PoCType string `json:"poc-type"`
46+
WAFEvasion bool `json:"waf-evasion"`
47+
HarWriter *har.Writer `json:"har-file-path"`
4648
}
4749

4850
// Target is target object

0 commit comments

Comments
 (0)