Commit Graph

127 Commits

Author SHA1 Message Date
sjanusz-r7 aac74778b9 Move memory search method to Meterpreter stdapi 2024-01-24 19:53:30 +00:00
Ron Bowes e981dde15f Move the mcp-objects out of the class and into a data/ file (per Jeffrey's request) 2022-11-23 12:49:00 -08:00
Ron Bowes 944fd07502 Add three post-modules and a mixin for communicating with F5's MCP 2022-11-16 12:09:58 -08:00
bwatters 88f14950a0 Land #16688, Add Mimipenguin
Merge branch 'land-16688' into upstream-master
2022-09-19 12:43:16 -05:00
space-r7 065fe425d3 pass in read permissions to process_open() 2022-07-01 13:05:38 -05:00
space-r7 8094c67465 switch to hash, reorder args 2022-07-01 13:05:38 -05:00
Shelby Pace 722241ed3e Update lib/msf/core/post/linux/process.rb
Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>
2022-07-01 12:56:44 -05:00
Shelby Pace 6ffd9a8cfa Update lib/msf/core/post/linux/process.rb
Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>
2022-07-01 12:56:44 -05:00
space-r7 69342f5431 add docs and mixin 2022-07-01 12:56:43 -05:00
Spencer McIntyre 2c323ae4db Move a library function to where it's needed 2022-05-23 12:36:07 -04:00
Tim W 955cc9c986 fix cross compiling 2022-03-09 06:59:25 +00:00
Gaurav Purswani a2219b9568 Merge branch 'master' into check_consistency_post_libs 2021-08-31 19:56:28 +05:30
pingport80 26d1a3d5e0 minor fixes 2021-08-31 19:46:38 +05:30
pingport80 9a03462f02 update some post libs to use library methods defined in file.rb 2021-08-31 19:25:35 +05:30
Grant Willcox 93ad6e4c93 Change unprivileged_bpf_disabled? to use read_file so it will also check if the file exists or not 2021-08-26 14:24:04 -05:00
Brendan Coles 3f5693bdb7 Msf::Post::Linux::Kernel: Check kernel.unprivileged_bpf_disabled for values 1 or 2 2021-08-21 09:29:48 +00:00
Jack Heysel 1a73cfbe25 Updated check method 2021-07-08 16:09:03 -05:00
pingport80 1d47d9e3a4 remove pid() method from post/linux/priv.rb 2021-06-03 21:29:56 +05:30
pingport80 fe8e586b22 fall to shell when meterpreter fails get_processes
shift `pidof` to `Msf::Post::Process`
2021-06-01 18:51:39 +05:30
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
pingport80 ca803e63c3 improve get_proccesses api and remove pids() method from post/linux/priv 2021-05-14 23:50:50 +05:30
Spencer McIntyre fede87ca1f Raise an exception when a wildcard is invalid 2021-04-22 17:57:59 -04:00
Spencer McIntyre 20067d183e Use single quotes for escaping arguments consistently 2021-02-12 08:59:38 -05:00
Spencer McIntyre f31c7846d2 Escape shell arguments even more thoroughly 2021-02-11 12:25:28 -05:00
Spencer McIntyre 6562f309ce Handle whitespace in the target path 2021-02-10 17:40:42 -05:00
Spencer McIntyre 8757eb33fe Add an automatic target that uses version fingerprinting 2021-02-10 16:16:33 -05:00
Spencer McIntyre 7281d00938 Implement feedback from PR review 2021-02-04 09:25:40 -05:00
dwelch-r7 1617b3ec9b Use zeitwerk for lib/msf/core folder 2020-12-07 10:31:45 +00:00
Brendan Coles d986d27218 Remove Msf::Post::Linux::Priv.download_cmd 2020-07-22 15:45:50 +00:00
HacKurx 5630b36d5f Update PaX detection
The use of paxctld makes paxctl unnecessary.
2020-05-01 13:54:08 +00:00
Auxilus 26b2ec3d84 remove spaces at EOL 2020-03-24 18:08:34 +05:30
Tim W d364c22541 fix NameError uninitialized constant Msf::Post::Linux::Compile::Failure 2019-11-13 12:30:02 +08:00
Tim W 8c93b219d1 fix compile.rb and rubocop 2019-10-23 20:54:42 +08:00
Tim 620609c955 Update lib/msf/core/post/linux/compile.rb
Co-Authored-By: bcoles <bcoles@gmail.com>
2019-10-10 13:13:40 +08:00
Tim W ac9b4c137c add compile.rb 2019-09-03 18:46:13 +08:00
Brendan Coles 56bff4f748 Add OpenSUSE detection to Linux system lib 2019-03-13 23:18:54 +00:00
William Vu d0d383c8db Move command_exists? to Msf::Post::Common 2019-01-31 22:04:29 -06:00
William Vu f0aa002009 Land #10119, Linux post-exploitation metashell 2019-01-24 11:24:12 -06:00
William Vu 8b6807254b Fix whoami 2019-01-24 10:57:53 -06:00
Brendan Coles 9ecd22e63c Add Msf::Post::Linux::Kernel.cpu_flags 2019-01-23 11:35:38 +00:00
William Vu 06de16a36f Merge remote-tracking branch 'upstream/master' into pr/10119 2019-01-15 18:33:48 -06:00
William Vu 3bf4726b15 Fix pid_uid 2019-01-15 14:34:29 -06:00
Brendan Coles 80d83720df Add Msf::Post::Linux::Kernel.lkrg_installed? method 2018-12-07 14:42:16 +00:00
Brent Cook f4282bfb56 Land #11064, Add Msf::Post::Linux::Kernel.kernel_config method 2018-12-06 20:52:12 -06:00
Brendan Coles 25e4c4734f return nil rather than empty array 2018-12-05 23:44:13 +11:00
Brendan Coles 9d690f4f8c Add Msf::Post::Linux::Kernel.kernel_config method 2018-12-05 11:19:36 +00:00
Brendan Coles 6040f779c5 Supress 'Permission denied' error in get_suid_files 2018-12-05 00:35:32 +00:00
Brent Cook 042a793648 Land #11050, Add protection checks to Msf::Post::Linux::Kernel lib 2018-12-03 13:16:46 -06:00
Brendan Coles f2b7036e37 Add Openwall detection to Linux system lib 2018-12-03 06:58:19 +00:00