class documentation

class VenomCache(object):

View In Hierarchy

VenomCache Class.

Method __init__ Return VenomCache Object.
Instance Variable cache_file Cache file location.
Property cache_file_age Get time cache file was last modified.
Method regen_cache See if we need to regnerate cache.
Property is_stale Returns true if cache age is over MAX_CACHE_AGE.
Property cache Return cached json dictionary from cache file.
Method _getoptions Get msf venom options.
Method _gencache Routine that generates the cache dictionary.
def __init__(self):

Return VenomCache Object.

cache_file =

Cache file location.

(type: pathlib.Path)
def _getoptions(self, opt_type):

Get msf venom options.

@property
cache_file_age =

Get time cache file was last modified.

def regen_cache(self, force=False):

See if we need to regnerate cache.

@property
is_stale =

Returns true if cache age is over MAX_CACHE_AGE.

@property
cache =

Return cached json dictionary from cache file.

(type: Dict[str, List])
def _gencache(self):

Routine that generates the cache dictionary.

API Documentation for v0tools, generated by pydoctor 21.2.2 at 1996-06-17 15:00:00.