about summary refs log tree commit diff
path: root/src/structs.go
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-30 17:48:28 +0100
committerEmile <hanemile@protonmail.com>2019-10-30 17:48:28 +0100
commitc852c772aab04e4b09d99f08cc7968cecd743ee7 (patch)
tree60e02b75abcccd1abf745895e93d509e7907ce8d /src/structs.go
parentcb44831712db83ca7af6854dae96710453875ba1 (diff)
basic structure (flags)
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
+}