Skip to content

Commit 9f299f4

Browse files
committed
Merge branch 'upstream/master' into powershell-meterpreter-bindings
2 parents ce8a6f5 + 75ebd08 commit 9f299f4

File tree

199 files changed

+6669
-3006
lines changed

Some content is hidden

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

199 files changed

+6669
-3006
lines changed

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ m-1-k-3 <m-1-k-3@github> Michael Messner <[email protected]>
114114
Meatballs1 <Meatballs1@github> <[email protected]>
115115
Meatballs1 <Meatballs1@github> <[email protected]>
116116
mubix <mubix@github> Rob Fuller <[email protected]>
117+
net-ninja <[email protected]> Steven Seeley <[email protected]>
117118
nevdull77 <nevdull77@github> Patrik Karlsson <[email protected]>
118119
nmonkee <nmonkee@github> nmonkee <[email protected]>
119120
nullbind <nullbind@github> nullbind <[email protected]>

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ group :development do
1818
gem 'yard'
1919
# for development and testing purposes
2020
gem 'pry'
21+
# module documentation
22+
gem 'octokit', '~> 4.0'
2123
# rails-upgrade staging gems
2224
end
2325

Gemfile.lock

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
metasploit-framework (4.11.16)
4+
metasploit-framework (4.11.20)
55
actionpack (>= 4.0.9, < 4.1.0)
66
activerecord (>= 4.0.9, < 4.1.0)
77
activesupport (>= 4.0.9, < 4.1.0)
@@ -13,18 +13,21 @@ PATH
1313
metasploit-concern
1414
metasploit-credential (= 1.1.0)
1515
metasploit-model (= 1.1.0)
16-
metasploit-payloads (= 1.1.2)
16+
metasploit-payloads (= 1.1.5)
1717
metasploit_data_models (= 1.3.0)
1818
msgpack
1919
network_interface (~> 0.0.1)
2020
nokogiri
21+
octokit
2122
openssl-ccm (= 1.2.1)
2223
packetfu (= 1.1.11)
24+
patch_finder (>= 1.0.2)
2325
pcaprub
2426
pg (>= 0.11)
2527
railties
2628
rb-readline-r7
2729
recog (= 2.0.14)
30+
redcarpet
2831
robots
2932
rubyzip (~> 1.1)
3033
sqlite3
@@ -57,6 +60,7 @@ GEM
5760
multi_json (~> 1.3)
5861
thread_safe (~> 0.1)
5962
tzinfo (~> 0.3.37)
63+
addressable (2.3.8)
6064
arel (4.0.2)
6165
arel-helpers (2.2.0)
6266
activerecord (>= 3.1.0, < 5)
@@ -95,6 +99,8 @@ GEM
9599
factory_girl_rails (4.5.0)
96100
factory_girl (~> 4.5.0)
97101
railties (>= 3.0.0)
102+
faraday (0.9.2)
103+
multipart-post (>= 1.2, < 3)
98104
ffi (1.9.8)
99105
filesize (0.1.1)
100106
fivemat (1.3.2)
@@ -124,7 +130,7 @@ GEM
124130
activemodel (>= 4.0.9, < 4.1.0)
125131
activesupport (>= 4.0.9, < 4.1.0)
126132
railties (>= 4.0.9, < 4.1.0)
127-
metasploit-payloads (1.1.2)
133+
metasploit-payloads (1.1.5)
128134
metasploit_data_models (1.3.0)
129135
activerecord (>= 4.0.9, < 4.1.0)
130136
activesupport (>= 4.0.9, < 4.1.0)
@@ -142,13 +148,17 @@ GEM
142148
msgpack (0.7.4)
143149
multi_json (1.11.2)
144150
multi_test (0.1.2)
151+
multipart-post (2.0.0)
145152
network_interface (0.0.1)
146153
nokogiri (1.6.7.2)
147154
mini_portile2 (~> 2.0.0.rc2)
155+
octokit (4.2.0)
156+
sawyer (~> 0.6.0, >= 0.5.3)
148157
openssl-ccm (1.2.1)
149158
packetfu (1.1.11)
150159
network_interface (~> 0.0)
151160
pcaprub (~> 0.12)
161+
patch_finder (1.0.2)
152162
pcaprub (0.12.1)
153163
pg (0.18.4)
154164
pg_array_parser (0.0.9)
@@ -202,6 +212,9 @@ GEM
202212
rspec-support (3.3.0)
203213
rubyntlm (0.6.0)
204214
rubyzip (1.2.0)
215+
sawyer (0.6.0)
216+
addressable (~> 2.3.5)
217+
faraday (~> 0.8, < 0.10)
205218
shoulda-matchers (2.8.0)
206219
activesupport (>= 3.0.0)
207220
simplecov (0.9.2)
@@ -238,6 +251,7 @@ DEPENDENCIES
238251
factory_girl_rails (~> 4.5.0)
239252
fivemat (~> 1.3.1)
240253
metasploit-framework!
254+
octokit (~> 4.0)
241255
pry
242256
rake (>= 10.0.0)
243257
redcarpet

data/exploits/R7_2015_17/stream.raw

