File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
lib/msf/core/payload/windows Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,7 @@ def generate(opts={})
32
32
conf = {
33
33
ssl : opts [ :ssl ] || false ,
34
34
host : datastore [ 'LHOST' ] || '127.127.127.127' ,
35
- port : datastore [ 'LPORT' ] ,
36
- retry_count : datastore [ 'StagerRetryCount' ] ,
37
- proxy_ie : datastore [ 'PayloadProxyIE' ]
35
+ port : datastore [ 'LPORT' ]
38
36
}
39
37
40
38
# Add extra options if we have enough space
@@ -47,6 +45,8 @@ def generate(opts={})
47
45
conf [ :proxy_user ] = datastore [ 'PayloadProxyUser' ]
48
46
conf [ :proxy_pass ] = datastore [ 'PayloadProxyPass' ]
49
47
conf [ :proxy_type ] = datastore [ 'PayloadProxyType' ]
48
+ conf [ :retry_count ] = datastore [ 'StagerRetryCount' ]
49
+ conf [ :proxy_ie ] = datastore [ 'PayloadProxyIE' ]
50
50
else
51
51
# Otherwise default to small URIs
52
52
conf [ :uri ] = generate_small_uri
Original file line number Diff line number Diff line change @@ -33,9 +33,7 @@ def generate(opts={})
33
33
conf = {
34
34
ssl : opts [ :ssl ] || false ,
35
35
host : datastore [ 'LHOST' ] || '127.127.127.127' ,
36
- port : datastore [ 'LPORT' ] ,
37
- retry_count : datastore [ 'StagerRetryCount' ] ,
38
- proxy_ie : datastore [ 'PayloadProxyIE' ]
36
+ port : datastore [ 'LPORT' ]
39
37
}
40
38
41
39
# Add extra options if we have enough space
@@ -48,6 +46,8 @@ def generate(opts={})
48
46
conf [ :proxy_user ] = datastore [ 'PayloadProxyUser' ]
49
47
conf [ :proxy_pass ] = datastore [ 'PayloadProxyPass' ]
50
48
conf [ :proxy_type ] = datastore [ 'PayloadProxyType' ]
49
+ conf [ :retry_count ] = datastore [ 'StagerRetryCount' ]
50
+ conf [ :proxy_ie ] = datastore [ 'PayloadProxyIE' ]
51
51
else
52
52
# Otherwise default to small URIs
53
53
conf [ :uri ] = generate_small_uri
You can’t perform that action at this time.
0 commit comments