Method: Msf::Payload::Linux::BindTcp#generate_bind_tcp

Defined in:
lib/msf/core/payload/linux/bind_tcp.rb

#generate_bind_tcp(opts = {}) ⇒ Object

Generate and compile the stager



52
53
54
55
# File 'lib/msf/core/payload/linux/bind_tcp.rb', line 52

def generate_bind_tcp(opts={})
  asm = asm_bind_tcp(opts)
  Metasm::Shellcode.assemble(Metasm::X86.new, asm).encode_string
end