Skip to content

Commit bfd5c2d

Browse files
Keep the initial option name 'ADMIN_ROLE'
1 parent 2be3433 commit bfd5c2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/multi/http/drupal_drupageddon.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def initialize(info={})
6666
register_advanced_options(
6767
[
6868
OptInt.new('Wait', [true, "Number of seconds to wait before triggering the payload sent (form-cache method only).", 5]),
69-
OptString.new('AdminRole', [ true, "The administrator role (user-post method only)", 'administrator']),
69+
OptString.new('ADMIN_ROLE', [ true, "The administrator role (user-post method only)", 'administrator']),
7070
OptInt.new('Iter', [ true, "Hash iterations (2^ITER, user-post method only))", 10])
7171
])
7272
end
@@ -170,7 +170,7 @@ def uri_path
170170
end
171171

172172
def admin_role
173-
datastore['AdminRole']
173+
datastore['ADMIN_ROLE']
174174
end
175175

176176
def iter

0 commit comments

Comments
 (0)