1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-12-15 02:35:54 +01:00
Commit Graph

83 Commits

Author SHA1 Message Date
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
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
a79ef8d1f4 Set the system language from $LANG when available 2017-02-09 19:19:11 -05: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
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
0cbb86c59b
Add localtime support to php, tidy python and c 2016-10-03 15:26:54 +10:00
OJ
00bebbbd46
Add localtime command to python meterp 2016-10-03 15:26:54 +10:00
Brent Cook
dba1784c10 check if a process still exists before deleting it
patch from 1db376bed8
2015-08-25 18:04:18 -05:00
Jon Cave
387addf846 Pymet fix search_root always being set to '.' 2015-08-15 18:44:26 +01:00
Spencer McIntyre
68db19d3d4 Refactor the pymet to use transport objects 2015-06-26 14:56:31 -04:00
Tim
3d3a2d475d Add TLV_TYPE_FILE_HASH 2015-05-10 14:18:16 +01:00
Brent Cook
5f52fefbef expand glob match 2015-05-04 03:56:15 -05:00
Brent Cook
b85528720b teach pymet how to glob on ls as well 2015-05-04 03:56:14 -05:00
Brent Cook
5e547929be do not die if the uid/gid of a file is > 65535
The meterpreter stat command is a little broken in that it assumes uid/gids
16-bit. Prevent this from erroring with python meterpreter on a system with a
large uid/gid.
2015-03-20 22:34:01 -05:00
Spencer McIntyre
a8d7805644 Pymet support for creating and renaming unicode paths 2015-03-20 08:49:23 -04:00
Spencer McIntyre
bc53c1e843 Pymet improved unicode support for working directories 2015-03-19 18:31:42 -04:00
Spencer McIntyre
c521077984 Fix pymet for unicode files and directories
Closes #4958
2015-03-19 17:23:00 -04:00
Brent Cook
e507c71699 use the correct implementation for query_value_direct 2015-03-03 22:29:23 -06:00
Brent Cook
f3139b9316 add support for direct reg access to pymeterpreter
When testing this, I found that the python meterpreter hangs running the
following, with or without these changes.

```
use exploit/multi/handler
set payload python/meterpreter/reverse_tcp
set PythonMeterpreterDebug true
set lhost 192.168.43.1
exploit -j
sleep 5
use exploit/windows/local/trusted_service_path
set SESSION 1
check
```

This turned out to be that pymeterpreter ate all the rest of the data in the
recv socket by consuming 4k unconditionally. This would only be exposed if
there were multiple simultaneous requests so the recv buffer filled beyond a
single request, e.g. when using the registry enumeration functions.
2015-02-17 06:11:20 -06:00
Spencer McIntyre
ceb6d55837 Remove file exists check from stdapi_fs_delete_file 2014-12-09 11:03:57 -06:00
Spencer McIntyre
07f9d037ad Error messages for the python meterpreter 2014-12-09 11:03:57 -06:00
Spencer McIntyre
e9293ad4ef Fix stdapi_sys_config_getenv for Python3 2014-12-04 15:58:17 -06:00
Spencer McIntyre
f4bd471ee4 Prefer the pwd module for getuid when available 2014-12-04 15:58:17 -06:00
Spencer McIntyre
b5b1c9f832 Fix pymeterp bugs from testing in osx and python3 2014-11-17 14:04:30 -05:00
Spencer McIntyre
bf55d98f32 Escape inserted vars and fix core_loadlib 2014-11-15 15:06:18 -05:00
Spencer McIntyre
bdff25656f Pymet reverse_http stager basic implementation 2014-11-14 14:15:46 -05:00
Spencer McIntyre
2b87421748 Don't fail if username_from_token returns None 2014-11-10 09:15:16 -05:00
Spencer McIntyre
796133af57 Add getsid to the python meterpreter 2014-11-08 20:57:24 -05:00
Spencer McIntyre
0c8babc94e Add sys_process_kill to the python meterpreter 2014-10-07 10:10:22 -04:00