adfoster-r7
2388f7e6c4
Land #17054 , Fix Adapted Single (Unstaged) Payloads
2022-09-27 11:54:04 +01:00
adfoster-r7
c436f42c8c
Land #16994 , Fix Multiple Registry Related Issues
2022-09-27 11:43:02 +01:00
Metasploit
b1a6d9d307
Bump version of framework to 6.2.20
2022-09-23 08:09:46 -05:00
adfoster-r7
5e2a6c9dba
Land #17015 , improve http login result checks
2022-09-23 01:28:59 +01:00
Jeffrey Martin
aeff76e0ca
update set_sane_defaults
2022-09-22 18:48:49 -05:00
Jeffrey Martin
96d291121b
use model validator instead of setup check
2022-09-22 14:49:09 -05:00
Spencer McIntyre
59570336bd
Don't call #generate_stage in single payloads
...
Single payloads should be using #generate because they are not staged.
2022-09-22 14:45:54 -04:00
Spencer McIntyre
2ca6c3d5e5
Land #17027 , Add in docs site to banner
2022-09-22 12:21:49 -04:00
Spencer McIntyre
095a861783
Convert REG_DWORD and REG_QWORD values to integers
2022-09-21 17:14:47 -04:00
Spencer McIntyre
0c5377b808
Consolidate registry value conversion logic
2022-09-21 09:06:58 -04:00
Spencer McIntyre
d82774be59
Test and handle REG_QWORD
2022-09-20 16:31:54 -04:00
Spencer McIntyre
2654752585
Fix REG_EXPAND_SZ correctly
2022-09-20 16:31:47 -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
Jeffrey Martin
581aa2c34a
enable user defined accepted repsonse codes
...
* login scanner object expects an array of codes and set defaults
* login scanner limits response codes to 2XX and 3XX code
* parsing to convert OptString is handle in the consuming module
2022-09-16 12:21:14 -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
Jeffrey Martin
bc948d0412
allows redirect on login as success with http
2022-09-14 14:50:10 -05:00
adfoster-r7
c7d92c3ed7
Add cidr mask defaults to route add command
2022-09-14 20:36:54 +01:00
Jeffrey Martin
b0cffad7b9
improve login result checks
...
When a login to a remote http service response returns a 3XX response code
consider the authentication to have been successful.
2022-09-13 16:58:36 -05: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
Spencer McIntyre
61a2bde27d
Fix and test writing REG_EXPAND_SZ values
2022-09-08 12:18:28 -04: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
eaf149ac21
Add a missing type to #type_to_s
2022-09-07 11:52:12 -04:00
Spencer McIntyre
e75429a434
Handle nil from shell_registry_getvalinfo
2022-09-07 11:19:56 -04:00
Spencer McIntyre
f37fdb994c
Fix handling non-existant keys for Powershell
...
Powershell returns an empty string instead of `Error:` so when the
response doesn't match the expected pattern, treat it as not existing
and return nil. This is probably for the best since the string `Error:`
may be different on systems with a none English based locale.
2022-09-07 09:48:01 -04:00
Spencer McIntyre
fb23d492a9
Fix shell registry commands
...
This fixues up the commands to pass the unit tests and addresses a few
inconsistencies.
2022-09-06 16:53:36 -04:00
Spencer McIntyre
f1a7be6c49
Fix how REG_MULTI_SZ is handled
2022-09-06 16:53:30 -04:00