Skip to content

Commit 15ff616

Browse files
committed
Improve interface
1 parent e8f9d49 commit 15ff616

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/func.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ func Initialize(target Target, options Options) model.Options {
6363
UseHeadless: true,
6464
UseDeepDXSS: false,
6565
WAFEvasion: false,
66+
OutputRequest: false,
67+
OutputResponse: false,
6668
}
6769
if len(options.UniqParam) > 0 {
6870
for _, v := range options.UniqParam {

lib/interface.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ type Options struct {
4545
PoCType string `json:"poc-type"`
4646
WAFEvasion bool `json:"waf-evasion"`
4747
HarWriter *har.Writer `json:"har-file-path"`
48+
OutputRequest bool `json:"output-request,omitempty"`
49+
OutputResponse bool `json:"output-response,omitempty"`
4850
}
4951

5052
// Target is target object

0 commit comments

Comments
 (0)