Commit Graph

46092 Commits (cc460e5b959f268c18427518afbfb52c006869e5)

Author SHA1 Message Date
James Barnett cd48b47760 Fix failing tests.
-Was accidentally deleting opts[:workspace] instead of processing
-Update notes help text expectations
2018-04-10 17:10:32 -05:00
James Barnett e51f41fa34
Merge remote-tracking branch 'msf_jbarnett/fix_services_bugs' into MS-3062_workspaces 2018-04-10 13:35:33 -05:00
James Barnett f8cbb9d7c0
Update test 2018-04-10 13:14:16 -05:00
Auxilus f1240b0454
resolves #9855 2018-04-10 22:20:27 +05:30
James Barnett 462db05f4c
Re-enable port search functionality 2018-04-10 11:10:32 -05:00
Adam Cammack 4495eea1ca
Land #9836, Force #! for external modules 2018-04-10 11:08:15 -05:00
Adam Cammack 81ec33b0e4
Refactor script path check into base module loader 2018-04-10 11:07:21 -05:00
Brendan Coles 154951cd37
minor update 2018-04-11 01:45:41 +10:00
James Barnett 48c0bbfa7a
Only display the services for a given workspace 2018-04-10 10:28:02 -05:00
Dhiraj Mishra 8be159bdc7
Fixing space-tab mixed 2018-04-10 20:45:38 +05:30
Dhiraj Mishra 7cbba34c83
Parsing IP address only
Changed title name and description, however few things still needs to fix.
2018-04-10 20:32:52 +05:30
Carter Brainerd f54df6aa46
Merge pull request #1 from timwr/land-9784
match newfs_apfs regex
2018-04-10 07:31:12 -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
Tim W ee6f83c281 match newfs_apfs regex 2018-04-10 14:45:14 +08:00
Brent Cook c525bc3c0a
Land #9848, handle 'check' command on modules that do not implement it 2018-04-09 22:27:21 -05:00
scriptjunkie 2ea875d304 Fix issue preventing psexec against non-powershell targets 2018-04-09 22:01:49 -05:00
Aaron Soto b83edc0ff6
Land #9845 Remove temp file after cmd execution 2018-04-09 15:40:19 -05:00
Aaron Soto be18930f12
Cleaned up output, only querying for %WINDIR% if necessary 2018-04-09 15:27:50 -05:00
James Barnett 90542779ff
Audit models to ensure :workspace is passed only when needed 2018-04-09 14:50:37 -05:00
Matthew Kienow 251ee7a9e0
Land #9849, remove dlog filling framework.log 2018-04-09 15:12:19 -04:00
William Vu e17a788ab5 Remove stray dlog filling framework.log 2018-04-09 13:58:10 -05:00
William Vu 924a336287 Fix unsupported check_simple method for modules 2018-04-09 13:43:22 -05:00
Auxilus c07f2f1a09
Update run_as.rb 2018-04-09 21:24:16 +05:30
Auxilus c34b796f13
Remove temp file from dist after cmd execution
https://github.com/rapid7/metasploit-framework/issues/9830
2018-04-09 20:14:01 +05:30
Brent Cook 7b85edfde5
Land #9822, Fix backgrounded aggressive exploits 2018-04-09 09:36:12 -05:00
h00die a473dd04a8
Land #9813, Add etcd library and version scanner 2018-04-08 07:05:31 -04:00
William Vu 5676b73b1e
Land #9839, rex-text 0.2.17 2018-04-08 02:37:02 -05:00
William Vu c8da88b21a Update rex-text to 0.2.17 2018-04-08 02:35:15 -05:00
Brent Cook 07c9be5130
Land #9812, Add Msf::Post::Linux::Kernel lib 2018-04-08 00:40:03 -05:00
Brent Cook 6c8ea2d883 also be sure to load executable modules if they don't have #! 2018-04-07 21:15:51 -05:00
Brent Cook 28ebe9d102 sanity check that external modules start with #! before executing 2018-04-07 16:31:34 -05:00
Brent Cook 07524f3829
Land #9834, add Python UDP channel support 2018-04-07 14:36:32 -05:00
Brent Cook b55eb9b8f2 bump payloads, add Python UDP channel support
This pulls in Python UDP channel support from
https://github.com/rapid7/metasploit-payloads/pull/276
2018-04-07 14:21:30 -05:00
Brent Cook df6de5b1c3 remove self-evident rspec 2018-04-07 13:00:19 -05:00
Brent Cook 6fb6570f99 delete old feature detection code from exploit base
This deletes some old code that apparently has been broken and somewhat unused for many years.

The 'derived_implementor?' method for modules relies on the debug output from Ruby in order to tell of a class implements a method, but the regex it used didn't work properly with any modern Ruby version until 2.5.x. This caused a random sleep to get inserted into certain payload staging operations, which actively breaks staging in certain scenarios (I'm not trying to address that here).

This also removes some ancient module feature detection code, which also is entirely unused today.
2018-04-07 12:47:42 -05:00
thecarterb 3f40f43609 Make final output more readable 2018-04-07 11:05:47 -04:00
cbrnrd 04d5e8a765 Switch text processing to ruby
Also add pidof() and command_exists?()
2018-04-06 23:31:11 -04:00
Brent Cook 3aee44ca1a
Land #9828, fix reverse HTTP/S listeners for the wildcard address 2018-04-06 16:06:51 -05:00
Dhiraj Mishra 201cdfb189
Handling execption by MSFTIDY 2018-04-06 22:54:21 +05:30
scriptjunkie c303859c11 Fix #9827 2018-04-06 11:06:52 -05:00
cbrnrd c97eb42eba Finish up additions and add doc 2018-04-06 12:04:35 -04:00
Brendan Coles 800c471d24
Merge pull request #4 from jhart-r7/pr/fixup-9812
Add Post::Linux::Kernel uname helpers
2018-04-07 01:44:13 +10:00
Dhiraj Mishra 4e6afd49ed
Update browser_getprivateip.rb 2018-04-06 21:10:29 +05:30
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
Dhiraj Mishra f6cfcefbae
Some tweaks suggested by bcoles. 2018-04-06 17:44:43 +05:30
Dhiraj Mishra 582eb2e61c
Create browser_getprivateip.rb 2018-04-06 14:42:57 +05:30