We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b19f766 commit fe267fbCopy full SHA for fe267fb
tools/egghunter.rb
@@ -0,0 +1,33 @@
1
+msfbase = __FILE__
2
+while File.symlink?(msfbase)
3
+ msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
4
+end
5
+$:.unshift(File.expand_path(File.join(File.dirname(msfbase), '..', 'lib')))
6
+require 'msfenv'
7
+require 'rex'
8
+require 'msf/core'
9
+require 'optparse'
10
+
11
+module Egghunter
12
+ class Driver < Msf::Auxiliary
13
+ include Msf::Exploit::Remote::Egghunter
14
15
+ def initialize(opts={})
16
+ end
17
18
+ def run
19
20
21
22
23
24
25
+if __FILE__ == $PROGRAM_NAME
26
+ driver = Egghunter::Driver.new
27
+ begin
28
+ driver.run
29
+ rescue Interrupt
30
+ $stdout.puts
31
+ $stdout.puts "Good bye"
32
33
0 commit comments