Skip to content

Commit d4b0d24

Browse files
Merge branch 'rapid7:master' into master
2 parents 80485b3 + 60a6658 commit d4b0d24

File tree

2,669 files changed

+141399
-99306
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,669 files changed

+141399
-99306
lines changed

.rubocop.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ require:
2323
- ./lib/rubocop/cop/lint/deprecated_gem_version.rb
2424
- ./lib/rubocop/cop/lint/module_enforce_notes.rb
2525
- ./lib/rubocop/cop/lint/detect_invalid_pack_directives.rb
26+
- ./lib/rubocop/cop/lint/detect_metadata_trailing_leading_whitespace.rb
2627

2728
Layout/SpaceBeforeBrackets:
2829
Enabled: true
@@ -113,6 +114,12 @@ Style/DocumentDynamicEvalDefinition:
113114
Style/EndlessMethod:
114115
Enabled: true
115116

117+
Style/FormatStringToken:
118+
Enabled: true
119+
Exclude:
120+
# We aren't ready to enable this for modules yet
121+
- 'modules/**/*'
122+
116123
Style/HashExcept:
117124
Enabled: true
118125

@@ -152,6 +159,11 @@ Style/RedundantAssignment:
152159
and return expression
153160
Enabled: false
154161

162+
Style/RedundantParentheses:
163+
Description: >-
164+
Disabled as it sometimes improves the readability of code
165+
Enabled: false
166+
155167
Style/RedundantRegexpArgument:
156168
Enabled: true
157169
Exclude:
@@ -661,3 +673,6 @@ Style/UnpackFirst:
661673
Disabling to make it easier to copy/paste `unpack('h*')` expressions from code
662674
into a debugging REPL.
663675
Enabled: false
676+
677+
Lint/DetectMetadataTrailingLeadingWhitespace:
678+
Enabled: true

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.5
1+
3.3.8

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:3.2.5-alpine3.20 AS builder
1+
FROM ruby:3.3.8-alpine3.21 AS builder
22
LABEL maintainer="Rapid7"
33

44
ARG BUNDLER_CONFIG_ARGS="set force_ruby_platform 'true' set no-cache 'true' set system 'true' set without 'development test coverage'"
@@ -24,6 +24,7 @@ RUN apk add --no-cache \
2424
readline-dev \
2525
sqlite-dev \
2626
postgresql-dev \
27+
libffi-dev \
2728
libpcap-dev \
2829
libxml2-dev \
2930
libxslt-dev \
@@ -47,13 +48,13 @@ RUN apk add --no-cache \
4748
ENV GO111MODULE=off
4849
RUN mkdir -p $TOOLS_HOME/bin && \
4950
cd $TOOLS_HOME/bin && \
50-
curl -O https://dl.google.com/go/go1.21.1.src.tar.gz && \
51-
tar -zxf go1.21.1.src.tar.gz && \
52-
rm go1.21.1.src.tar.gz && \
51+
curl -O https://dl.google.com/go/go1.24.0.src.tar.gz && \
52+
tar -zxf go1.24.0.src.tar.gz && \
53+
rm go1.24.0.src.tar.gz && \
5354
cd go/src && \
5455
./make.bash
5556

56-
FROM ruby:3.2.5-alpine3.20
57+
FROM ruby:3.3.8-alpine3.21
5758
LABEL maintainer="Rapid7"
5859
ARG TARGETARCH
5960

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ group :development do
3131
end
3232

3333
group :development, :test do
34+
# For ./tools/dev/update_gem_licenses.sh
35+
gem 'license_finder', '5.11.1'
3436
# running documentation generation tasks and rspec tasks
3537
gem 'rake'
3638
# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the

Gemfile.lock

