expliot.plugins.firmware.gencdxbom

Sample test/plugin as demo.

Module Contents

Classes

GenCDXBom

Test class for the sample.

Attributes

DEFAULT_PORT

expliot.plugins.firmware.gencdxbom.DEFAULT_PORT = 80
class expliot.plugins.firmware.gencdxbom.GenCDXBom

Bases: expliot.core.tests.test.Test

Test class for the sample.

Output Format: [

{

“files”: 7, # Total number of files (including normal, hidden and symlinks) “dirs”: 4, # Total number of directories “hiddenfiles”: 2, # Total number of hidden files “hiddentdirs”: 1, # Total number of hidden directories “symlinks”: 1 # Total number of symlinks

}, # Below is the JSON format as per CycloneDX JSON Specification {

“bomFormat”: “CycloneDX”, … …

}

]

execute()

Execute the test.