tomsteele/burpbuddy

cannot be converted to JSON

Closed this issue · 3 comments

While using the 3.0.0 build I get the error
{"error": "Fri Oct 21 09:15:41 PDT 2016 cannot be converted to JSON"} after loading in a burp state file and hitting the /proxyhistory or /sitemap endpoints on the API.

These routes seem to respond just fine as [] with a freshly opened burp / loaded burpbuddy module.

I planned on digging in to figuring out why this happens, just figured I would log it here until I had a moment to do so.

Burp: 1.7.05

Oh! I think I found it

"expiration" to cookie.expiration,
. I think we just need to convert that to a string. Ideally next week I can complete the documentation and fix this issue. Thanks for the issue :)

Rad, thanks. <3 burpbuddy.

On Aug 27, 2016, at 12:05 AM, Tom Steele notifications@github.com wrote:

Oh! I think I found it

"expiration" to cookie.expiration,
. I think we just need to convert that to a string. Ideally next week I can complete the documentation and fix this issue. Thanks for the issue :)


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Fixed it. I'm just going to overwrite the binary tagged on the beta release for now.

$ curl http://127.0.0.1:8001/sitemap | python -m json.tool | grep expiration
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 18.7M    0 18.7M    0     0  53.5M      0 --:--:-- --:--:-- --:--:-- 53.5M
                    "expiration": "Mon Sep 05 12:37:20 MDT 2016",
                    "expiration": "Sun Dec 04 11:22:16 MST 2016",
                    "expiration": "Wed Sep 05 12:22:19 MDT 2018",
                    "expiration": "Wed Dec 31 17:00:01 MST 1969",
                    "expiration": "",
                    "expiration": "Wed Dec 31 17:00:01 MST 1969",
                    "expiration": "",
                    "expiration": "Wed Dec 31 17:00:01 MST 1969",
                    "expiration": "Wed Dec 31 17:00:01 MST 1969",
                    "expiration": "Wed Dec 31 17:00:01 MST 1969",
                    "expiration": "Tue Mar 07 11:22:04 MST 2017",