Method: Rex::Poly::Machine#assemble
- Defined in:
- lib/rex/poly/machine/machine.rb
#assemble(asm) ⇒ Object
Use METASM to assemble a line of asm using this machines current cpu.
381 382 383 |
# File 'lib/rex/poly/machine/machine.rb', line 381 def assemble( asm ) return Metasm::Shellcode.assemble( @cpu, asm ).encode_string end |