resources package

base module

class hash.resources.base.GoVulnCheck(version: str, go_binary: str, gopath: str)

A class for managing govulncheck binary and executing its commands

hash.resources.base.get_resource(file: str)

Retrun the specific resource object of the resource file passed as an argument

Parameters:

file (str) – The path to the resource’s file

targets module

hash.resources.targets.get_plugin_manager()

Return the plugin manager for hash-targets plugins.

hash.resources.targets.get_target(target, args, space)

Docs Return a target by its name

Parameters:
  • target (str) – The name of the target to return.

  • args (dict) – A dictionary which contains the config for this target

Returns:

The target object, which can be used to run actions

Return type:

object