1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-08-16 10:50:20 +02:00
Commit Graph

151 Commits

Author SHA1 Message Date
77c9f6c868 Land , fix python meterpreter core_channel_read 2021-10-28 13:45:11 +01:00
46ce044ab3 Don't delete channels when handling dead resources
Deleting the channels when they are dead prevents Metasploit from
reading their streams before closing them.
2021-10-27 15:10:33 -04:00
ac75b00e41 Use string IPs for LOCAL_HOST and PEER_HOST TLVs 2021-10-01 17:07:14 -04:00
c211dd1b3a Support seek and tell for file channels 2021-09-27 17:55:53 -04:00
dc14eada5d Land , Add support for updating terminal size dynamically 2021-09-14 12:37:11 +01:00
798e15d346 Adhere to SYS_PROCESS naming convention 2021-09-01 13:00:08 +01:00
308ef8abff Use terminal rows/column TLVs 2021-08-31 18:53:48 +01:00
2067d7267e Cleanup the process object
When a child process exits, the corresponding object should be closed
and cleanup all of it's streams and threads as necessary.
2021-08-26 18:44:49 -04:00
9a06fb9ff8 Handle missing command ids 2021-08-24 13:47:03 +01:00
28794127c9 Add support for updating terminal size dynamically 2021-08-18 15:14:42 +01:00
a4dc937eff Fix the HTTP transport comm timeout 2021-04-30 15:46:12 -04:00
b911574baf Update log messages to use a consistent case 2021-03-17 10:26:42 -04:00
826b13e184 Skip command IDs that can't be resolved
The channel_open functions are registered in the same ways as functions,
yet are not typical commands so they need to be skipped.
2021-02-11 19:29:16 -05:00
8e3933bed7 Revert "Undo commit for "
This reverts commit 8361d5367a, reversing
changes made to db3d5f0896.
2020-10-11 20:49:06 -05:00
8c5ab95cd2 Revert "Land - Fix missing TLV migration from string to int"
This reverts commit eb1d51b94e, reversing
changes made to b6ce0dff18.
2020-10-11 20:08:15 -05:00
dc2d8026d0 Remove the timeout parameter when running < Python 2.6
The timeout parameter was added to urlopen in Python 2.6, in order for
the reverse_http(s) stagers to work at all on 2.5, this parameter needs
to be omitted.
2020-08-10 14:47:47 -04:00
52ef30b0fd Add authentication support to the Python Meterpreter 2020-08-09 19:32:19 -04:00
3a3003724d Extract the extension name for logging purposes 2020-06-18 15:06:38 -04:00
7d672ce7bf Use DER instead of PEM encoding for RSA keys in Python 2020-06-18 14:34:30 -04:00
538381ba08 Land , Add TLV encryption support to the Python Meterpreter 2020-06-11 11:38:25 -04:00
dee9e10d7e Fix a NameError in _core_enumextcmd 2020-06-09 17:21:56 -04:00
OJ
b37ebe0666 Merge remote-tracking branch 'zs/wip/pr/399' into python-tlv-enc 2020-06-07 09:07:43 +10:00
2165857599 Make some change for Python version compatibility 2020-06-05 12:05:42 -04:00
OJ
2c8ca18d2d Updated with some more comments 2020-06-05 08:41:24 +10:00
OJ
42a785b33f Add RSA encryption support 2020-05-11 19:09:23 +10:00
OJ
bfd6e9af0d Enable encryption of TLV packges with AES
Still need to support RSA encryption of the generated key
2020-05-07 19:37:22 +10:00
OJ
fc0079e98a Update enumeration commands to support the id range 2020-05-01 15:55:43 +10:00
OJ
d3f3a513de Update command id maps for php, java and python 2020-05-01 15:42:45 +10:00
OJ
dc40ddc38d Rename the tcp channel open command in python 2020-04-30 15:57:43 +10:00
OJ
409e6cce6d Update python meterpreter to use UINT command ids
This is based heavily off the work that zeroSteiner did last year.
2020-04-29 16:59:51 +10:00
03e3e2066f Replace StopIteration with return per PEP 479 2019-02-11 15:01:41 -06:00
d90b8327dd Close proc_h io streams 2018-12-12 19:09:05 -05:00
6a24c38e2b Fix unbound UDP sockets by not requiring the peer 2018-04-22 19:45:43 -04:00
408d0ff212 Use getaddrinfo for udp channels too 2018-04-08 12:29:16 -04:00
c9905cd177 Fix IPv6 support by using getaddrinfo 2018-04-08 12:29:16 -04:00
1f953580b1 Fix a bug when accepting a connection 2018-03-29 17:28:34 -04:00
d8d97e55e8 Process channel events with a higher priority 2018-03-19 11:15:23 -04:00
76168ba186 Add and use a new tlv_pack_request function 2018-03-19 10:36:21 -04:00
99aac30459 Add UDP channel support to the python meterpreter 2018-03-18 19:22:08 -04:00
7a3da787b1 Fix bugs introduced by the channel refactoring 2018-03-18 18:13:54 -04:00
38db1218dd Major refactoring for channel objects 2018-03-18 17:31:23 -04:00
8153648aab Refactor socket class names with the family 2018-03-17 19:02:05 -04:00
0e06102549 Add debug statements for channel open dispatching 2018-03-17 18:29:40 -04:00
c373b2fafe fix tabs to spaces 2018-03-09 00:45:42 +08:00
39277d10bc switch to pythonic whitespace 2018-01-09 15:44:54 -05:00
cd433fb2cf Fix meterpreter.py indentation
Commit b5372d2a98 messed up the indentation
(mixing spaces and tabs) for some parts of the code. This commit fixes it.
2018-01-09 10:43:26 +01:00
b9ecf579ef fix scope when a transport has headers 2017-12-20 13:09:23 -06:00
b5372d2a98 on exception from URLLib, don't spin 100% cpu 2017-12-10 11:55:35 -06:00
OJ
e88cb61839 Small python http header fix 2017-09-11 17:20:22 +10:00
OJ
e1efa94b06 Transport creation for headers, and starting on python support 2017-09-11 14:39:15 +10:00