Skip to content

Commit

Permalink
Add HarWriter in Interface
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Feb 25, 2023
1 parent ac5a9e1 commit e74c5da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package lib
import (
"time"

"github.com/hahwul/dalfox/v2/pkg/har"
"github.com/hahwul/dalfox/v2/pkg/model"
)

Expand Down Expand Up @@ -41,8 +42,9 @@ type Options struct {
UseDeepDXSS bool `json:"use-deepdxss"`
RemotePayloads string
RemoteWordlists string
PoCType string `json:"poc-type"`
WAFEvasion bool `json:"waf-evasion"`
PoCType string `json:"poc-type"`
WAFEvasion bool `json:"waf-evasion"`
HarWriter *har.Writer `json:"har-file-path"`
}

// Target is target object
Expand Down

0 comments on commit e74c5da

Please sign in to comment.