Skip to content

Commit 96feb8d

Browse files
authored
Update phpmailer_arg_injection.rb
Changed new advanced option to camel case
1 parent b044121 commit 96feb8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/multi/http/phpmailer_arg_injection.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def initialize(info = {})
6060
])
6161
register_advanced_options(
6262
[
63-
OptInt.new('WAIT_TIMEOUT', [true, 'Seconds to wait to trigger the payload', 300])
63+
OptInt.new('WaitTimeout', [true, 'Seconds to wait to trigger the payload', 300])
6464
])
6565
end
6666

@@ -69,7 +69,7 @@ def trigger(trigger_uri)
6969

7070
page_found = false
7171
sleep_time = 10
72-
wait_time = datastore['WAIT_TIMEOUT']
72+
wait_time = datastore['WaitTimeout']
7373
print_status("Waiting for up to #{wait_time} seconds to trigger the payload")
7474
while wait_time > 0
7575
sleep(sleep_time)

0 commit comments

Comments
 (0)