Skip to content

Commit 080ea3e

Browse files
committed
Merge branch 'staging/great-backport' into feature/MSP-11126/msf-module-reorg
MSP-11126
2 parents 06fbbf7 + 10f3969 commit 080ea3e

File tree

2,818 files changed

+13801
-12157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,818 files changed

+13801
-12157
lines changed

.rspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
--color
22
--format Fivemat
3+
--require spec_helper

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PATH
99
json
1010
metasploit-concern (~> 0.3.0)
1111
metasploit-model (~> 0.28.0)
12-
meterpreter_bins (= 0.0.7)
12+
meterpreter_bins (= 0.0.10)
1313
msgpack
1414
nokogiri
1515
packetfu (= 1.1.9)
@@ -121,11 +121,11 @@ GEM
121121
pg
122122
railties (< 4.0.0)
123123
recog (~> 1.0)
124-
meterpreter_bins (0.0.7)
124+
meterpreter_bins (0.0.10)
125125
method_source (0.8.2)
126126
mime-types (1.25.1)
127127
mini_portile (0.6.0)
128-
msgpack (0.5.8)
128+
msgpack (0.5.9)
129129
multi_json (1.0.4)
130130
network_interface (0.0.1)
131131
nokogiri (1.6.3.1)

lib/msf/core/auxiliary/crawler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def initialize(info = {})
4444
OptString.new('HTTPAdditionalHeaders', [false, "A list of additional headers to send (separated by \\x01)"]),
4545
OptString.new('HTTPCookie', [false, "A HTTP cookie header to send with each request"]),
4646
OptBool.new('SSL', [ false, 'Negotiate SSL for outgoing connections', false]),
47-
OptEnum.new('SSLVersion', [ false, 'Specify the version of SSL that should be used', 'SSL3', ['SSL2', 'SSL23', 'SSL3', 'TLS1']]),
47+
OptEnum.new('SSLVersion', [ false, 'Specify the version of SSL that should be used', 'Auto', ['Auto', 'SSL2', 'SSL23', 'SSL3', 'TLS1']]),
4848
], self.class
4949
)
5050

lib/msf/core/database_event.rb

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Events that can occur in the host/service database.
2+
module Msf::DatabaseEvent
3+
# Called when a new client is added to the database. The client
4+
# parameter is of type Client.
5+
def on_db_client(client)
6+
end
7+
8+
# Called when a new host is added to the database. The host parameter is
9+
# of type Host.
10+
def on_db_host(host)
11+
end
12+
13+
# Called when an existing host's state changes
14+
def on_db_host_state(host, ostate)
15+
end
16+
17+
# Called when a new reference is created.
18+
def on_db_ref(ref)
19+
end
20+
21+
# Called when a new service is added to the database. The service
22+
# parameter is of type Service.
23+
def on_db_service(service)
24+
end
25+
26+
# Called when an existing service's state changes
27+
def on_db_service_state(host, port, ostate)
28+
end
29+
30+
# Called when an applicable vulnerability is found for a service. The vuln
31+
# parameter is of type Vuln.
32+
def on_db_vuln(vuln)
33+
end
34+
end

0 commit comments

Comments
 (0)