diff --git a/bin/msfrop b/bin/msfrop new file mode 100755 index 0000000..aa4c95e --- /dev/null +++ b/bin/msfrop @@ -0,0 +1,159 @@ +#!/usr/bin/env ruby +# -*- coding: binary -*- +# +# $Id$ +# +# This tool will collect, export, and import ROP gadgets +# from various file formats (PE, ELF, Macho) +# $Revision$ +# + +require 'rex/rop_builder' +require 'rex/text/color' +require 'optparse' + +def opt2i(o) + o.index("0x")==0 ? o.hex : o.to_i +end + +opts = {} +color = true + +opt = OptionParser.new +opt.banner = "Usage #{$PROGRAM_NAME}