OJ
afdd75a25c
Update python meterpreter to support 32 bit enc flags
...
Both python3 and python2 tested.
2017-07-03 17:33:08 +10:00
OJ
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
OJ
60c751c27d
Fix py meterp to support python3 when generating raw headers
...
Thanks to @zeroSteiner for this.
2017-06-28 12:54:41 +10:00
OJ
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
OJ
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
OJ
cf575a05dd
Add session GUID support to Meterpreter payloads
2017-06-06 17:24:36 +10:00
Spencer McIntyre
9aac25b522
Fix some more pymet backwards compat issues
2017-04-25 17:05:15 -04:00
Spencer McIntyre
7e06057ca9
Add linux railgun support to the pymet
2017-04-20 13:52:59 -04:00
Spencer McIntyre
b9b7545be0
Improve pymet helper functions
2017-04-19 14:59:53 -04:00
Spencer McIntyre
71132cc00c
Refactor pymet wreg functions and reg decorator
2017-04-19 14:25:07 -04:00
Spencer McIntyre
974fcda43e
Add railgun memread and memwrite for Linux 3.2+
2017-04-19 13:31:14 -04:00
ouahib-el-hanchi
6401c6ae03
Fixed stdapi_fs_mount_show to show full mapped drive path for Windows in Python meterpreter
2017-04-15 02:49:59 +01:00
ouahib-el-hanchi
32faaf5549
Added stdapi_net_config_get_proxy for Windows in Python meterpreter
2017-04-14 07:52:25 +01:00
Ouahib El Hanchi
7db0847d87
Fixed whitespace, can't seem to get them right
2017-04-14 06:44:28 +01:00
ouahib-el-hanchi
dae985f66f
Fixed whitespace and replaced string buffers with unicode buffers for unicode functions
2017-04-14 06:40:45 +01:00
ouahib-el-hanchi
242d2bf936
Added stdapi_sys_eventlog_* functions for Windows
2017-03-25 22:25:13 +00:00
ouahib-el-hanchi
0d58e33f74
Added stdapi_fs_mount_show for Windows
2017-03-19 02:32:45 +00:00
Brent Cook
9367642288
Land #180 , Pymet add stdapi_ui_get_idle_time for Windows
2017-03-17 12:52:19 -05:00
Spencer McIntyre
68a09bb8c3
Pymet add stdapi_ui_get_idle_time for windows
2017-03-04 11:52:49 -05:00
Spencer McIntyre
c9f791bbe3
Pymet add an exported debug function and use it
2017-03-01 21:15:30 -05:00
Spencer McIntyre
96ee7819cc
Fix a couple of bugs for Python 3 railgun
2017-03-01 18:39:23 -05:00
Spencer McIntyre
9cd556e31b
Add pymet api_multi support to railgun
2017-03-01 17:44:45 -05:00
Spencer McIntyre
9ad4f887c0
Free the last error message buffer
2017-02-28 09:08:22 -05:00
Spencer McIntyre
04f6fa04de
Add pymet last error message support to railgun
2017-02-28 09:08:22 -05:00
Spencer McIntyre
5786a9802c
Add pymet railgun api support
2017-02-28 09:08:22 -05:00
Spencer McIntyre
0a515b78e5
Add pymet railgun memread
2017-02-28 09:08:22 -05:00
Spencer McIntyre
77d6ea0161
Add pymet core_native_arch method
2017-02-26 13:15:27 -05:00
bwatters
f736b91531
Land #171 , Python Meterpreter Bug Fixes For Python3 On Windows x64
2017-02-24 19:07:40 -06:00
Spencer McIntyre
e54e35f70d
Fix pymet bugs in getsid and ls for py3 on Windows
2017-02-17 19:51:30 -05:00
Spencer McIntyre
f1be7b2b0b
Refactor pymet for native arch addition
2017-02-17 18:10:57 -05:00
Spencer McIntyre
2f2b0f66ad
Fix a pymet argtypes bug for getuid in py3
2017-02-17 18:09:06 -05:00
Spencer McIntyre
c5a41cfc18
Use old style str formatting for pymet 2.5
2017-02-15 21:11:22 -05:00
Spencer McIntyre
c78eb1d785
Remove an accidential change from debugging
2017-02-14 13:28:50 -05:00
Spencer McIntyre
85c16b04b3
Fix XOR logic for Python3 compatibility
2017-02-14 13:18:57 -05:00
Spencer McIntyre
a79ef8d1f4
Set the system language from $LANG when available
2017-02-09 19:19:11 -05:00
OJ
6872495da6
Remove Migrate TLVs from php/py, adjust for Java
2017-01-24 07:38:59 +10:00
Brent Cook
8e4af5500a
Windows 2016 is released
2016-12-29 13:31:05 -06:00
Spencer McIntyre
261b3b4ceb
Fix Python meterpreter ctypes sysinfo for WOW64
2016-12-11 13:16:00 -05:00
Spencer McIntyre
f114ec5301
Add the system language for windows via ctypes
2016-12-10 17:18:39 -05:00
Spencer McIntyre
29d59cea1d
Use ctypes to get the windows version
2016-12-10 17:03:00 -05:00
Tim
0800265d07
update python stdapi_fs_file_copy to use shutil.copyfile
2016-11-29 19:12:14 +08:00
Tim
db85f099c3
stdapi_fs_file_copy
2016-11-29 13:58:46 +08:00
OJ
7a58d43572
Add response return parameter in fail case
...
This fixes a small issue where Python meterpreter crashes when MSF
(incorrectly) uses a session type that assumes that Python meterpreter
supports compression when it doesn't. The return value for the function
did not include the response parameter, resulting in Python not being
happy when the function returns as the result was being bound to two
values while only returning one.
2016-11-28 09:04:45 +10:00
Brent Cook
75b59d7b0d
Land #145 , switch to ifconfig parsing on OS X
2016-11-17 16:08:06 -06:00
Brent Cook
a98d4fbd52
Revert "Fix python meterp xor ordering"
...
This reverts commit 5c1f729ba3
.
2016-11-17 05:56:28 -06:00
Spencer McIntyre
38a3faa452
Fix an issue with netmask calculations on OSX
2016-11-15 15:24:06 -05:00
Spencer McIntyre
774cbe07a4
Fix regexs for trailing whitespace
2016-11-15 14:34:18 -05:00
Spencer McIntyre
9c8b5342e5
Initial change to ifconfig parsing for OSX
2016-11-15 14:34:18 -05:00
OJ
4d145d78a7
Merge upstream/master into uuid-to-tlv
2016-10-29 15:25:21 +10:00
OJ
70812fd1ce
Remove core_uuid and add core_set_uuid
2016-10-29 12:42:36 +10:00