ex0dus-0x / fuzzable

Framework for Automating Fuzzable Target Discovery with Static Analysis.
MIT License
506 stars 53 forks source link

Grammar Error in __init__.py #46

Closed cha512 closed 1 year ago

cha512 commented 1 year ago

this commit breaks plugin.

you need to change

Settings().register_setting(
    "fuzzable.score_weights",
    """
    {
        "title"         : "Override Score Weights",
        "description"   : "Change default score weights for each metric.",
        "type"          : "array",
        "elementType"   : "string",
        "default"       : {}
    }
""".format(
        DEFAULT_SCORE_WEIGHTS
    ),
)

to

Settings().register_setting(
    "fuzzable.score_weights",
    """
    {{
        "title"         : "Override Score Weights",
        "description"   : "Change default score weights for each metric.",
        "type"          : "array",
        "elementType"   : "string",
        "default"       : {}
    }}
""".format(
        DEFAULT_SCORE_WEIGHTS
    ),
)

Sorry, I don't have time to make PR, but I wanted to let you know.