Skip to content

Commit 6c65121

Browse files
committed
Merge pull request #1 from tabassassin/retab/pr/1910
Retab/pr/1910
2 parents 1953473 + b720fc2 commit 6c65121

File tree

6,431 files changed

+539957
-953722
lines changed

Some content is hidden

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

6,431 files changed

+539957
-953722
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.bundle
22
# Rubymine project directory
33
.idea
4+
# Sublime Text project directory (not created by ST by default)
5+
.sublime-project
46
# Portable ruby version files for rvm
57
.ruby-gemset
68
.ruby-version
@@ -40,3 +42,5 @@ tags
4042
*.orig
4143
*.rej
4244
*~
45+
# Ignore backups of retabbed files
46+
*.notab

.mailmap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ wchen-r7 <wchen-r7@github> sinn3r <[email protected]>
2727
# periodically. If you're on this list and would like to not be, just
2828
# let [email protected] know.
2929

30+
Brian Wallace <bwall@github> (B)rian (Wall)ace <[email protected]>
31+
Brian Wallace <bwall@github> Brian Wallace <[email protected]>
3032
ChrisJohnRiley <ChrisJohnRiley@github> Chris John Riley <[email protected]>
3133
ChrisJohnRiley <ChrisJohnRiley@github> Chris John Riley <[email protected]>
3234
FireFart <FireFart@github> Christian Mehlmauer <[email protected]>

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,9 @@ Pull requests tend to be very collaborative for Metasploit -- do not be
3636
surprised if your pull request to rapid7/metasploit-framework triggers a
3737
pull request back to your own fork. In this way, we can isolate working
3838
changes before landing your PR to the Metasploit master branch.
39+
40+
To save yourself the embarrassment of committing common errors, you will
41+
want to symlink the `msftidy.rb` utility to your pre-commit hooks by
42+
running `ln -s ../../tools/dev/pre-commit-hook.rb .git/hooks/pre-commit`
43+
from the top-level directory of your metasploit-framework clone. This
44+
will prevent you from committing modules that raise WARNINGS or ERRORS.

COPYING

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ are permitted provided that the following conditions are met:
1111
this list of conditions and the following disclaimer in the documentation
1212
and/or other materials provided with the distribution.
1313

14-
* Neither the name of Rapid7 LLC nor the names of its contributors
14+
* Neither the name of Rapid7, Inc. nor the names of its contributors
1515
may be used to endorse or promote products derived from this software
1616
without specific prior written permission.
1717

@@ -30,7 +30,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3030

3131
The Metasploit Framework is provided under the 3-clause BSD license above.
3232

33-
The copyright on this package is held by Rapid7 LLC.
33+
The copyright on this package is held by Rapid7, Inc.
3434

3535
This license does not apply to several components within the Metasploit
3636
Framework source tree. For more details see the LICENSE file.

Gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,20 @@ gem 'msgpack'
1010
gem 'nokogiri'
1111
# Needed by anemone crawler
1212
gem 'robots'
13+
# Needed by db.rb and Msf::Exploit::Capture
14+
gem 'packetfu', '1.1.8'
1315

1416
group :db do
1517
# Needed for Msf::DbManager
1618
gem 'activerecord'
1719
# Database models shared between framework and Pro.
18-
gem 'metasploit_data_models', '~> 0.14.3'
20+
gem 'metasploit_data_models', '~> 0.16.6'
1921
# Needed for module caching in Mdm::ModuleDetails
2022
gem 'pg', '>= 0.11'
2123
end
2224

2325
group :pcap do
26+
gem 'network_interface', '~> 0.0.1'
2427
# For sniffer and raw socket modules
2528
gem 'pcaprub'
2629
end

Gemfile.lock

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,17 @@ GEM
2323
i18n (0.6.1)
2424
json (1.7.7)
2525
metaclass (0.0.1)
26-
metasploit_data_models (0.14.3)
26+
metasploit_data_models (0.16.6)
2727
activerecord (>= 3.2.13)
2828
activesupport
2929
pg
3030
mocha (0.13.3)
3131
metaclass (~> 0.0.1)
3232
msgpack (0.5.4)
3333
multi_json (1.0.4)
34+
network_interface (0.0.1)
3435
nokogiri (1.5.9)
36+
packetfu (1.1.8)
3537
pcaprub (0.11.3)
3638
pg (0.15.1)
3739
rake (10.0.4)
@@ -65,9 +67,11 @@ DEPENDENCIES
6567
database_cleaner
6668
factory_girl (>= 4.1.0)
6769
json
68-
metasploit_data_models (~> 0.14.3)
70+
metasploit_data_models (~> 0.16.6)
6971
msgpack
72+
network_interface (~> 0.0.1)
7073
nokogiri
74+
packetfu (= 1.1.8)
7175
pcaprub
7276
pg (>= 0.11)
7377
rake

HACKING

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ need user input, you can either register an option or expose an
3737
interactive session type specific for the type of exploit.
3838

3939
3. Don't use "sleep". It has been known to cause issues with
40-
multi-threaded programs on various platforms. Instead, we use
41-
"select(nil, nil, nil, <time>)" throughout the framework. We have
42-
found this works around the underlying issue.
40+
multi-threaded programs on various platforms running an older version of
41+
Ruby such as 1.8. Instead, we use "select(nil, nil, nil, <time>)" or
42+
Rex.sleep() throughout the framework. We have found this works around
43+
the underlying issue.
4344

4445
4. Always use Rex sockets, not ruby sockets. This includes
4546
third-party libraries such as Net::Http. There are several very good

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pull request. For slightly more info, see
4747
[Contributing](https://github.com/rapid7/metasploit-framework/blob/master/CONTRIBUTING.md).
4848

4949

50-
[wiki-devenv]: https://github.com/rapid7/metasploit-framework/wiki/Metasploit-Development-Environment "Metasploit Development Environment Setup"
50+
[wiki-devenv]: https://github.com/rapid7/metasploit-framework/wiki/Setting-Up-a-Metasploit-Development-Environment "Metasploit Development Environment Setup"
5151
[wiki-start]: https://github.com/rapid7/metasploit-framework/wiki/ "Metasploit Wiki"
5252
[wiki-usage]: https://github.com/rapid7/metasploit-framework/wiki/Using-Metasploit "Using Metasploit"
5353
[unleashed]: http://www.offensive-security.com/metasploit-unleashed/ "Metasploit Unleashed"
3.5 KB
Binary file not shown.

data/android/apk/classes.dex

6.68 KB
Binary file not shown.

0 commit comments

Comments
 (0)