Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit ca73c60

Browse files
committed
Create more complex passwords during XSS user creation
1 parent 1fd35a9 commit ca73c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/wpxf/wordpress/xss.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def wordpress_js_create_user
7878
variables = {
7979
'$wordpress_url_new_user' => wordpress_url_new_user,
8080
'$username' => Utility::Text.rand_alpha(6),
81-
'$password' => Utility::Text.rand_alpha(10),
81+
'$password' => "#{Utility::Text.rand_alphanumeric(10)}!",
8282
'$email' => "#{Utility::Text.rand_alpha(7)}@#{Utility::Text.rand_alpha(10)}.com",
8383
'$xss_url' => xss_url
8484
}

0 commit comments

Comments
 (0)