Skip to content

Commit beea5e1

Browse files
author
Brent Cook
committed
use wfsdelay consistently
1 parent fede672 commit beea5e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/msf/core/modules/external/shim.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def self.mod_meta_common(mod, meta = {})
3939
end
4040

4141
def self.mod_meta_exploit(mod, meta = {})
42-
meta[:delay] = mod.meta['delay'] || 5
42+
meta[:wfsdelay] = mod.meta['wfsdelay'] || 5
4343
meta[:privileged] = mod.meta['privileged'].inspect
4444
meta[:platform] = mod.meta['targets'].map do |t|
4545
t['platform'].dump

lib/msf/core/modules/external/templates/remote_exploit_cmd_stager.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MetasploitModule < Msf::Exploit::Remote
2626
<%= meta[:targets] %>
2727
],
2828
'DefaultTarget' => 0,
29-
'DefaultOptions' => { 'WfsDelay' => <%= meta[:delay] %> }
29+
'DefaultOptions' => { 'WfsDelay' => <%= meta[:wfsdelay] %> }
3030
))
3131

3232
register_options([

0 commit comments

Comments
 (0)