Module: Msf::Exploit::Local::CompileC
- Included in:
- Linux, LinuxKernel
- Defined in:
- lib/msf/core/exploit/local/compile_c.rb
Instance Attribute Summary collapse
-
#cparser ⇒ Object
Returns the value of attribute cparser.
-
#cpu ⇒ Object
Returns the value of attribute cpu.
Instance Method Summary collapse
Instance Attribute Details
#cparser ⇒ Object
Returns the value of attribute cparser.
7 8 9 |
# File 'lib/msf/core/exploit/local/compile_c.rb', line 7 def cparser @cparser end |
#cpu ⇒ Object
Returns the value of attribute cpu.
6 7 8 |
# File 'lib/msf/core/exploit/local/compile_c.rb', line 6 def cpu @cpu end |
Instance Method Details
#init_metasm(cpu, cparser = nil) ⇒ Object
14 15 16 17 |
# File 'lib/msf/core/exploit/local/compile_c.rb', line 14 def (cpu, cparser=nil) @cpu = cpu @cparser = cparser || @cpu.new_cparser end |
#setup ⇒ Object
9 10 11 12 |
# File 'lib/msf/core/exploit/local/compile_c.rb', line 9 def setup super (Metasm::Ia32.new) end |