Commit Graph

136 Commits

Author SHA1 Message Date
bcoles 03f4c46010 modules/payloads/singles: Resolve RuboCop violations 2025-04-20 02:57:34 +10:00
Spencer McIntyre f2a723541d Add a test for the python/exec payload 2024-10-04 11:10:50 -04:00
Spencer McIntyre c051ea5a7f Add a python/exec payload to execute OS commands 2024-10-04 10:03:08 -04:00
manishkumarr1017 6030f75b1a fixing indentation for shell reverse tcp payload 2023-06-08 06:52:33 +05:30
manishkumarr1017 d454e23aa0 decoding bytes from all python payloads 2023-06-08 06:44:37 +05:30
manishkumarr1017 f8460dcdd2 PR Review changes for removing platform specific code 2023-06-02 14:50:46 +05:30
manishkumarr1017 bebf8d4db8 changing payload structure of python's reverse_tcp for fixing windows bytes args is not allowed issue 2023-05-29 21:38:16 +05:30
cgranleese-r7 a313e36c1d Fixes linting errors on SCTP payloads 2023-04-12 10:24:19 +01:00
cgranleese-r7 e6c1aecd26 Land #17502, Adds SCTP Sessions 2023-04-12 10:15:43 +01:00
Spencer McIntyre 835f397f79 Add a missing include so the payloads generate 2023-03-21 16:49:25 -04:00
RageLtMan ef53e3c52e Python reverse command shell over SCTP
Implement reverse shell over SCTP in Python.
During testing against Arch Linux with Python 3.10.9, any attempt
to interact with the resulting shell produced:
```
Traceback (most recent call last):
  File "/tmp/shell.py", line 12, in <module>
    so.send(o)
OSError: [Errno 22] Invalid argument
```
Implement handling for OSError 22 on the send() method for the
abnormal stream socket.

Testing:
  Tested against local KVM virtual machine running Arch Linux
2023-02-08 21:47:28 -05:00
Spencer McIntyre 65e4e1b76d Land #17221, Fix crash with payload sizes
Fix crash when generating payload sizes
2022-11-08 10:26:27 -05:00
llamasoft 1a353ee273 Update Python payloads to have dynamic sizes
While the length of the input payload is always the same size,
it may not always have the same contents due to random checksum
URI and UUID generation.  This leads to payloads whose sizes
can vary by a few bytes between runs.
2022-11-05 15:58:10 -04:00
llamasoft d6e9e1508c Compress Python pingback payloads 2022-11-05 15:49:51 -04:00
adfoster-r7 0d9cca79b4 Fix crash when generating payload sizes 2022-11-04 02:10:58 +00:00
Spencer McIntyre 603e710804 Update payloads sizes 2022-10-31 10:35:28 -04:00
llamasoft 13baaad30e Update cached payload sizes 2022-10-26 14:38:06 -04:00
dwelch-r7 0df1f58480 Update cached sizes 2022-05-24 16:04:00 +01:00
adfoster-r7 e7db0aec99 Update meterpreter encryptor loader to support python 3.4 2022-05-05 19:18:20 +01:00
sjanusz b0e4a16fa1 Update cached Python Meterpreter payload sizes 2022-04-12 11:39:56 +01:00
dwelch-r7 2f76a650c1 Updated cached sizes 2022-04-01 11:33:30 +01:00
Spencer McIntyre 5e5c207864 Update metasploit-payloads gem to 2.0.76 2022-03-01 10:01:07 -05:00
Spencer McIntyre 410b276c3f Update metasploit-payloads gem to 2.0.65 2021-12-08 13:19:22 -05:00
Ashley Donaldson 360a0b866a Updated cached sizes because of new UA string 2021-11-10 17:27:02 +11:00
Tim W 1b72d5c143 update payload cached sizes 2021-10-28 14:13:59 +01:00
bwatters b354ea7f58 Update python payload cached sizes 2021-09-29 09:34:16 -05:00
Tim W de398ae61f update payload cached sizes 2021-09-27 15:31:14 +01:00
adfoster-r7 7daec4ab39 Update metasploit payloads version 2021-08-27 12:55:19 +01:00
Spencer McIntyre c03b9d78f3 Update metasploit-payloads gem to 2.0.45 2021-05-03 09:50:41 -04:00
Tim W 39f730d5fb update payloads cached size 2021-03-19 20:34:33 +00:00
Spencer McIntyre 9ef6bf384e Update payload cached sizes 2021-02-19 15:35:36 -05:00
dwelch-r7 bad5ccbc49 Remove msf/base requires 2021-01-05 14:59:46 +00:00
dwelch-r7 49a6b1b257 Remove requires that sneaked in while the PR was up 2020-12-07 11:02:10 +00:00
dwelch-r7 1617b3ec9b Use zeitwerk for lib/msf/core folder 2020-12-07 10:31:45 +00:00
dwelch-r7 c92d97ef7d Add requires for python payloads 2020-11-30 05:36:30 +00:00
Spencer McIntyre 6bdc7a11a3 Tweak the Python single payload descriptions 2020-11-20 16:33:35 -05:00
Tim W 14048fc4f5 fix shell_reverse_udp payload cached size 2020-11-17 18:30:24 +08:00
Tim W 9613897294 fix python/shell_reverse_udp 2020-11-17 17:33:43 +08:00
Tim W 552cd5a2fc python code golf and convert to squiggly heredoc 2020-11-06 14:16:07 +08:00
Tim 856239f2a8 Apply code golf suggestions from acammack
Co-authored-by: acammack-r7 <adam_cammack@rapid7.com>
2020-11-06 12:41:36 +08:00
Tim W 65d1cc568e update compatibility in description 2020-11-05 18:19:05 +08:00
Tim W 06d109d2c5 update payload cached sizes 2020-11-05 18:11:14 +08:00
Tim W 766fbd98aa fix python/shell_bind_tcp on python3 2020-11-05 18:07:28 +08:00
Tim W 41d984e6cc fix #14207, fix python/shell_reverse_tcp on python3 2020-10-30 17:42:57 +08:00
Spencer McIntyre 1b77d01f23 Fix a payload cache size generation issue and bump the gem 2020-09-04 15:43:55 -04:00
Spencer McIntyre dc9764a6ff Bump metasploit-payloads to 2.0.5 and updates payload sizes 2020-06-19 12:20:01 -04:00
Spencer McIntyre 4ce610e423 Bump metasploit-payloads to 2.0.2 and updates payload sizes 2020-06-16 08:58:15 -04:00
Brent Cook 6ec8e942c2 update sizes 2020-06-09 08:59:51 +10:00
Mehmet İnce f174b71549 Recalculate payload cache sizes and update payload format 2020-04-21 16:06:36 +03:00
bwatters-r7 2db93c9051 Land #12002, Feature/reverse ssh
Merge branch 'land-12002' into upstream-master
2020-02-21 09:17:51 -06:00