Files
kube-hunter/plugins
danielsagi 2dad27a175 Decrease vulnerabilities on build (#170)
* changed python version to 3.8.rc and removed wireshark from build. also added a plugin to supress scapy's warnings about the manuf

* changed to alpine 3.10, on docker file and removed unnecessary logging suppression

* changed to python 3.7

* changed base image on builder as well
2019-08-27 11:27:17 +01:00
..
2018-08-17 19:21:08 +03:00

Plugins

This folder contains modules that will load before any parsing of arguments by kubehunter's main module

An example for using a plugin to add an argument:

# example.py
from __main__ import parser

parser.add_argument('--exampleflag', action="store_true", help="enables active hunting")

What we did here was just add a file to the plugins/ folder, import the parser, and adding an argument.

All plugins in this folder gets imported right after the main arguments are added, and right before they are getting parsed, so you can add an argument that will later be used in your hunting/discovery module.