From 2fdbd256558908bbbe6d41e4d6a5201bc531d5cc Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Sat, 22 Jan 2022 19:50:57 +0200 Subject: [PATCH] Fix reading wordlists from cfg (#511) * Fix issue with wordlists being defined in the ffufrc file * Add changelog entry --- CHANGELOG.md | 1 + main.go | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81a0e46..8efbd86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Changed - Fixed an issue where output file was created regardless of `-or` - Fixed an issue where output (often a lot of it) would be printed after entering interactive mode + - Fixed an issue when reading wordlist files from ffufrc - v1.3.1 - New diff --git a/main.go b/main.go index 4e2dd9c..3463601 100644 --- a/main.go +++ b/main.go @@ -55,6 +55,7 @@ func ParseFlags(opts *ffuf.ConfigOptions) *ffuf.ConfigOptions { autocalibrationstrings = opts.General.AutoCalibrationStrings headers = opts.HTTP.Headers inputcommands = opts.Input.Inputcommands + wordlists = opts.Input.Wordlists flag.BoolVar(&ignored, "compressed", true, "Dummy flag for copy as curl functionality (ignored)") flag.BoolVar(&ignored, "i", true, "Dummy flag for copy as curl functionality (ignored)")