Commit Graph

83 Commits

Author SHA1 Message Date
sjanusz-r7 3c8f43e23e Align SQL sessions peerhost and peerport 2024-03-04 13:11:32 +00:00
cgranleese-r7 0e9cad6d45 Adds MySQL session type 2024-02-02 14:39:37 +00:00
sjanusz-r7 23a9938283 Add PostgreSQL session type 2024-01-19 10:29:37 +00:00
Grant Willcox 08f07eccb6 Fix initial incorrect parameters in YARD documentation 2023-03-05 20:15:14 -06:00
Christophe De La Fuente 2bf0107865 Update the cmd_exec_with_result documentation 2022-05-24 17:22:07 +02:00
Christophe De La Fuente 5fd18ef864 Fixes from review 2022-05-19 14:54:07 +02:00
Christophe De La Fuente c37387de78 Add #cmd_exec_with_result in lib/msf/core/post/common.rb 2022-05-17 14:52:47 +02:00
sjanusz b54cfee665 Open a new Meterpreter session when trying to upgrade Meterpreter 2022-03-22 14:08:25 +00:00
Tim W a50f39ac12 return super if no session 2022-02-09 10:08:02 +00:00
Tim W 613e06a8df Fix exception in rhost during staging 2022-01-29 07:59:22 +00:00
adfoster-r7 24bf9e5e61 Add Meterpreter compatibility requirements to lib 2021-12-13 11:30:32 +00:00
Spencer McIntyre db8a55436f Update the docs for command_exists? 2021-08-19 14:31:23 -04:00
pingport80 10224a9c8c update regex to string in session type checks 2021-08-19 20:13:27 +05:30
pingport80 077ea6dc79 update common.rb to support powershell session type 2021-08-17 19:45:08 +05:30
cgranleese-r7 9e7859ed25 Reformats some modules so they can be run with new meterpreter_commands_dependencies.rb Rubocop rule 2021-07-23 14:40:19 +01:00
Christophe De La Fuente 1b59b8c83e Rebase and fix conflicts in lib/msf/core/post/common.rb 2021-06-30 11:02:11 +02:00
pingport80 42ce2ae48b enhance command_exists? method 2021-06-03 20:54:25 +05:30
Jeffrey Martin 0cefd8eaa6 refactor post API for process lists 2021-05-24 18:39:16 -05:00
Jeffrey Martin a93813476c Land #15199, into refactor of Msf::Post:Process 2021-05-24 18:36:55 -05:00
Shelby Pace 9f2dae38c8 Land #15079, add meterpreter compat requirements 2021-05-24 16:00:08 -05:00
Spencer McIntyre 525bdb409b Address some style things in #get_processes 2021-05-24 13:43:55 -04:00
Gaurav Purswani 5eeb04b627 Update common.rb 2021-05-23 19:21:00 +05:30
pingport80 57275ee54c guards against nil at various places 2021-05-23 18:47:22 +05:30
pingport80 9921dba735 shift all the things to one block 2021-05-15 00:28:05 +05:30
pingport80 ca803e63c3 improve get_proccesses api and remove pids() method from post/linux/priv 2021-05-14 23:50:50 +05:30
Tim W 6296163195 Fix #15097, fix unreliable sessions -c output 2021-05-08 13:04:29 +01:00
Spencer McIntyre 92d981fff2 Land #15111, Fix unreliable sessions -c output
Fixes #15097
2021-05-05 09:27:49 -04:00
Spencer McIntyre 4f921e46f3 Filter before processing the output 2021-05-04 16:30:19 -04:00
Tim W 5f92746b7d add Process.capture_output 2021-05-04 20:48:58 +01:00
pingport80 0abc1afc24 update has_pid? to use new get_processes 2021-05-05 00:45:30 +05:30
pingport80 57f5adf855 add slicing for meterpreter keys to make it work like shell sessions 2021-05-05 00:35:12 +05:30
pingport80 cd04dac488 remove 'user' key from linux get_processes 2021-05-04 00:15:51 +05:30
pingport80 aa8cc9e100 add get_processes method for linux 2021-05-02 15:04:12 +05:30
pingport80 fd73b03239 add get_processes for windows in common.rb 2021-05-02 14:16:51 +05:30
Tim W 142ba7f123 Fix #15097, fix unreliable sessions -c output 2021-04-28 19:06:29 +01:00
Spencer McIntyre da01a839d1 Set required commands spec for all post mixins 2021-04-26 12:28:18 -04:00
Tim W 31eab90c74 fix mettle cmd_exec 2019-04-18 15:30:26 +08:00
William Vu 62560f9581 Add rudimentary Windows support to command_exists? 2019-01-31 22:07:30 -06:00
William Vu d0d383c8db Move command_exists? to Msf::Post::Common 2019-01-31 22:04:29 -06:00
AlbertoCoding 33e9d1abb0 clear_screen function added 2018-06-21 13:56:32 +02:00
Brent Cook 9eb5700fcb Make shell and meterpreter sessions consistent with cmd_exec
There's no need for different calls in modules, let's remove the need
for cargo culting (if there was one to begin with).
2018-05-17 08:02:34 -05:00
Brent Cook 7ad296d511 bump payloads, fix cmd_exec meterpreter logic 2018-01-21 07:56:24 -06:00
james 9858147dae Add module to detect Docker and LXC containers
Detect Docker by:
 - Presence of .dockerenv file.
 - Finding "docker" in /proc/1/cgroup
Detect LXC by:
 - Finding "lxc" in /proc/1/cgroup
2017-08-05 18:59:36 -05:00
OJ 57eabda5dc Merge upstream/master 2016-10-29 13:54:31 +10:00
OJ 8b97183924 Update UUID to match detected platform, fail exploit on invalid session 2016-10-29 13:45:28 +10:00
OJ 1d617ae389 Implement first pass of architecture/platform refactor 2016-10-28 07:16:05 +10:00
Justin Steven 2ae62cfce1 Fix typo: Use a better adjective 2016-10-16 18:01:42 +10:00
Christian Mehlmauer 3b280d45a4 fix some yardoc issues 2016-04-18 21:00:21 +02:00
jvazquez-r7 6468eb51b2 Do changes to have into account powershell sesions are not cmd sessions 2015-10-02 15:26:42 -05:00
HD Moore d264802ce0 Consistency and API conformance changes to LES 2015-08-21 12:38:58 -05:00