Skip to content

Instantly share code, notes, and snippets.

@wchen-r7
Created May 11, 2015 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wchen-r7/28e18f2d0a250e0cfcd2 to your computer and use it in GitHub Desktop.
Save wchen-r7/28e18f2d0a250e0cfcd2 to your computer and use it in GitHub Desktop.
##
# This module requires Metasploit: http://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
class Metasploit3 < Msf::Auxiliary
include Msf::Auxiliary::Report
def initialize
super(
'Name' => 'report report_auth_info test',
'Description' => %q{ report_auth_info test },
'Author' => [ 'sinn3r' ],
'License' => MSF_LICENSE
)
end
def run
report_auth_info(
:host => '192.168.1.123',
:port => 80,
:sname => "Fake service",
:user => 'admin',
:pass => 'password',
:active => true
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment