Skip to content

Rule setting not saved to template #36

@hkelley

Description

@hkelley

Describe the bug
Rule setting is not preseved when job is saved as a Template

To Reproduce
Steps to reproduce the behavior:

  1. Save a job as a template
    image

  2. Review the settings in the template

    {
        "Name":  "XXXXXX",
        "ID":  "1d4d3454-569b-44f3-b80c-8ec4156ec321",
        "Details":  {
                        "attack_mode":  0,
                        "increment":  null,
                        "increment_max":  null,
                        "increment_min":  null,
                        "mask":  "?a?a?a?a?a?a",
                        "rules":  null,
                        "wordlist":  "rockyou2021",
                        "wordlist2":  null,
                        "timeout":  32400,
                        "stats":  ""
                    }
    },

Expected behavior
The rules property of the template should not be null
No logs written to crackq.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions