Commit Graph

63 Commits

Author SHA1 Message Date
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
cbrnrd 1276960d88 Fix typo in raise call 2018-04-10 05:54:35 -04:00
cbrnrd 0a79c5a15b Add docs to nosuid? 2018-04-10 05:53:19 -04:00
cbrnrd 6e6bc9bc6b Add noexec and nosuid
Also fix some regex bugs
2018-04-10 05:51:57 -04:00
cbrnrd 04d5e8a765 Switch text processing to ruby
Also add pidof() and command_exists?()
2018-04-06 23:31:11 -04:00
cbrnrd c97eb42eba Finish up additions and add doc 2018-04-06 12:04:35 -04:00
Jon Hart 1cc16a55a8 Add other linux kernel post helpers 2018-04-06 08:28:53 -07:00
Brendan Coles ba88118d7a Update kernel_modules method to return Array 2018-04-06 15:02:43 +00:00
thecarterb a85f118bf2 Begin adding functions to Msf::Post::Linux::System 2018-04-05 21:32:58 -04:00
Brendan Coles 499b0a857f Add kernel_modules method 2018-04-05 05:25:36 +00:00
Brendan Coles 6d92c319f8 Add Msf::Post::Linux::Kernel lib 2018-04-04 17:13:49 +00:00
h00die bf731b4f5e look before leap issues 2017-10-09 14:27:09 -04:00
jvazquez-r7 da221b82a8 Initialize dir 2015-09-04 11:07:49 -05:00
jvazquez-r7 8d0e0b973e Fix array syntax 2015-08-28 14:12:23 -05:00
jvazquez-r7 06712817cf Fix specs 2015-08-28 14:06:04 -05:00
jvazquez-r7 9c7f97d124 Fix methods name schema 2015-08-28 13:26:52 -05:00
jvazquez-r7 6a75ad0162 Fix yard documentation 2015-08-28 13:23:30 -05:00
jvazquez-r7 be7db10e7d Fix busybox_write_file 2015-08-28 13:15:07 -05:00
jvazquez-r7 50f7d99674 Clean get_writable_directory 2015-08-28 13:02:10 -05:00
jvazquez-r7 c4a3b4f18e Add busy_box_file_exist? 2015-08-28 11:56:12 -05:00
jvazquez-r7 9db65ea8e5 Change module filename 2015-08-28 11:48:55 -05:00
jvazquez-r7 0a95a1543f Add spaces 2015-08-28 11:47:50 -05:00
jvicente b37efd29b0 Modified module busybox_pingnet.rb to avoid sending an ash script but executing each ping command separately. Added some fixes. Modified spec file for busybox.rb. 2015-08-23 12:17:17 +02:00
jvicente 56db3f2f87 Added YARD comments for busybox mixin. 2015-08-18 21:15:02 +02:00
jvicente a9ad7b7c6f Modifications to use cmd_exec instead of session.shell_write.
Refactoring of common functions to a new Post mixin /lib/msf/core/post/linux/busybox.rb.
2015-08-17 18:24:22 +02:00
Tab Assassin 7e5e0f7fc8 Retab lib 2013-08-30 16:28:33 -05:00
Stephen Haywood b6d64b770a Adding documentation to the post modules library. 2012-08-23 23:57:55 -04:00
HD Moore d656e3185f Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00