2005-12-17 06:46:23 +00:00
|
|
|
#!/usr/bin/env ruby -I..
|
2005-06-03 04:51:51 +00:00
|
|
|
|
2006-09-01 15:50:10 +00:00
|
|
|
=begin
|
|
|
|
|
|
|
|
The Metasploit Rex library is provided under the 3-clause BSD license.
|
|
|
|
|
2010-04-02 21:34:15 +00:00
|
|
|
Copyright (c) 2005-2006, Rapid7 LLC
|
2006-09-01 15:50:10 +00:00
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without modification,
|
|
|
|
are permitted provided that the following conditions are met:
|
|
|
|
|
|
|
|
* Redistributions of source code must retain the above copyright notice, this
|
|
|
|
list of conditions and the following disclaimer.
|
|
|
|
|
|
|
|
* Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
this list of conditions and the following disclaimer in the documentation
|
|
|
|
and/or other materials provided with the distribution.
|
|
|
|
|
2010-04-02 21:34:15 +00:00
|
|
|
* Neither the name of Rapid7 LLC nor the names of its contributors may be
|
2006-09-01 15:50:10 +00:00
|
|
|
used to endorse or promote products derived from this software without
|
|
|
|
specific prior written permission.
|
|
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
|
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
|
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
|
|
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
|
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
|
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
|
|
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
|
|
|
=end
|
|
|
|
|
2005-06-03 04:51:51 +00:00
|
|
|
require 'test/unit'
|
2005-07-09 21:18:49 +00:00
|
|
|
|
|
|
|
require 'rex/exceptions.rb.ut'
|
|
|
|
require 'rex/transformer.rb.ut'
|
2005-07-10 07:15:20 +00:00
|
|
|
require 'rex/text.rb.ut'
|
2005-11-02 14:18:50 +00:00
|
|
|
require 'rex/file.rb.ut'
|
2005-07-09 21:18:49 +00:00
|
|
|
|
2006-03-08 17:26:35 +00:00
|
|
|
require 'rex/encoder/xdr.rb.ut'
|
|
|
|
|
2005-07-09 21:18:49 +00:00
|
|
|
require 'rex/encoding/xor/generic.rb.ut'
|
|
|
|
require 'rex/encoding/xor/byte.rb.ut'
|
|
|
|
require 'rex/encoding/xor/word.rb.ut'
|
2005-07-09 22:02:57 +00:00
|
|
|
require 'rex/encoding/xor/dword.rb.ut'
|
|
|
|
require 'rex/encoding/xor/dword_additive.rb.ut'
|
2005-07-09 21:18:49 +00:00
|
|
|
|
|
|
|
require 'rex/socket.rb.ut'
|
|
|
|
require 'rex/socket/tcp.rb.ut'
|
|
|
|
require 'rex/socket/ssl_tcp.rb.ut'
|
|
|
|
require 'rex/socket/tcp_server.rb.ut'
|
|
|
|
require 'rex/socket/udp.rb.ut'
|
|
|
|
require 'rex/socket/parameters.rb.ut'
|
|
|
|
require 'rex/socket/comm/local.rb.ut'
|
2005-09-30 05:44:37 +00:00
|
|
|
require 'rex/socket/switch_board.rb.ut'
|
2005-10-27 04:14:45 +00:00
|
|
|
require 'rex/socket/subnet_walker.rb.ut'
|
2005-07-09 21:18:49 +00:00
|
|
|
|
2005-12-02 02:35:30 +00:00
|
|
|
require 'rex/proto.rb.ts'
|
2005-11-24 02:02:10 +00:00
|
|
|
|
2005-07-10 07:15:20 +00:00
|
|
|
require 'rex/parser/arguments.rb.ut'
|
|
|
|
|
2005-07-10 08:33:29 +00:00
|
|
|
require 'rex/ui/text/color.rb.ut'
|
2005-07-09 21:18:49 +00:00
|
|
|
require 'rex/ui/text/table.rb.ut'
|
2005-07-07 14:20:54 +00:00
|
|
|
|
2005-09-25 23:56:11 +00:00
|
|
|
require 'rex/exploitation/egghunter.rb.ut'
|
2008-10-19 21:03:39 +00:00
|
|
|
require 'rex/exploitation/seh.rb.ut'
|