From af1bd01b629f92df3e1d5b38aaa17a8e702b8300 Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Mon, 22 Jul 2013 16:57:32 -0500 Subject: [PATCH] Change datastore options names for consistency --- .../linux/http/foreman_openstack_satellite_code_exec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/exploits/linux/http/foreman_openstack_satellite_code_exec.rb b/modules/exploits/linux/http/foreman_openstack_satellite_code_exec.rb index d5131bea3c..f2238b090d 100644 --- a/modules/exploits/linux/http/foreman_openstack_satellite_code_exec.rb +++ b/modules/exploits/linux/http/foreman_openstack_satellite_code_exec.rb @@ -46,8 +46,8 @@ class Metasploit4 < Msf::Exploit::Remote [ Opt::RPORT(443), OptBool.new('SSL', [true, 'Use SSL', true]), - OptString.new('MYUSERNAME', [true, 'Your username', 'admin']), - OptString.new('MYPASSWORD', [true, 'Your password', 'changeme']), + OptString.new('USERNAME', [true, 'Your username', 'admin']), + OptString.new('PASSWORD', [true, 'Your password', 'changeme']), OptString.new('TARGETURI', [ true, 'The path to the application', '/']), ], self.class ) @@ -59,8 +59,8 @@ class Metasploit4 < Msf::Exploit::Remote 'method' => 'POST', 'uri' => normalize_uri(target_uri.path, 'users', 'login'), 'vars_post' => { - 'login[login]' => datastore['MYUSERNAME'], - 'login[password]' => datastore['MYPASSWORD'] + 'login[login]' => datastore['USERNAME'], + 'login[password]' => datastore['PASSWORD'] } )