Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log4Shell: Add config schema #3436

Merged
merged 1 commit into from
Jun 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions monkey/agent_plugins/exploiters/log4shell/config-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"required": [
"target_ports"
],
"properties": {
"target_ports": {
"title": "Target ports",
"description": "A list of HTTP ports that the Log4Shell exploiter will try to exploit.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "number",
"minimum": 0,
"maximum": 65535
},
"default": []
},
"try_all_discovered_http_ports": {
"title": "Try all discovered HTTP ports",
"description": "Attempt to exploit Log4Shell on all HTTP ports discovered from network scanning.",
"type": "boolean",
"default": false
},
"exploit_download_timeout": {
"title": "Exploit download timeout",
"description": "The maximum time (in seconds) to wait for the victim to download the exploit.",
"type": "number",
"minimum": 0.0,
"default": 5.0
},
"agent_binary_download_timeout": {
"title": "Agent binary download timeout",
"description": "The maximum time (in seconds) to wait for a successfully exploited server to download the agent binary.",
"type": "number",
"minimum": 0.0,
"default": 15.0
}
}
}