:py:mod:`expliot.plugins.sample` ================================ .. py:module:: expliot.plugins.sample .. autoapi-nested-parse:: Sample test/plugin as demo. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: expliot.plugins.sample.Sample Attributes ~~~~~~~~~~ .. autoapisummary:: expliot.plugins.sample.DEFAULT_PORT .. py:data:: DEFAULT_PORT :annotation: = 80 .. py:class:: Sample Bases: :py:obj:`expliot.core.tests.test.Test` Test class for the sample. Every plugin needs to define and document the output format used in output_handler() Output Format: [ { {"found_entry_in_db": "FooEntry"}, {"found_entry_in_db": "FooEntry2"}, { "status": "Server is vulnerable", "services_available": [ "ssh", "foo" ] } ] .. py:method:: pre() Run before the test. .. py:method:: post() Run after the test. .. py:method:: execute() Execute the test.