document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. require \'msf/core\'
  2.  
  3. class Metasploit3 < Msf::Auxiliary
  4.  
  5. def initialize
  6.     super(
  7.     \'Name\'   => \'Auxiliary module example.\',
  8.     \'Version\'    => \'$Revision: 0 $\',
  9.     \'Description\'    => \'Our first Measploit Module.\',
  10.     \'Author\' =>
  11.     [
  12.     \'Roi Mallo\',
  13.     \'Jesús Pérez\'
  14.     ],
  15.     \'License\' => MSF_LICENSE
  16.     )
  17.  
  18.     register_options(
  19.     [
  20.     OptString.new(\'GREETING\', [ true, "Words to say.", "Hi world! ;)" ])
  21.     ], self.class)
  22. end
  23.  
  24. def run()
  25.     puts datastore[\'GREETING\']
  26. end
  27.  
  28. end
');