forked from p15670423/monkey
UI: Add vulnerability exploiters to the schema
This commit is contained in:
parent
c254a94fc0
commit
67aa7d95a3
|
@ -18,25 +18,19 @@ export const exploitationConfigurationSchema = {
|
||||||
'SSHExploiter',
|
'SSHExploiter',
|
||||||
'MSSQLExploiter'
|
'MSSQLExploiter'
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
},
|
'vulnerability': {
|
||||||
'vulnerability': {
|
'title': 'Vulnerability Exploiters',
|
||||||
'title': 'Vulnerability Exploiters',
|
'type': 'array',
|
||||||
'type': 'object',
|
'uniqueItems': true,
|
||||||
'properties': {
|
'items': {
|
||||||
'vulnerability_classes': {
|
'$ref': '#/definitions/vulnerability_classes'
|
||||||
'title': 'Vulnerability Exploiters',
|
},
|
||||||
'type': 'array',
|
'default': [
|
||||||
'uniqueItems': true,
|
'Log4ShellExploiter',
|
||||||
'items': {
|
'HadoopExploiter'
|
||||||
'$ref': '#/definitions/vulnerability_classes'
|
]
|
||||||
},
|
},
|
||||||
'default': [
|
'options': exploitationOptionsConfigurationSchema
|
||||||
'Log4ShellExploiter',
|
}
|
||||||
'HadoopExploiter'
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'options': exploitationOptionsConfigurationSchema
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -101,6 +101,16 @@ export const vulnerabilityExploiters = {
|
||||||
'Apache Solr, Apache Tomcat, Logstash.',
|
'Apache Solr, Apache Tomcat, Logstash.',
|
||||||
'link': 'https://www.guardicore.com/infectionmonkey/docs/reference' +
|
'link': 'https://www.guardicore.com/infectionmonkey/docs/reference' +
|
||||||
'/exploiters/log4shell/'
|
'/exploiters/log4shell/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'type': 'string',
|
||||||
|
'enum': ['HadoopExploiter'],
|
||||||
|
'title': 'Hadoop/Yarn Exploiter',
|
||||||
|
'safe': true,
|
||||||
|
'info': 'Remote code execution on HADOOP server with YARN and default settings. ' +
|
||||||
|
'Logic based on ' +
|
||||||
|
'https://github.com/vulhub/vulhub/tree/master/hadoop/unauthorized-yarn.',
|
||||||
|
'link': 'https://www.guardicore.com/infectionmonkey/docs/reference/exploiters/hadoop/'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue