Commit Graph

11869 Commits

Author SHA1 Message Date
Jeffrey Martin f7963106b6 refactor Msf::Post::Process 2021-05-24 18:43:02 -05:00
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
Spencer McIntyre 97ca76038a Revert "Land #15199, Improve the get_processes API"
This reverts commit 0203989821, reversing
changes made to 0ca3dbc831.
2021-05-24 18:21:12 -04:00
Spencer McIntyre 0203989821 Land #15199, Improve the get_processes API 2021-05-24 17:17:16 -04: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
Alan Foster d12a82eb7d Disable wrapped table support for the loot command 2021-05-24 00:37:41 +01: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
cgranleese-r7 a894b8cc29 Updates Python shebangs to Python 3 2021-05-18 12:43:04 +01:00
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
adfoster-r7 ac2c467121 Land #15011, Enhance analyze command API to understand modules' needs 2021-05-14 14:30:33 +01:00
Adam Cammack 4eb27bff31 Fix another typo 2021-05-14 07:10:23 -05:00
Adam Cammack b814aa6c52 Add minor style fixes 2021-05-13 18:35:43 -05:00
Adam Cammack d3170a5d14 Add more no-result messaging for analyze command 2021-05-13 18:31:57 -05:00
Adam Cammack cf993532bd Use correct variable name 2021-05-13 18:01:10 -05:00
adfoster-r7 0f73031833 Land #15165, Add documentation for the new CookieJar functionality 2021-05-12 19:29:21 +01:00
Tim W 6296163195 Fix #15097, fix unreliable sessions -c output 2021-05-08 13:04:29 +01:00
Shelby Pace b9525c581d Land #15102, add GateKeeper Bypass exploit 2021-05-07 09:10:10 -05:00
dwelch-r7 bdf20d77db Land #15149, Ensure cookie jars are correctly duped 2021-05-07 14:51:40 +01:00
A Galway 6b61eed3cd documention 2021-05-07 14:14:46 +01:00
A Galway a22ebdf76d cookie cleanup 2021-05-07 12:46:38 +01:00
Tim W 4192e175d2 fix osx-app exe attributes 2021-05-06 18:20:32 +01:00
Alan Foster 0be7452c28 Ensure cookie jars are correctly duped 2021-05-06 12:11:26 +01:00
Spencer McIntyre 92d981fff2 Land #15111, Fix unreliable sessions -c output
Fixes #15097
2021-05-05 09:27:49 -04:00
Spencer McIntyre 00131a666c Land #15096, Add shell support for win checkvm 2021-05-04 17:32:05 -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
Spencer McIntyre 50c013bcbb Add a compat req and fix railgun mixin references 2021-05-04 09:29:23 -04:00
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
adfoster-r7 6c6d7699ed Land #14831, Add CookieJar support to http_client 2021-04-30 14:08:04 +01:00
dwelch-r7 a3a6c1b903 Land #15000, remove which command in binary_exists? method
remove `which` command in binary_exists? method
2021-04-30 11:24:11 +01:00
Spencer McIntyre fdf6f20e44 Remove the static command maps
I didn't know we had command name maps already defined when I wrote the
class that did it all dynamically. Since it's done though I think it
makes sense to keep the dynamic version to avoid repetition.
2021-04-29 16:26:55 -04:00
Ashley Donaldson fc725e1050 Fix issue in Redis modules when run against authenticated instances.
The named regex capture no longer worked since it was moved into a constant value.
2021-04-29 11:14:47 +10:00
Ashley Donaldson 78295b654b Land #14702, Add module Redis extractor 2021-04-29 11:02:38 +10:00
Tim W 142ba7f123 Fix #15097, fix unreliable sessions -c output 2021-04-28 19:06:29 +01:00
Ashley Donaldson facb6d99c6 Fixed unit test failure 2021-04-28 17:54:19 +10:00
Ashley Donaldson 06f3785ec3 Various changes from code review
* Remove use of member variable for storing state
* Display Redis hashes as Ruby hashes
* Rubifying code
2021-04-28 17:12:56 +10:00
Ashley Donaldson 54923c971b Use new parsing code in most requests in the module 2021-04-28 16:23:19 +10:00
Ashley Donaldson dc24800407 Robustness improvements to Redis extractor module
* Use RESP's information about bulk string and array lengths
* Iterative rather than recursive approach
2021-04-28 11:17:48 +10:00
Spencer McIntyre e6910da0c0 Land #15094, Fix sessions -c to use a subshell
Fixes #15091
2021-04-27 15:51:53 -04:00
adfoster-r7 16923f4962 Land #15042, avoid side effects on db interaction argument hash 2021-04-27 10:26:11 +01:00
Ashley Donaldson a640443cab Land #15014, Added string PKey support for ssh module
Able to specify an individual private key as a string parameter into the module
2021-04-27 15:42:37 +10:00
Spencer McIntyre 31bfd16979 Stop short-circuiting the check for ARCH_CMD
No post module uses ARCH_CMD right now so this is only used by some
local exploits in which case the platform check should still be run.
2021-04-26 15:39:13 -04:00