2.44 KB
Binary file not shown.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
This module is a scanner module, and is capable of testing against multiple hosts.
2+
3+
```
4+
msf > use <%= mod.fullname %>
5+
msf <%= mod.type %>(<%= mod.shortname %>) > show options
6+
... show and set options ...
7+
msf <%= mod.type %>(<%= mod.shortname %>) > set RHOSTS ip-range
8+
msf <%= mod.type %>(<%= mod.shortname %>) > exploit
9+
```
10+
11+
Other examples of setting the RHSOTS option:
12+
13+
Example 1:
14+
15+
```
16+
msf <%= mod.type %>(<%= mod.shortname %>) > set RHOSTS 192.168.1.3-192.168.1.200
17+
```
18+
19+
Example 2:
20+
21+
```
22+
msf <%= mod.type %>(<%= mod.shortname %>) > set RHOSTS 192.168.1.1/24
23+
```
24+
25+
Example 3:
26+
27+
```
28+
msf <%= mod.type %>(<%= mod.shortname %>) > set RHOSTS file:///tmp/ip_list.txt
29+
```
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
```
2+
msf > use <%= mod.fullname %>
3+
msf <%= mod.type %>(<%= mod.shortname %>) > run
4+
```
5+
6+
This module is also supported by Browser Autopwn 2.
7+
8+
To load it from Browser Autopwn 2, here's how:
9+
10+
```
11+
msf > use auxiliary/server/browser_autopwn2
12+
msf auxiliary(browser_autopwn2) > set INCLUDE_PATTERN <%= mod.shortname %>
13+
INCLUDE_PATTERN => <%= mod.shortname %>
14+
msf auxiliary(browser_autopwn2) > exploit
15+
```
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
## <%= items[:mod_name] %>
2+
<p>
3+
<%= normalize_description(items[:mod_description]) %>
4+
</p>
5+
6+
## Module Name
7+
8+
<%= Rex::Text.html_encode(items[:mod_fullname]) %>
9+
10+
## Authors
11+
12+
<%= normalize_authors(items[:mod_authors]) %>
13+
14+
<% unless items[:mod_platforms].empty? %>
15+
## Platforms
16+
<%= normalize_platforms(items[:mod_platforms]) %>
17+
<% end %>
18+
19+
## Reliability
20+
21+
<%= normalize_rank(items[:mod_rank]) %>
22+
23+
## Related Pull Requests
24+
25+
<%= normalize_pull_requests(items[:mod_pull_requests]) %>
26+
27+
<% unless items[:mod_refs].empty? %>
28+
## References
29+
30+
<%= normalize_references(items[:mod_refs]) %>
31+
<% end %>
32+
33+
<% if items[:mod_targets] %>
34+
## Available Targets
35+
36+
<%= normalize_targets(items[:mod_targets]) %>
37+
38+
<% end %>
39+
40+
## Required Options
41+
42+
<% if normalize_options(items[:mod_options]).empty? %>
43+
No options required.
44+
<% else %>
45+
<%= normalize_options(items[:mod_options]) %>
46+
<% end %>
47+
48+
## Basic Usage
49+
50+
<%= normalize_demo_output(items[:mod_demo]) %>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
```
2+
msf > use <%= mod.fullname %>
3+
msf <%= mod.type %>(<%= mod.shortname %>) > show targets
4+
... a list of targets ...
5+
msf <%= mod.type %>(<%= mod.shortname %>) > set TARGET target-id
6+
msf <%= mod.type %>(<%= mod.shortname %>) > show options
7+
... show and set options ...
8+
msf <%= mod.type %>(<%= mod.shortname %>) > exploit
9+
```

data/markdown_doc/html_template.erb

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<html>
2+
<head>
3+
<% unless kb.empty? %>
4+
<script>
5+
function showOverview() {
6+
var overview_info_button = document.getElementById('overview_info_button');
7+
overview_info_button.style.borderColor = "#ccc";
8+
overview_info_button.style.color = "#333";
9+
var knowledge_base_button = document.getElementById('knowledge_base_button');
10+
knowledge_base_button.style.borderColor = "#EEEEEE";
11+
knowledge_base_button.style.color = "#C4C4C4";
12+
document.getElementById('knowledge_base').style.display = "none";
13+
document.getElementById('overview_info').style.display = "inline";
14+
}
15+
16+
function showKnowledge() {
17+
var overview_info_button = document.getElementById('overview_info_button');
18+
overview_info_button.style.borderColor = "#EEEEEE";
19+
overview_info_button.style.color = "#C4C4C4";
20+
var knowledge_base_button = document.getElementById('knowledge_base_button');
21+
knowledge_base_button.style.borderColor = "#ccc";
22+
knowledge_base_button.style.color = "#333";
23+
document.getElementById('overview_info').style.display = "none";
24+
document.getElementById('knowledge_base').style.display = "inline";
25+
}
26+
</script>
27+
<% end %>
28+
<style>
29+
<%= load_css %>
30+
</style>
31+
</head>
32+
<body>
33+
<% unless kb.empty? %>
34+
<table border="0">
35+
<tr>
36+
<th>
37+
<div id="overview_info_button" onClick="showOverview()">Overview</a>
38+
</th>
39+
<th>
40+
<div id="knowledge_base_button" onClick="showKnowledge()">Knowledge Base</a>
41+
</th>
42+
</tr></table>
43+
<p></p>
44+
<% end %>
45+
<div id="overview_info">
46+
<%= r.render(md) %>
47+
</div>
48+
<% unless kb.empty? %>
49+
<div id="knowledge_base">
50+
<%= r.render(kb) %>
51+
</div>
52+
<% end %>
53+
</body>
54+
</html>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
```
2+
msf > use <%= mod.fullname %>
3+
msf <%= mod.type %>(<%= mod.shortname %>) > exploit
4+
```

0 commit comments

Comments
 (0)