03e3e2066f
Replace StopIteration with return per PEP 479
2019-02-11 15:01:41 -06:00
74ed8ee5b7
Typecast values to prevent incompatibilities in packing them
2019-02-11 10:48:59 -06:00
7e2181700a
update stat struct sizes
2019-02-06 17:51:21 -06:00
2386ce2ca9
fix python meterpreter ls of 4gb files
2019-01-02 19:20:50 +08:00
d90b8327dd
Close proc_h io streams
2018-12-12 19:09:05 -05:00
2b26c69e20
Force Unicode on chmod path
2018-09-24 15:42:20 -05:00
dce10d9c9e
python meterpreter chmod command
2018-09-12 19:27:46 +08:00
6a24c38e2b
Fix unbound UDP sockets by not requiring the peer
2018-04-22 19:45:43 -04:00
e4b2e7f812
Use the proto field from getaddrinfo
2018-04-08 14:27:46 -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
9db18dc8a3
catch termios exceptions
2018-03-09 00:45:01 +08:00
16b82ed9cc
Add the attrib to all file deletes
2018-01-18 12:08:01 -06:00
d9ed8004d8
remove readonly attributes for python meterpreter
2018-01-16 10:35:09 -06: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
e88cb61839
Small python http header fix
2017-09-11 17:20:22 +10:00
e1efa94b06
Transport creation for headers, and starting on python support
2017-09-11 14:39:15 +10:00
b363584648
Merge branch 'upstream/master' into transport-agnostic-packet-encryption
2017-08-08 17:37:25 +10:00
03a88ff4ad
Land #215 - Fix python meterpreter sleep
...
Fixes #202
2017-07-13 07:53:20 +10:00
cbe6f7783c
Land #212 , Add OSX Railgun support to Python Meterpreter
2017-07-11 15:51:32 -05:00
cb8c2fd009
Adjust how trasnport sleep is handled
2017-07-10 20:32:59 -04:00
afdd75a25c
Update python meterpreter to support 32 bit enc flags
...
Both python3 and python2 tested.
2017-07-03 17:33:08 +10:00
8c9c38ba4b
Add export and use a debug_traceback function
2017-06-28 19:44:49 -04:00
eeeecd7234
Fix python3 support for the session GUID header
...
Updates the code so that the GUID is handled as a hex-encoded value,
just like the payload UUID. This avoids what appeared to be encoding
issues when the value was packed into the header, resulting in more than
16 bytes appearing and hence screwing it all up!
2017-06-28 17:57:07 +10:00
60c751c27d
Fix py meterp to support python3 when generating raw headers
...
Thanks to @zeroSteiner for this.
2017-06-28 12:54:41 +10:00
1a0f47603b
Add debgging around get and send packet for pymet
2017-06-27 20:15:04 -04:00
445db818be
Update Python meterpreter's packet header handling
...
This doesn't add AES encryption, just adds support for the new packet
header. AES encryption will come later.
2017-06-26 15:26:27 +10:00
9538e2d03f
Add an option to disable forking in pymet
2017-06-22 10:55:59 -05:00
c320233e86
Try to use find_library for OSX railgun_api
2017-06-21 08:50:57 -04:00
d48b48df94
Implement pymet osx rg api and api_multi
2017-06-19 11:13:42 -04:00
813760a9e2
Remove support for the crypto context
...
Crypto context stuff appears to have only ever been supported in
Meterpreter on Windows. The only thing it allowed for is XOR, which is
redundant given that we have packet level XOR in place. Also, it would
appear that MSF didn't have support for it anyway!
With the move torwards packet-level encryption, this is unnecessary so
it needs to go bye bye.
2017-06-19 16:51:54 +10:00
e0c26186c1
Implement pymet osx rg memread and memwrite
2017-06-15 10:56:47 -04:00
cf575a05dd
Add session GUID support to Meterpreter payloads
2017-06-06 17:24:36 +10:00
9aac25b522
Fix some more pymet backwards compat issues
2017-04-25 17:05:15 -04:00
7e06057ca9
Add linux railgun support to the pymet
2017-04-20 13:52:59 -04:00
b9b7545be0
Improve pymet helper functions
2017-04-19 14:59:53 -04:00
71132cc00c
Refactor pymet wreg functions and reg decorator
2017-04-19 14:25:07 -04:00
974fcda43e
Add railgun memread and memwrite for Linux 3.2+
2017-04-19 13:31:14 -04:00