Add rop_junk and rop_nop
parent
65c96a1f45
commit
636adc81de
|
@ -31,5 +31,13 @@ module Exploit::RopDb
|
|||
return rop_payload
|
||||
end
|
||||
|
||||
def rop_junk
|
||||
rand_text_alpha(4).unpack("V")[0].to_i
|
||||
end
|
||||
|
||||
def rop_nop
|
||||
make_nops(4).unpack("V")[0].to_i
|
||||
end
|
||||
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue