defparam / h1passets

List HackerOne private program assets
MIT License
149 stars 22 forks source link

Error in last line #10

Closed nullblackvoid closed 3 years ago

nullblackvoid commented 3 years ago

Hi,

Latest version.

While running python3 h1passets token url Getting this error:

Traceback (most recent call last):
  File "h1passets", line 118, in <module>
    graphql_token = get_h1_graphql_token(host_session_token)
  File "h1passets", line 51, in get_h1_graphql_token
    jsn = json.loads(resp.text)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Wondering I'm the only one who's having this error.

Thanks

thaivd98 commented 3 years ago

I got the same issue

nullblackvoid commented 3 years ago

@thaivd98 I found another tool: https://github.com/sw33tLie/bbscope Works fine.