expliot.plugins.sample

Sample test/plugin as demo.

Module Contents

Classes

Sample

Test class for the sample.

Attributes

DEFAULT_PORT

expliot.plugins.sample.DEFAULT_PORT = 80
class expliot.plugins.sample.Sample

Bases: 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”

]

}

]

pre()

Run before the test.

post()

Run after the test.

execute()

Execute the test.