expliot.plugins.sample¶
Sample test/plugin as demo.
Attributes¶
Classes¶
Test class for the sample. |
Module Contents¶
- 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.