Skip to content

Commit 80e91e9

Browse files
committed
Minor fixups.
1 parent d68365d commit 80e91e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/dos/http/wordpress_directory_traversal_dos.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def depth
6969
def user_exists(user)
7070
exists = wordpress_user_exists?(user)
7171
if exists
72-
print_good("Username \"#{username}\" is valid")
72+
print_good("Username \"#{user}\" is valid")
7373
return true
7474
else
7575
print_error("\"#{user}\" is not a valid username")
@@ -88,7 +88,7 @@ def run
8888
starting_thread = 1
8989

9090
cookie = wordpress_login(username, password)
91-
store_valid_credential(user: user, private: password, proof: cookie)
91+
store_valid_credential(user: username, private: password, proof: cookie)
9292
if cookie.nil?
9393
print_error('Aborting operation - failed to authenticate')
9494
return

0 commit comments

Comments
 (0)