RageLtMan b60990c19c Use a MockDnsClient object for request state
In order to handle TCP and UDP clients in a common manner, the
DNS server created a Rex::Socket::Udp object to represent the
client object allowing for a client.write(response) approach to
returning results for both TCP and UDP clients. During work on
the common socket abstractions (#6692) it became apparent that
remote pivoted sockets cannot be created with the same exact param
set used on the server socket - sockets dont reuse with localhost
and localport params being the same, an exception is raised from
the Windows side of the pivot abstraction. Creating a new socket
for every request is also needless overhead and noise.

Create the MockDnsClient class to  consume peerhost, peerport, and
the DNS server's UDP socket as arguments in order to execute a
sendto() from the existing socket when sending a response. A write
method is provided in the class for common interface between the
UDP and TCP request handlers.

This has been tested in conjunction with #6692 and shown to be
successful as serving remote requests from the IO.select polled
pivot socket running on a Windows host via Meterpreter.
2017-06-23 19:58:42 -04:00
2017-01-04 14:53:33 -08:00
2017-01-10 14:08:51 -06:00
2017-06-23 19:58:41 -04:00
2014-08-27 14:10:04 -05:00
2017-05-10 23:01:02 -05:00
2017-06-22 12:07:10 -05:00
2017-04-22 02:10:00 +02:00
2017-06-20 14:02:32 -05:00
2013-11-27 16:04:41 +10:00
2016-12-22 00:58:58 -06:00
2014-10-08 10:55:40 -05:00
2014-05-20 10:17:00 -05:00
2014-09-18 15:24:21 -05:00
2017-06-20 14:02:32 -05:00
2014-07-24 13:59:04 -05:00
2016-01-13 10:35:39 -06:00
2017-01-17 12:36:26 +10:00
2017-05-21 15:21:40 +02:00
2017-06-20 14:02:32 -05:00
2017-05-26 23:20:04 -05:00
2017-06-21 03:13:43 -05:00
2015-10-08 14:08:45 -05:00
2015-03-09 00:00:49 -05:00
2017-05-27 00:34:12 -05:00
2017-05-04 10:41:02 -03:00
2017-06-20 14:02:32 -05:00
2017-05-16 15:25:30 -04:00

Metasploit Build Status Code Climate

The Metasploit Framework is released under a BSD-style license. See COPYING for more details.

The latest version of this software is available from: https://metasploit.com

Bug tracking and development information can be found at: https://github.com/rapid7/metasploit-framework

New bugs and feature requests should be directed to: https://r-7.co/MSF-BUGv1

API documentation for writing modules can be found at: https://rapid7.github.io/metasploit-framework/api

Questions and suggestions can be sent to: https://lists.sourceforge.net/lists/listinfo/metasploit-hackers

Installing

Generally, you should use the free installer, which contains all of the dependencies and will get you up and running with a few clicks. See the Dev Environment Setup if you'd like to deal with dependencies on your own.

Using Metasploit

Metasploit can do all sorts of things. The first thing you'll want to do is start msfconsole, but after that, you'll probably be best served by reading Metasploit Unleashed, the great community resources, or the wiki.

Contributing

See the Dev Environment Setup guide on GitHub, which will walk you through the whole process from installing all the dependencies, to cloning the repository, and finally to submitting a pull request. For slightly more information, see Contributing.

S
Description
Metasploit Framework
Readme Multiple Licenses 1.6 GiB
Languages
Ruby 95%
PowerShell 2.7%
C 1.2%
Python 0.4%
HTML 0.2%
Other 0.1%