Commit Graph

19136 Commits

Author SHA1 Message Date
Spencer McIntyre 2ca6c3d5e5
Land #17027, Add in docs site to banner 2022-09-22 12:21:49 -04:00
Grant Willcox 98aea3f2ae
Land #17002, Msf::Post::Windows: Replace load_extapi with ExtAPI capability check 2022-09-20 13:29:45 -05:00
Grant Willcox 38ab0c6ddd
Redo guard clauses to be more appropriate 2022-09-20 12:23:25 -05:00
Grant Willcox f19cc376d7
Add additional guard checks to libraries to handle edge cases introduced when using shell sessions or other sessions that don't support RailGun. Also import the command definitions so that non-Meterpreter sessions can actually check the command ID's. 2022-09-20 11:45:31 -05:00
adfoster-r7 59923850ee
Land #17036, Set @peer_info in #initialize 2022-09-20 12:02:07 +01:00
bwatters 88f14950a0
Land #16688, Add Mimipenguin
Merge branch 'land-16688' into upstream-master
2022-09-19 12:43:16 -05:00
Spencer McIntyre 6c2b441d10 Fix #16684, Set @peer_info in #initialize
This will fail though if #rstream has already been closed which can be
the case when the socket is serving an HTTP request. This attempts to
proactively cache the information and store it for later use.
2022-09-19 13:28:49 -04:00
Grant Willcox ad697c9f47
Add in docs site to banner 2022-09-19 10:09:48 -05:00
cgranleese-r7 55119aaac7
Land #16940, Rewrite datastore, and add support for option fallback lookups 2022-09-16 14:19:19 +01:00
adfoster-r7 3a281234df
Add feature flagged datastore rewrite, with support for option fallback lookups 2022-09-16 12:59:02 +01:00
Metasploit 31613b9d01
Bump version of framework to 6.2.19 2022-09-15 16:28:10 -05:00
dwelch-r7 cdd9a33151
Land #16998, Fix iax2 module crash 2022-09-15 16:55:09 +01:00
bcoles d476a64262
Msf::Post::Windows: Replace load_extapi with ExtAPI capability check 2022-09-16 00:10:00 +10:00
Spencer McIntyre 37ef992eb7
Land #17018, Add cidr mask defaults to routes
Add cidr mask defaults to the route add command. This fixes a regression
introduced in #9787.

Fixes #17016.
2022-09-15 09:22:45 -04:00
adfoster-r7 c7d92c3ed7
Add cidr mask defaults to route add command 2022-09-14 20:36:54 +01:00
Emilio Panti 228e89497e
Update the RDoc 2022-09-13 09:05:22 +02:00
Emilio Panti a0fbfff731
Update the RDoc 2022-09-13 09:01:04 +02:00
Emilio Panti 6650a8b852
Update rpc_core.rb 2022-09-12 15:16:00 +02:00
bcoles 12e68a05c5
Post::Windows::LDAP: Replace load_extapi with ExtAPI capability check 2022-09-11 22:11:30 +10:00
Grant Willcox 3e8fbb665f
Move meterpreter_service_list to be a private method to align with expectations of when function will be used and to prevent need for adding additional validation code 2022-09-09 12:25:21 -05:00
Grant Willcox e4c7cadc86
Add RuboCop documentation for meterpreter_service_list 2022-09-09 12:25:08 -05:00
adfoster-r7 9519f79524
Fix iax2 module crash 2022-09-09 01:40:04 +01:00
Grant Willcox 51b6d0b596
Tidy up code and fix up some edge cases on data validation. 2022-09-08 16:01:04 -05:00
bcoles fa087768ef
Msf::Post::Windows::Service: Multiple bug and consistency fixes
* Define service types as constants.

* Ensure service startup type is always returned as Integer.

* Check for supported stdapi commands, rather than attempt to load ExtAPI if it is not already loaded.

* Fix a threading issue for Meterpreter sessions when ExtAPI was not loaded, causing inconsistent results with some services missing sometimes.

* Include interactive services (0x110 and 0x120) in service listing.

* Support service listing and service information retrieval for non-Meterpreter sessions.
2022-09-08 16:01:03 -05:00
Spencer McIntyre ec4c45f145
Land #16521, Add custom stage 2022-09-08 14:44:32 -04:00
Metasploit 638c9db7bb
Bump version of framework to 6.2.18 2022-09-08 12:05:06 -05:00
bwatters 9b76ecf6c7
Land #16952, Add methods to retrieve domain / domain controller
Merge branch 'land-16952' into upstream-master
2022-09-08 08:27:55 -05:00
bwatters 07aa024b21
Add custom session types and minor cleanups 2022-09-07 15:43:50 -05:00
bwatters 0279308905
updates per Spencer 2022-09-07 13:19:22 -05:00
husky 8646fd6e39 working on nim shellcode generator 2022-09-07 13:18:18 -04:00
Spencer McIntyre 7b12372d8f
Land #16948, Add arguments for #run_sql
Change mssql.rb to support username, password and database specifications in
2022-09-06 14:34:24 -04:00
Grant Willcox ee664c42ac
Fix logic error in mssql.rb 2022-09-06 13:07:39 -05:00
cgranleese-r7 22187537d9
Land #16861, Fix broken reverse ssh command shell 2022-09-06 11:09:48 +01:00
Grant Willcox c28d172134
Fix review comments 2022-09-02 21:01:05 -05:00
Grant Willcox f99b3bedf0
Convert optional arguments into keyword arguments to allow positioning to be changed without affecting code 2022-09-02 21:01:02 -05:00
Grant Willcox 096cae81d5
Make initial changes to mssql.rb to support username, password and database specifications 2022-09-02 21:01:02 -05:00
Metasploit 9e078420a4
Bump version of framework to 6.2.17 2022-09-02 09:14:48 -05:00
Jake Baines f3efc84a1f
Use start_with instead of starts_with 2022-09-02 06:34:18 -07:00
adfoster-r7 f8e3672082
Land #16926, restrict analyze creds to host workspace 2022-09-02 00:09:35 +01:00
Spencer McIntyre 7113ef7486
Land #16947, Golang formatted byte array support
Golang formatted byte array support payload generation.
2022-09-01 13:21:28 -04:00
ilightthings 6c578d5733 added reference to new gemlock file. 2022-09-01 13:06:39 -04:00
ilightthings e06aac5369 Added golang format support for generating payload 2022-09-01 13:06:39 -04:00
Metasploit 1b2895de13
Bump version of framework to 6.2.16 2022-09-01 12:04:56 -05:00
Grant Willcox a41ec9388f
Land #16725, Add ManageEngine ADAudit Plus and DataSecurity Plus Xnode enum modules, docs and mixin (CVE-2020–11532) 2022-09-01 08:46:36 -05:00
adfoster-r7 b286e85479
Add profiler options to the time command 2022-08-31 20:31:21 +01:00
space-r7 89a6b9e5dd
Land #16869, cleanup file_remote_digest* methods
also add util option for remote file hashing
2022-08-29 13:41:23 -05:00
Spencer McIntyre d5926df2c1
Land #16900, Add kill_process(pid) method 2022-08-29 14:34:16 -04:00
bcoles 15558fe27a
Post::Windows::Accounts: Add get_domain_name method 2022-08-28 23:13:18 +10:00
bcoles 6471ffb225
Post::Windows::Accounts: Add get_primary_domain_controller method 2022-08-28 23:12:15 +10:00
bcoles d457ac768d
Post::Windows::Accounts: Fix domain_controller? for low priv sessions 2022-08-28 23:10:41 +10:00