From fe267fb5a663b3f5b7244a416996ae6d86405f7d Mon Sep 17 00:00:00 2001 From: sinn3r Date: Fri, 20 Mar 2015 14:15:14 -0500 Subject: [PATCH] Here's a starting point --- tools/egghunter.rb | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 tools/egghunter.rb diff --git a/tools/egghunter.rb b/tools/egghunter.rb new file mode 100755 index 0000000000..e62dad1fb1 --- /dev/null +++ b/tools/egghunter.rb @@ -0,0 +1,33 @@ +msfbase = __FILE__ +while File.symlink?(msfbase) + msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase)) +end +$:.unshift(File.expand_path(File.join(File.dirname(msfbase), '..', 'lib'))) +require 'msfenv' +require 'rex' +require 'msf/core' +require 'optparse' + +module Egghunter + class Driver < Msf::Auxiliary + include Msf::Exploit::Remote::Egghunter + + def initialize(opts={}) + end + + def run + end + + end +end + + +if __FILE__ == $PROGRAM_NAME + driver = Egghunter::Driver.new + begin + driver.run + rescue Interrupt + $stdout.puts + $stdout.puts "Good bye" + end +end \ No newline at end of file