Jack Heysel
6e8d0b33df
Land #18191 , Improve post linux checkcontainer
...
This PR adds support for detecting whether a session is
running in a podman container and improves detection for
sessions running in Docker, LXC and WLS containers.
2023-08-08 13:26:01 -04:00
jvoisin
0df2f57124
Fix a typo
2023-07-19 19:47:17 +02:00
Julien Voisin
d5ca174e1e
Apply suggestions from code review
...
Co-authored-by: jheysel-r7 <Jack_Heysel@rapid7.com >
2023-07-19 17:46:27 +00:00
cgranleese-r7
a0f04a7018
Land #17681 , Add datastore option for Jenkins home directory
2023-07-18 14:17:15 +01:00
Joshua Rogers
d9e23a5c67
Update modules/post/multi/gather/jenkins_gather.rb
...
Co-authored-by: cgranleese-r7 <69522014+cgranleese-r7@users.noreply.github.com >
2023-07-18 14:02:27 +02:00
jvoisin
2efcbbb772
Add docker detection via the old .dockerinit file
2023-07-16 18:12:11 +02:00
jvoisin
1f2112c5c1
Add podman detection via an environment variable
2023-07-16 18:11:11 +02:00
jvoisin
f46641f479
Improve LXC detection
...
See https://github.com/silverwind/ansible/commit/d649d24be2ed36ff8da7ecbd57b6bb25a9a3b745
2023-07-16 18:07:59 +02:00
jvoisin
2e26e7c98c
Add detection for WSL
2023-07-16 18:04:12 +02:00
jvoisin
04438920d5
Add Podman detection
...
See https://github.com/containers/podman/issues/3586#issuecomment-661918679
2023-07-16 18:01:06 +02:00
Ashley Donaldson
afe359281c
Remove manual signature handling, and figure it out for the user.
2023-06-28 09:22:01 +10:00
Spencer McIntyre
67f7a33d77
Land #18114 , .NET assembly execution enhancements
...
Allow .NET assembly execution within the meterpreter process
2023-06-27 09:32:43 -04:00
Spencer McIntyre
df0f7de098
Fix an ARGUMENT handling error
...
`datastore['ARGUMENT']` can be `nil` when it's been unset. Avoid an
error when appending it to cln_params by checking that it's present.
2023-06-27 09:29:59 -04:00
Ashley Donaldson
0d0906840e
Fix memory protection bug
2023-06-27 09:59:52 +10:00
Joshua Rogers
cac515b8db
Update jenkins_gather.rb
...
Change the default Windows location to C:\ProgramData\Jenkins\.jenkins\.
2023-06-26 21:27:59 +02:00
Ashley Donaldson
624643be4a
Catch errors and give meaningful error messages
2023-06-25 22:12:22 +10:00
dwelch-r7
d68eb84334
Land #18065 , Updates jenkins_gather module to work with newer version of Jenkins
2023-06-23 10:44:06 +01:00
cgranleese-r7
9176d0d3e0
Updates jenkins_gather to work with newer version of Jenkins
2023-06-23 10:02:03 +01:00
Ashley Donaldson
a7ce4c7fa8
Free memory from the C++ side, rather than the Ruby side.
2023-06-23 09:57:53 +10:00
Ashley Donaldson
461240639c
Check PID validity before getting its bitness
2023-06-22 16:05:48 +10:00
Ashley Donaldson
6e438d338e
Modify execute_dotnet_assembly to run in existing processes (including our own process) and receive output.
2023-06-21 12:04:09 +10:00
bwatters
38f542174d
Land #17336 , A more robust implementation for Windows version comparisons
...
Merge branch 'land-17336' into upstream-master
2023-06-13 15:38:56 -05:00
bwatters
039f238dd4
Land #18068 , Fix VBS stager in shell_to_meterpreter
...
Merge branch 'land-18068' into upstream-master
2023-06-08 19:16:54 -05:00
Spencer McIntyre
5b5c29842c
Land #18022 , Add post/windows/manage/make_token
...
Add update_token to MSF + make_token post-ex module
2023-06-08 14:53:22 -04:00
attl4s
a34c3cf055
linted - all offenses addressed
2023-06-06 09:07:57 +02:00
Ashley Donaldson
61539ac260
Fix VBS stager in shell_to_meterpreter.
2023-06-06 07:23:58 +10:00
Grant Willcox
0d094f8645
Land #17917 , shell_to_meterpreter: Support using bind payloads with PAYLOAD_OVERRIDE
2023-06-05 13:36:30 -05:00
Ashley Donaldson
795980260b
Created mixin to retrieve the architecture of the current shell.
...
Currently only supports Windows, but does work on Win2000 upwards.
2023-06-05 11:10:53 +10:00
adfoster-r7
c6816fceec
Update post agther aws keys to run against linux
2023-06-01 18:19:11 +01:00
attl4s
217df628df
fix getting the username + use Failure::BadConfig instead of NoTarget
2023-05-25 19:05:42 +02:00
attl4s
39b45694af
Update datastore option USER -> USERNAME
...
Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com >
2023-05-25 18:55:49 +02:00
Ashley Donaldson
75ba9110e2
Added module for Windows version comparisons
...
Utilised it in various existing modules - this should fix some subtle bugs in specific modules' version detection.
2023-05-25 14:36:46 +10:00
attl4s
240fd65d0c
module, not exploit
2023-05-24 16:30:38 +02:00
attl4s
623657b072
Logontype changed to OptEnum + better meterpreter session requirement check
2023-05-24 16:28:56 +02:00
attl4s
3a685849a8
add update_token bridge + make_token module
2023-05-24 10:33:52 +02:00
Edmond Major III
d24f5873bd
Update sticky_keys.rb
...
Persistance -> Persistence
Fix a small typo
2023-05-11 12:22:54 -05:00
bcoles
5a57ea131e
resolve_sid: Add docs and resolve RuboCop violations
2023-04-23 17:39:32 +10:00
bcoles
538381bd4d
shell_to_meterpreter: Support using bind payloads with PAYLOAD_OVERRIDE
2023-04-22 15:44:56 +10:00
adfoster-r7
8e2169ed47
Ensure identify hashes helper is accessible to modules
2023-04-12 13:28:56 +01:00
SubcomandanteMeowcos
a54f3d4707
fix broken module references
...
doing these "by domain" now, piecemeal.
this PR fixes all broken references to the "insecurety" website, which is long dead.
2023-04-01 05:17:02 -07:00
adfoster-r7
d6e9e8d3bb
Land #17735 , fix some incorrect YARD parameters
2023-03-22 15:20:12 +00:00
space-r7
9e1be62f06
Land #17462 , add WhatsUp Gold credential extractor
2023-03-17 16:44:17 -05:00
bcoles
f62994b4c0
Add Gather Wowza Streaming Engine Credentials
2023-03-09 01:31:23 +11:00
Grant Willcox
08f07eccb6
Fix initial incorrect parameters in YARD documentation
2023-03-05 20:15:14 -06:00
Spencer McIntyre
26d9026fc2
Fix a filter error
...
When FILTER was nil, the check would fail causing `()` to be appended to
the LDAP query filter which would cause it to fail.
2023-02-24 13:51:58 -05:00
Jack Heysel
9a874c352b
Added missing space in fail_with statement
2023-02-23 20:57:19 -05:00
space-r7
eec73fe394
add module changes
2023-02-23 16:34:43 -06:00
Jack Heysel
5e2f0965f3
Changed print_bad to fail_with
2023-02-23 17:33:52 -05:00
Jack Heysel
8db255288b
Spelling
2023-02-23 16:40:09 -05:00
Jack Heysel
2ed89dda7e
Added nc and python cmd techniques
2023-02-23 16:21:09 -05:00