From c852c772aab04e4b09d99f08cc7968cecd743ee7 Mon Sep 17 00:00:00 2001 From: Emile Date: Wed, 30 Oct 2019 17:48:28 +0100 Subject: basic structure (flags) --- src/structs.go | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/structs.go (limited to 'src/structs.go') 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 +} -- cgit 1.4.1