atomshields.reports package

Submodules

atomshields.reports.base module

class atomshields.reports.base.GenericReport(issues=None)[source]

Bases: object

Class inherited by all reporting modules.

issues

Getter for ‘issues’ property

Returns:List of Issue instances
Return type:list
config

Getter for ‘config’ property

Returns:Dictionary which contains the current values for this report config
Return type:dict
project

Getter for ‘project’ property

Returns:Project’s name
Return type:str
atomshields.reports.base.report(func)[source]

Decorator for method run. This method will be execute before the execution from the method with this decorator.

atomshields.reports.echo module

class atomshields.reports.echo.EchoReport(*args, **kwargs)[source]

Bases: atomshields.reports.base.GenericReport

This module shows all the information about the vulnerabilities per screen (echo).
NAME

str – Name of the module.

DESCRIPTION

str – Description of the functionality of the module.

CONFIG

dict – Default values of the module configuration..

NAME = 'echo'
DESCRIPTION = 'Muestra las vulnerabilidades por pantalla'
CONFIG = {'enabled': True}
run(*args, **kwargs)

atomshields.reports.http module

class atomshields.reports.http.HttpReport(*args, **kwargs)[source]

Bases: atomshields.reports.base.GenericReport

This module sends all information about vulnerabilities to an endpoint via an http request.

Attributes: NAME (str): Name of the module. DESCRIPTION (str): Description of the functionality of the module. CONFIG (dict): Default values of the module configuration.

NAME = 'http'
DESCRIPTION = 'Envia los datos de las vulnerabilidades a un endpoint HTTP'
CONFIG = {'enabled': False, 'method': 'post', 'proxy': 'http://127.0.0.1:8080', 'url': '<your_endpoint>', 'use_proxy': False}
run(*args, **kwargs)

Module contents