Skip to content

Commit fdd4fc1

Browse files
committed
Land rapid7#9292, fix variable name to store the username
Land rapid7#9292
2 parents d79b0ad + b335cac commit fdd4fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/unix/webapp/wp_slideshowgallery_upload.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def exploit
6464
print_error("Unable to login as #{user}")
6565
return
6666
end
67-
store_valid_credential(user: username, private: password, proof: cookie)
67+
store_valid_credential(user: user, private: password, proof: cookie)
6868

6969
print_status("Trying to upload payload")
7070
filename = "#{rand_text_alpha_lower(8)}.php"

0 commit comments

Comments
 (0)