Fix up php stageless payload includes
parent
d0a5b803e8
commit
5963a5833a
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
require 'msf/core'
|
require 'msf/core'
|
||||||
require 'msf/core/payload/php/send_uuid'
|
require 'msf/core/payload/php/send_uuid'
|
||||||
|
require 'msf/core/payload/uuid_options'
|
||||||
|
|
||||||
module Msf
|
module Msf
|
||||||
|
|
||||||
|
@ -15,6 +16,7 @@ module Msf
|
||||||
module Payload::Php::ReverseTcp
|
module Payload::Php::ReverseTcp
|
||||||
|
|
||||||
include Msf::Payload::Php::SendUUID
|
include Msf::Payload::Php::SendUUID
|
||||||
|
include Msf::Payload::UUIDOptions
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generate the first stage
|
# Generate the first stage
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
require 'msf/core'
|
require 'msf/core'
|
||||||
require 'msf/core/handler/reverse_tcp'
|
require 'msf/core/handler/reverse_tcp'
|
||||||
|
require 'msf/core/payload/php/reverse_tcp'
|
||||||
require 'msf/base/sessions/meterpreter_php'
|
require 'msf/base/sessions/meterpreter_php'
|
||||||
require 'msf/base/sessions/meterpreter_options'
|
require 'msf/base/sessions/meterpreter_options'
|
||||||
|
|
||||||
|
@ -14,6 +15,7 @@ module Metasploit4
|
||||||
CachedSize = 25532
|
CachedSize = 25532
|
||||||
|
|
||||||
include Msf::Payload::Single
|
include Msf::Payload::Single
|
||||||
|
include Msf::Payload::Php::ReverseTcp
|
||||||
include Msf::Sessions::MeterpreterOptions
|
include Msf::Sessions::MeterpreterOptions
|
||||||
|
|
||||||
def initialize(info = {})
|
def initialize(info = {})
|
||||||
|
|
Loading…
Reference in New Issue