aquasecurity / kube-hunter

Hunt for security weaknesses in Kubernetes clusters
Apache License 2.0
4.7k stars 581 forks source link

Fixed typo in DNS hunting #363

Closed danielsagi closed 4 years ago

danielsagi commented 4 years ago

Description

This fixes a crash due to a typo in Kube-DNS hunting when using the network timeout option.

Contribution checklist

Notes

Please mention if you have not checked any of the above boxes.

codecov[bot] commented 4 years ago

Codecov Report

Merging #363 into master will not change coverage. The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #363   +/-   ##
=======================================
  Coverage   62.73%   62.73%           
=======================================
  Files          42       42           
  Lines        2281     2281           
=======================================
  Hits         1431     1431           
  Misses        850      850           
Impacted Files Coverage Δ
kube_hunter/modules/hunting/dns.py 37.77% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2428e2e...b87c4c0. Read the comment docs.

danielsagi commented 4 years ago

wow...this is why I prefer compiled languages like Go! Haha