We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b0c74db + af1bd01 commit 48666f1Copy full SHA for 48666f1
modules/exploits/linux/http/foreman_openstack_satellite_code_exec.rb
@@ -46,8 +46,8 @@ def initialize
46
[
47
Opt::RPORT(443),
48
OptBool.new('SSL', [true, 'Use SSL', true]),
49
- OptString.new('MYUSERNAME', [true, 'Your username', 'admin']),
50
- OptString.new('MYPASSWORD', [true, 'Your password', 'changeme']),
+ OptString.new('USERNAME', [true, 'Your username', 'admin']),
+ OptString.new('PASSWORD', [true, 'Your password', 'changeme']),
51
OptString.new('TARGETURI', [ true, 'The path to the application', '/']),
52
], self.class
53
)
@@ -59,8 +59,8 @@ def exploit
59
'method' => 'POST',
60
'uri' => normalize_uri(target_uri.path, 'users', 'login'),
61
'vars_post' => {
62
- 'login[login]' => datastore['MYUSERNAME'],
63
- 'login[password]' => datastore['MYPASSWORD']
+ 'login[login]' => datastore['USERNAME'],
+ 'login[password]' => datastore['PASSWORD']
64
}
65
66
0 commit comments