Land #10349, deconflict the method names in mix-ins
parent
e075836ad5
commit
28bb518dbd
|
@ -54,8 +54,8 @@ module Payload::Windows::Powershell
|
|||
return "#{cli} \"#{script}\""
|
||||
end
|
||||
|
||||
def generate
|
||||
command_string
|
||||
def command_string
|
||||
powershell_command
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -15,7 +15,7 @@ require 'msf/core/handler/bind_tcp'
|
|||
###
|
||||
module MetasploitModule
|
||||
|
||||
CachedSize = 1518
|
||||
CachedSize = 1703
|
||||
|
||||
include Msf::Payload::Windows::Exec
|
||||
include Rex::Powershell::Command
|
||||
|
@ -53,7 +53,7 @@ module MetasploitModule
|
|||
#
|
||||
# Override the exec command string
|
||||
#
|
||||
def command_string
|
||||
def powershell_command
|
||||
generate_powershell_code("Bind")
|
||||
end
|
||||
end
|
||||
|
|
|
@ -15,7 +15,7 @@ require 'msf/core/handler/reverse_tcp_ssl'
|
|||
###
|
||||
module MetasploitModule
|
||||
|
||||
CachedSize = 1526
|
||||
CachedSize = 1711
|
||||
|
||||
include Msf::Payload::Windows::Exec
|
||||
include Msf::Payload::Windows::Powershell
|
||||
|
@ -53,7 +53,7 @@ module MetasploitModule
|
|||
#
|
||||
# Override the exec command string
|
||||
#
|
||||
def command_string
|
||||
def powershell_command
|
||||
generate_powershell_code("Reverse")
|
||||
end
|
||||
end
|
||||
|
|
|
@ -15,7 +15,7 @@ require 'msf/core/handler/bind_tcp'
|
|||
###
|
||||
module MetasploitModule
|
||||
|
||||
CachedSize = 1518
|
||||
CachedSize = 1786
|
||||
|
||||
include Msf::Payload::Windows::Exec_x64
|
||||
include Rex::Powershell::Command
|
||||
|
@ -53,7 +53,7 @@ module MetasploitModule
|
|||
#
|
||||
# Override the exec command string
|
||||
#
|
||||
def command_string
|
||||
def powershell_command
|
||||
generate_powershell_code("Bind")
|
||||
end
|
||||
end
|
||||
|
|
|
@ -15,7 +15,7 @@ require 'msf/core/handler/reverse_tcp_ssl'
|
|||
###
|
||||
module MetasploitModule
|
||||
|
||||
CachedSize = 1526
|
||||
CachedSize = 1794
|
||||
|
||||
include Msf::Payload::Windows::Exec_x64
|
||||
include Msf::Payload::Windows::Powershell
|
||||
|
@ -53,7 +53,7 @@ module MetasploitModule
|
|||
#
|
||||
# Override the exec command string
|
||||
#
|
||||
def command_string
|
||||
def powershell_command
|
||||
generate_powershell_code("Reverse")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue