Skip to content

Commit 0e1b173

Browse files
committed
Renamed USER/PASSWORD to WP_USER/WP_PASSWORD.
1 parent 13ded8a commit 0e1b173

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/exploits/unix/webapp/wp_slideshowgallery_upload.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@ def initialize(info = {})
4343

4444
register_options(
4545
[
46-
OptString.new('USER', [true, 'A valid username', nil]),
47-
OptString.new('PASSWORD', [true, 'Valid password for the provided username', nil])
46+
OptString.new('WP_USER', [true, 'A valid username', nil]),
47+
OptString.new('WP_PASSWORD', [true, 'Valid password for the provided username', nil])
4848
], self.class)
4949
end
5050

5151
def user
52-
datastore['USER']
52+
datastore['WP_USER']
5353
end
5454

5555
def password
56-
datastore['PASSWORD']
56+
datastore['WP_PASSWORD']
5757
end
5858

5959
def check

0 commit comments

Comments
 (0)