Skip to content

Commit 5058c2d

Browse files
committed
Merge branch 'goliath' into add_https
2 parents f015b92 + 92e4358 commit 5058c2d

File tree

617 files changed

+18352
-2729
lines changed

Some content is hidden

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

617 files changed

+18352
-2729
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ config/database.yml
3434
# target config file for testing
3535
features/support/targets.yml
3636
# simplecov coverage data
37-
coverage
37+
coverage/
3838
doc/
3939
external/source/meterpreter/java/bin
4040
external/source/meterpreter/java/build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ data/meterpreter/ext_server_pivot.*.dll
8888

8989
# local docker compose overrides
9090
docker-compose.local*
91+
.env
9192

9293
# Ignore python bytecode
9394
*.pyc

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ matrix:
2525
jobs:
2626
# build docker image
2727
include:
28-
- env: CMD="docker-compose -f $TRAVIS_BUILD_DIR/docker-compose.yml build" DOCKER="true"
28+
- env: CMD="docker-compose build" DOCKER="true"
2929
# we do not need any setup
3030
before_install: skip
3131
install: skip

Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
FROM ruby:2.4.2-alpine
2-
MAINTAINER Rapid7
2+
LABEL maintainer="Rapid7"
33

44
ARG BUNDLER_ARGS="--jobs=8 --without development test coverage"
55
ENV APP_HOME /usr/src/metasploit-framework/
66
ENV MSF_USER msf
77
ENV NMAP_PRIVILEGED=""
8+
ENV BUNDLE_IGNORE_MESSAGES="true"
89
WORKDIR $APP_HOME
910

10-
COPY Gemfile* m* Rakefile $APP_HOME
11-
COPY lib $APP_HOME/lib
11+
COPY Gemfile* metasploit-framework.gemspec Rakefile $APP_HOME
12+
COPY lib/metasploit/framework/version.rb $APP_HOME/lib/metasploit/framework/version.rb
13+
COPY lib/metasploit/framework/rails_version_constraint.rb $APP_HOME/lib/metasploit/framework/rails_version_constraint.rb
14+
COPY lib/msf/util/helper.rb $APP_HOME/lib/msf/util/helper.rb
1215

1316
RUN apk update && \
1417
apk add \
@@ -45,7 +48,7 @@ RUN apk update && \
4548
RUN adduser -g msfconsole -D $MSF_USER
4649

4750
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which ruby)
48-
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip /usr/bin/nmap
51+
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which nmap)
4952

5053
USER $MSF_USER
5154

Gemfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ group :development do
2323
# module documentation
2424
gem 'octokit'
2525
# Metasploit::Aggregator external session proxy
26-
# Disabled for now for crypttlv updates
27-
# gem 'metasploit-aggregator'
26+
gem 'metasploit-aggregator' if [
27+
'x86-mingw32', 'x64-mingw32',
28+
'x86_64-linux', 'x86-linux',
29+
'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
2830
end
2931

3032
group :development, :test do

0 commit comments

Comments
 (0)