BugBlocker/lotus

[Bug] problem with json input

knassar702 opened this issue · 1 comments

Lotus input reader cannot read the json input probably, this would be a problem for custom input handler scripts

Example Data

lotus reads this example json here from this

[
    {
            "method": "GET",
            "url": "http://example.com",
            "headers": [],
            body: "",
    }
]

to this

["            \"headers\": [],", "            \"method\": \"GET\",", "            \"url\": \"http://example.com\",", "            body: \"\",", "    {", "    }", "[", "]"]

The problem occurred due to the removal of the duplicate functions. This issue has been fixed in the full_httpscan branch. Once the full HTTP scan feature is completed, it will be merged into the master branch.