36 lines
759 B
Ruby
36 lines
759 B
Ruby
##
|
|
# This file is part of the Metasploit Framework and may be subject to
|
|
# redistribution and commercial restrictions. Please see the Metasploit
|
|
# web site for more information on licensing and terms of use.
|
|
# http://metasploit.com/
|
|
##
|
|
|
|
|
|
require 'msf/core'
|
|
|
|
|
|
class Metasploit3 < Msf::Auxiliary
|
|
|
|
include Msf::Exploit::Lorcon2
|
|
include Msf::Auxiliary::Dos
|
|
|
|
def initialize(info = {})
|
|
super(update_info(info,
|
|
'Name' => 'Wireless Test Module',
|
|
'Description' => %q{
|
|
This module is a test of the wireless packet injection system.
|
|
Please see external/ruby-lorcon/README for more information.
|
|
},
|
|
|
|
'Author' => [ 'hdm' ],
|
|
'License' => MSF_LICENSE
|
|
))
|
|
end
|
|
|
|
def run
|
|
open_wifi
|
|
wifi.write("X" * 1000)
|
|
end
|
|
|
|
end
|