Rolix44/Kubestroyer

When Unauthorized show Response instead of invalid character error

Closed this issue · 0 comments

When the parse_pods function receives an "Unauthorized" response, it currently gives the following error:

kubestroyer --anon-rce -t 172.16.137.11                                                                                                                                                                                                                         

--------------------------------------------------------

2023/01/15 10:24:49 invalid character 'U' looking for beginning of value

It should instead show the user that it received an Unauthorized response.