diff --git a/modules/exploits/unix/webapp/wp_slideshowgallery_upload.rb b/modules/exploits/unix/webapp/wp_slideshowgallery_upload.rb index 41b0431e22..809e2e12b9 100644 --- a/modules/exploits/unix/webapp/wp_slideshowgallery_upload.rb +++ b/modules/exploits/unix/webapp/wp_slideshowgallery_upload.rb @@ -43,17 +43,17 @@ class Metasploit3 < Msf::Exploit::Remote register_options( [ - OptString.new('USER', [true, 'A valid username', nil]), - OptString.new('PASSWORD', [true, 'Valid password for the provided username', nil]) + OptString.new('WP_USER', [true, 'A valid username', nil]), + OptString.new('WP_PASSWORD', [true, 'Valid password for the provided username', nil]) ], self.class) end def user - datastore['USER'] + datastore['WP_USER'] end def password - datastore['PASSWORD'] + datastore['WP_PASSWORD'] end def check