about summary refs log tree commit diff
path: root/src/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/structs.go')
-rw-r--r--src/structs.go35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/structs.go b/src/structs.go
new file mode 100644
index 0000000..4458dc8
--- /dev/null
+++ b/src/structs.go
@@ -0,0 +1,35 @@
+package main
+
+// Hide stores what requests to hide
+type Hide struct {
+	hideCode, hideLine, hideWord, hideChar string
+}
+
+// Show stores what requests to show
+type Show struct {
+	showCode, showLine, showWord, showChar string
+}
+
+// Config stores the overall config
+type Config struct {
+
+	// show / hide config
+	Show Show
+	Hide Hide
+
+	// misc config
+	color          bool
+	verbose        bool
+	printer        string
+	dryrun         bool
+	proxy          string
+	concurrent     int
+	delay          int
+	followRedirect bool
+	url            string
+	payload        string
+	wordlist       string
+	postData       string
+	headers        string
+	basicauth      string
+}