Skip to content

Using comma delimited wordlists, and multiple parameters isn't working as intended #290

@codingo

Description

@codingo

For the sake of the tests below domains.txt contains only "codingo" and wordlist.txt contains only "admin".

When specifying a wordlist, you can specify a variable to fuzz with using:

-w ./wordlist.txt:W1

Where W1 is our insertion point. In addition, FFUF allows you to specify multiple wordlists in a comma delimited fashion. If we put the two together, we have something like:

ffuf -u https://W2.io/W1 -w ./wordlist.txt:W1, ./domains.txt:W2

Unfortunately, this isn't accepted, throwing the error:

Encountered error(s): 1 errors occurred.
* Keyword W1, defined, but not found in headers, method, URL or POST data.

However if we remove the comma delimited w flag, and use it a second time, this works as intended:

ffuf -u https://W2.io/W1 -w ./wordlist.txt:W1 -w ./domains.txt:W2

This appears to be a bug in the input sanitisation of parameters, and likely an easy first issue for somebody to tackle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions