Commit Graph

7956 Commits

Author SHA1 Message Date
Joe Vennix cb390bee7d Move comment. 2013-12-18 20:37:33 -06:00
Joe Vennix f411313505 Tidy whitespace. 2013-12-18 20:31:31 -06:00
Joe Vennix 9ff82b5422 Move datastore options to mixin. 2013-12-18 14:52:41 -06:00
Joe Vennix 64273fe41d Move addon datastore options into mixin. 2013-12-18 14:42:01 -06:00
Joe Vennix 1235615f5f Add firefox 15 chrome privilege exploit.
* Moves the logic for generating a firefox addon into its own mixin
* Updates the firefox_xpi_bootstrapped_addon module to use the mixin
* Module only works if you move your mouse 1px in any direction.
2013-12-18 14:30:35 -06:00
Meatballs 3e54379b0e Merge remote-tracking branch 'upstream/master' into wmic_post
Conflicts:
	lib/msf/core/post/windows.rb
2013-12-18 13:40:54 +00:00
Meatballs 687cbe5f60 Shadowcopy should use common wmic command
Small fix to ensure output is retrieved (args -> nil)
Modify shadowcopy to use wmic_query
2013-12-18 13:34:50 +00:00
Meatballs 1dacab6c03 service_restart should allow start_type to be defined 2013-12-18 12:17:24 +00:00
Meatballs c3aee714af shadowcopy should use service_restart 2013-12-18 12:12:34 +00:00
Meatballs 42bc5ab75f Use Services calls in enable_rdp
Update calls to change_service_config to check success
2013-12-18 11:34:12 +00:00
Meatballs 67cb5dad27 Fixes after testing 2013-12-17 23:47:58 +00:00
William Vu 252909a609 Land #2448, @OJ's ReverseListenerBindPort :) 2013-12-17 11:24:09 -06:00
Meatballs 067e6d89bb Use service_restart in IKEEXT and ServicePermissions
Service_restart is aggressive so should attempt to leave as Auto
2013-12-17 17:21:35 +00:00
Meatballs ba335d6c91 Update Service Tests
And small fixes
2013-12-17 14:03:19 +00:00
Meatballs 70caacd631 Corrections to service_handle 2013-12-17 12:21:20 +00:00
Meatballs ca90815fb3 Ensure all handles are closed
And stop repeating the adv definition
2013-12-17 12:15:59 +00:00
Meatballs a33721f444 service_change_config keys should match extapi 2013-12-17 01:48:09 +00:00
Meatballs 484bf2f8fc close_service_handle 2013-12-17 01:02:35 +00:00
Meatballs 560080fa21 Update start_service return value
Add service_restart
2013-12-17 00:43:35 +00:00
Meatballs f39bc0b07a Update service_stop return 2013-12-17 00:22:37 +00:00
Meatballs 6ee1a9c6e1 Fix duplicate error 2013-12-17 00:11:37 +00:00
Meatballs f58a26033a Add missing underscore 2013-12-17 00:10:15 +00:00
Meatballs 19c2ac9a6b Fix duplicate error 2013-12-17 00:09:58 +00:00
Meatballs 45a03cc805 Use Error mixin 2013-12-17 00:03:10 +00:00
Meatballs d82f993a02 Merge branch 'windows_error_constants' into extapi_service_post
Conflicts:
	lib/msf/core/post/windows.rb
2013-12-17 00:01:06 +00:00
Meatballs 2fafdcbb89 Use railgun string constants
Remove unnecessary constants
Bit of tidying
2013-12-16 23:59:51 +00:00
Meatballs 06b399ee30 Remove ERROR_
To access as Error::NO_ACCESS
2013-12-16 19:52:11 +00:00
Meatballs 08a44fdfb7 Filename match module 2013-12-16 19:48:17 +00:00
Meatballs 57f2027e51 Move to module 2013-12-16 19:45:52 +00:00
Meatballs fd19881433 Docs 2013-12-16 19:39:36 +00:00
Meatballs c9084bd2d5 Remove errant fullstops 2013-12-16 18:53:37 +00:00
Meatballs 75c87faaf8 Add Windows Error Codes to Windows Post Mixin 2013-12-16 18:50:18 +00:00
Meatballs 5be9622782 Tidy and constants 2013-12-16 18:35:24 +00:00
Meatballs 435cc9b93f Add single quote encapsulation
For WMI and psh_web_delivery
2013-12-16 15:13:13 +00:00
Meatballs b252e7873b Merge remote-tracking branch 'upstream/master' into pr2075 2013-12-16 14:29:05 +00:00
Meatballs c97e8d3817 Return hash for service_info and use ErrorMessage 2013-12-15 17:59:57 +00:00
Meatballs ca4e35d949 Use ErrorMessage in check_dir_perms 2013-12-15 17:57:51 +00:00
Meatballs 8c800b8596 check_dir_perms fix return nil 2013-12-15 17:18:32 +00:00
Meatballs d9ce80d4d0 Add service_change_config 2013-12-15 04:00:27 +00:00
Meatballs d71e67e5f4 Rename file should return some indication of success 2013-12-15 03:28:28 +00:00
Meatballs ddf23ae8e8 Refactor service_list to return array of hashes
Update trusted_service_path, service_permissions,
net_runtime_modify and enum_services to handle change.

Refactor enum_services to tidy it up a bit
2013-12-15 03:00:29 +00:00
Meatballs 6763d1fbd8 Refactor services for extapi 2013-12-15 02:09:25 +00:00
Meatballs be68a64f9b Remove wmic reference 2013-12-15 02:09:07 +00:00
Meatballs 77dd7ec290 Include ExtAPI Mixin
Move ExtAPI above services require
2013-12-15 01:32:58 +00:00
Meatballs 819ba30a33 msftidy
Conflicts:
	lib/msf/core/post/windows/services.rb
2013-12-15 01:12:46 +00:00
Meatballs a930056d7f Added service status checks to Post::Windows::Services
Added QueryServiceStatus to Railgun Advapi32 Definitions
Added Checks to module

Conflicts:
	lib/msf/core/post/windows/services.rb
	lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_advapi32.rb
2013-12-15 01:12:45 +00:00
Meatballs 284a45a6c5 Convert UTF16 to ASCII 2013-12-14 22:58:16 +00:00
Meatballs e46b5c9d55 Revert to file io if no EXTAPI 2013-12-14 22:46:22 +00:00
Meatballs ca5ee7e156 Load extapi before wmic 2013-12-14 22:45:56 +00:00
Meatballs b532987b8f Re-add file out to wmic_command 2013-12-14 20:58:33 +00:00