Commit Graph

90 Commits

Author SHA1 Message Date
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
Brendan Coles 0481cbffe6 Add check for Exec-Shield 2018-12-03 03:51:14 +00:00
Brendan Coles d87fef5ee3 Add grsec/PaX checks to Msf::Post::Linux::Kernel lib 2018-12-02 08:11:17 +00:00
Brendan Coles dc125d1dc5 return hostname 2018-12-01 05:20:47 +00:00
Brendan Coles 8f07f299b4 Fix userns_enabled? check for unprivileged_userns_clone 2018-11-25 01:26:49 +00:00
Brendan Coles 08d4e2265d Add CentOS and Alpine Linux detection to Linux system lib 2018-11-06 03:16:07 +00:00
h00die e78b760678 database host info from post modules 2018-10-17 12:43:05 -04:00
Brendan Coles 53a326c743 Cleanup is_root? method for Linux::Priv / Solaris::Priv 2018-09-13 08:54:31 +00:00
AlbertoCoding 8e109b4f20 Some minor fixes 2018-08-14 19:25:20 +02:00
AlbertoCoding 9bf7bec870 Multiple functions to simulate native commands added 2018-08-14 19:14:15 +02:00
AlbertoCoding 5b60a91b66 Style and code optimization changes 2018-07-12 13:54:47 +02:00
AlbertoCoding 667f6cb570 Some minor fixes in pseudo_shell module and priv.rb 2018-06-19 14:30:00 +02:00
AlbertoCoding be1ea1549e Post-exploitation API improvements and pseudo_shell module added 2018-06-19 12:39:41 +02:00
root 6df8e28f7e Some syntax fixes and name changes 2018-06-01 02:06:25 +02:00
root c9a4cc47f7 Initial upload of Vulnerateca Post-Exploitation Framework (VPEF) 2018-05-31 18:05:33 +02:00
Brent Cook dbdb35cf08 Land #9877, Add kernel feature post API methods 2018-04-25 22:18:28 -05:00
Brendan Coles e7b8427b53 Land #9829, add utility functions to Msf::Post::Linux::System
Merge branch 'landing-9829' into upstream-master
2018-04-23 16:46:13 +00:00
Carter Brainerd 055f9ee88b Remove get_listening_ports() 2018-04-22 16:15:33 -04:00
Carter Brainerd 035a6a72f1 Fix undefined method error in get_listening_services 2018-04-21 11:10:01 -04:00
Carter Brainerd 4c6ae0f644 Delete gcc version method
Also rename get_mount_path_of to get_mount_path
2018-04-21 10:24:27 -04:00
Brendan Coles c9fd5a7d2d Add yama_installed?, yama_enabled? and selinux_enforcing? 2018-04-18 07:22:20 +00:00
Carter Brainerd 3da48dbb10 Fix bug caused by last commit 2018-04-17 13:38:38 -04:00
Carter Brainerd 7bfaae0919 Update system.rb
Fix get_listening_ports bug
2018-04-17 13:35:25 -04:00
Carter Brainerd 85b09a162a Add some efficiency improvements 2018-04-17 12:09:46 -04:00
Carter Brainerd d91ef7c9dc Add strip to protected_* methods 2018-04-17 11:04:08 -04:00
Brendan Coles f3ee870d72 Remove selinux_enforcing? method 2018-04-16 12:16:00 +00:00
Brendan Coles 5bc24d048c Remove kaslr_enabled? method 2018-04-16 11:51:15 +00:00
Brendan Coles a1a4c636fb strip 2018-04-16 10:22:41 +00:00
Brendan Coles b5c8b2ed19 Add kaiser_enabled? and kaslr_enabled? methods 2018-04-15 06:53:00 +00:00
Brendan Coles 78daa283c7 Add new methods to Msf::Post::Linux::Kernel lib 2018-04-14 07:33:29 +00:00
cbrnrd bf8c62f27c change if ! to unless 2018-04-12 09:54:57 -04:00
cbrnrd 5923845f68 Merge branch 'post_linux_system_dev' of https://github.com/cbrnrd/metasploit-framework into post_linux_system_dev 2018-04-12 09:16:31 -04:00
cbrnrd 5f725e09db Make nosuid? and noexec? take a filepath as param 2018-04-12 09:15:44 -04:00
thecarterb 0abeb4fee6 Add new functions and fix return bugs attempt 2 2018-04-11 21:52:53 -04:00
thecarterb 892fb70fc6 Revert "Add new functions and fix return bugs"
This reverts commit 1e34a6d3c6.
2018-04-11 21:46:34 -04:00
cbrnrd 1e34a6d3c6 Add new functions and fix return bugs 2018-04-11 10:47:21 -04:00
thecarterb 57e243ac49 Read from /proc/mounts instead of the mount command 2018-04-10 23:20:00 -04:00
cbrnrd 07b3b576f5 Fix parsing in get_cpu_info 2018-04-10 06:03:16 -04:00