KubiScan icon indicating copy to clipboard operation
KubiScan copied to clipboard

Remove warnings when TLS verificaition is turned off when using a token / no CA file

Open jpts opened this issue 4 years ago • 3 comments

This just moves the urllib3 warning suppression line to be enable automatically, when token auth is used. Should fix #5 . Tested with/without CA when using token. Have encountered no issues during my own testing.

jpts avatar May 20 '20 22:05 jpts

Thanks :) I will check it first

g3rzi avatar May 21 '20 16:05 g3rzi

I tested your changes but when I run the following:

root@ubuntu:~/kubi/KubiScan# python3 KubiScan.py -ho 192.160.0.3:8443 -t token -rs

I am still getting the following errors in the beginning:

/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)

How did you run it? Did you use docker or directly with python like I did?

g3rzi avatar May 23 '20 18:05 g3rzi

?

g3rzi avatar Jun 18 '20 12:06 g3rzi

We tested it on a new machine, it works fine. Thanks.

g3rzi avatar Aug 25 '22 08:08 g3rzi

awesome, glad you got it working :tada:

jpts avatar Aug 25 '22 11:08 jpts

Thank you for the contribution, and sorry it took time.

g3rzi avatar Aug 25 '22 11:08 g3rzi