Lines changed: 43 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
metasploit-framework (6.4.67)
4+
metasploit-framework (6.4.75)
55
aarch64
66
abbrev
77
actionpack (~> 7.1.0)
@@ -38,16 +38,17 @@ PATH
3838
getoptlong
3939
hrr_rb_ssh-ed25519
4040
http-cookie
41-
irb (~> 1.7.4)
41+
irb
4242
jsobfu
4343
json
44+
lru_redux
4445
metasm
4546
metasploit-concern
4647
metasploit-credential
4748
metasploit-model
4849
metasploit-payloads (= 2.0.221)
4950
metasploit_data_models (>= 6.0.7)
50-
metasploit_payloads-mettle (= 1.0.35)
51+
metasploit_payloads-mettle (= 1.0.42)
5152
mqtt
5253
msgpack (~> 1.6.0)
5354
mutex_m
@@ -104,6 +105,7 @@ PATH
104105
sqlite3 (= 1.7.3)
105106
sshkey
106107
swagger-blocks
108+
syslog
107109
thin
108110
tzinfo
109111
tzinfo-data
@@ -243,6 +245,7 @@ GEM
243245
em-socksify (0.3.3)
244246
base64
245247
eventmachine (>= 1.0.0.beta.4)
248+
erb (5.0.1)
246249
erubi (1.13.1)
247250
eventmachine (1.2.7)
248251
factory_bot (6.5.1)
@@ -287,13 +290,22 @@ GEM
287290
concurrent-ruby (~> 1.0)
288291
io-console (0.8.0)
289292
ipaddr (1.2.7)
290-
irb (1.7.4)
291-
reline (>= 0.3.6)
293+
irb (1.15.2)
294+
pp (>= 0.6.0)
295+
rdoc (>= 4.0.0)
296+
reline (>= 0.4.2)
292297
jmespath (1.6.2)
293298
jsobfu (0.4.2)
294299
rkelly-remix
295300
json (2.10.2)
296301
language_server-protocol (3.17.0.5)
302+
license_finder (5.11.1)
303+
bundler
304+
rubyzip (>= 1, < 3)
305+
thor
306+
toml (= 0.2.0)
307+
with_env (= 1.1.0)
308+
xml-simple
297309
lint_roller (1.1.0)
298310
little-plugger (1.1.4)
299311
logger (1.6.6)
@@ -303,6 +315,7 @@ GEM
303315
loofah (2.24.0)
304316
crass (~> 1.0.2)
305317
nokogiri (>= 1.12.0)
318+
lru_redux (1.1.0)
306319
memory_profiler (1.1.0)
307320
metasm (1.0.5)
308321
metasploit-concern (5.0.4)
@@ -339,13 +352,13 @@ GEM
339352
railties (~> 7.0)
340353
recog
341354
webrick
342-
metasploit_payloads-mettle (1.0.35)
355+
metasploit_payloads-mettle (1.0.42)
343356
method_source (1.1.0)
344357
mime-types (3.6.0)
345358
logger
346359
mime-types-data (~> 3.2015)
347360
mime-types-data (3.2025.0304)
348-
mini_portile2 (2.8.8)
361+
mini_portile2 (2.8.9)
349362
minitest (5.25.5)
350363
mqtt (0.6.0)
351364
msgpack (1.6.1)
@@ -386,6 +399,7 @@ GEM
386399
parser (3.3.8.0)
387400
ast (~> 2.4.1)
388401
racc
402+
parslet (1.8.2)
389403
patch_finder (1.0.2)
390404
pcaprub (0.13.3)
391405
pdf-reader (2.14.1)
@@ -395,13 +409,19 @@ GEM
395409
ruby-rc4
396410
ttfunk
397411
pg (1.5.9)
412+
pp (0.6.2)
413+
prettyprint
414+
prettyprint (0.2.0)
398415
prism (1.4.0)
399416
pry (0.14.2)
400417
coderay (~> 1.1)
401418
method_source (~> 1.0)
402419
pry-byebug (3.10.1)
403420
byebug (~> 11.0)
404421
pry (>= 0.13, < 0.15)
422+
psych (5.2.6)
423+
date
424+
stringio
405425
public_suffix (6.0.1)
406426
puma (6.6.0)
407427
nio4r (~> 2.0)
@@ -437,11 +457,14 @@ GEM
437457
rasn1 (0.14.0)
438458
strptime (~> 0.2.5)
439459
rb-readline (0.5.5)
460+
rdoc (6.14.2)
461+
erb
462+
psych (>= 4.0.0)
440463
recog (3.1.14)
441464
nokogiri
442465
redcarpet (3.6.1)
443466
regexp_parser (2.10.0)
444-
reline (0.6.0)
467+
reline (0.6.1)
445468
io-console (~> 0.5)
446469
require_all (3.0.0)
447470
rex-arch (0.1.18)
@@ -475,7 +498,8 @@ GEM
475498
rex-random_identifier
476499
rex-text
477500
ruby-rc4
478-
rex-random_identifier (0.1.15)
501+
rex-random_identifier (0.1.16)
502+
bigdecimal
479503
rex-text
480504
rex-registry (0.1.6)
481505
rex-rop_builder (0.1.6)
@@ -569,8 +593,11 @@ GEM
569593
sqlite3 (1.7.3)
570594
mini_portile2 (~> 2.8.0)
571595
sshkey (3.0.0)
596+
stringio (3.1.1)
572597
strptime (0.2.5)
573598
swagger-blocks (3.0.0)
599+
syslog (0.3.0)
600+
logger
574601
test-prof (1.4.4)
575602
thin (1.8.2)
576603
daemons (~> 1.0, >= 1.0.9)
@@ -580,6 +607,8 @@ GEM
580607
tilt (2.6.0)
581608
timecop (0.9.10)
582609
timeout (0.4.3)
610+
toml (0.2.0)
611+
parslet (~> 1.8.0)
583612
ttfunk (1.8.0)
584613
bigdecimal (~> 3.1)
585614
tzinfo (2.0.6)
@@ -609,9 +638,12 @@ GEM
609638
nori (~> 2.0, >= 2.7.1)
610639
rexml (~> 3.0)
611640
rubyntlm (~> 0.6.0, >= 0.6.3)
641+
with_env (1.1.0)
612642
xdr (3.0.3)
613643
activemodel (>= 4.2, < 8.0)
614644
activesupport (>= 4.2, < 8.0)
645+
xml-simple (1.1.9)
646+
rexml
615647
xmlrpc (0.3.3)
616648
webrick
617649
yard (0.9.37)
@@ -625,6 +657,7 @@ DEPENDENCIES
625657
debug (>= 1.0.0)
626658
factory_bot_rails
627659
fivemat
660+
license_finder (= 5.11.1)
628661
memory_profiler
629662
metasploit-framework!
630663
octokit
@@ -641,4 +674,4 @@ DEPENDENCIES
641674
yard
642675

643676
BUNDLED WITH
644-
2.5.10
677+
2.5.22

0 commit comments

Comments
 (0)