Commit Graph

13785 Commits

Author SHA1 Message Date
Alan Foster f8523cb3e2 Add additional tests for edge cases 2020-08-19 09:37:03 +01:00
dwelch-r7 e7061439ef Adds rhost url support behind a feature flag
Tidy up test

Return a string instead of a URI object

Code review comments

Rubcocop
2020-08-18 12:25:27 +01:00
Christophe De La Fuente 4e7a609976 Merge remote-tracking branch 'upstream/master' into windows_secretsdump 2020-08-17 15:05:49 +02:00
Brendan Coles 62a912d475 Msf::Post::File.file_local_write: Use Rex::FileUtils.clean_path(local_file_name) 2020-08-17 09:50:42 +00:00
Pearce Barry db38cce8d6 Land #14002, Fix payloads not being encoded in exploits when BadChars contains whitespace 2020-08-14 21:19:44 -05:00
William Vu d1cdd2cd57 Fix encoding when BadChars contains whitespace 2020-08-14 19:57:09 -05:00
Spencer McIntyre 2c8b01dbec Land #13951, Update payload_generator.rb to properly check if payload_module is nil 2020-08-14 18:43:31 -04:00
gwillcox-r7 9baeca3c2c Fix code to check if payload_module is blank, as this is the true fix here 2020-08-14 16:23:15 -05:00
Jeffrey Martin d3c04b13dc Land #13968, Add a method for SQL injections where query output is not needed, and read_from_file support for MySQLi 2020-08-14 15:44:53 -05:00
Alan Foster baa33df45d Always use module cache for searching 2020-08-14 19:14:54 +01:00
Michael-ZecOps 5877c79538 Force stack alignment 2020-08-14 01:16:20 +03:00
gwillcox-r7 c79f293e52 Land #13846, Add support for import Nmap vulners script output 2020-08-13 12:21:31 -05:00
Christophe De La Fuente b79a441a16 Update Windows registry parser library
- rename it and move it to lib/msf/util/windows_registry_parser.rb
- refactor some statements
- raise ArgumentError when the sub-keys are not the expected one
- add logic for the RI records
2020-08-13 17:47:51 +02:00
Christophe De La Fuente 24d002b9e0 Fix Msf::Post::Windows::Priv#decrypt_secret_data
Fix the size caclculation of the decrypted data
2020-08-13 17:47:50 +02:00
Christophe De La Fuente 6656376a41 Small fixes in RegistryParser library 2020-08-13 17:47:50 +02:00
Christophe De La Fuente 0ce7ee6acd Add registry_parser library 2020-08-13 17:47:50 +02:00
gwillcox-r7 2305da2638 Land #13969, Fix stall due to bad logic within scanner.rb 2020-08-12 16:57:01 -05:00
Spencer McIntyre cc21e5e50d Validate the PE file early on to raise errors 2020-08-12 17:32:12 -04:00
gwillcox-r7 9f17dda98c Land #13988, Ignore tests/specs when reloading files 2020-08-12 14:18:59 -05:00
bwatters af62fb48fa Land #13965, Networking Scripts w/o DB
Merge branch 'land-13965' into upstream-master
2020-08-12 12:52:01 -05:00
Alan Foster 5970984563 Ignore tests when reloading files 2020-08-12 17:10:08 +01:00
Spencer McIntyre e65fa7eb26 Fix the Metasm architecture issue 2020-08-12 10:43:51 -04:00
Ege Balcı 65643ff40c Reflective PE Payloads Added 2020-08-12 14:38:56 +03:00
gwillcox-r7 2007583c29 Land #13238, Replace exit calls in bind_named_pipe handler with Thread.exit calls 2020-08-11 14:09:39 -05:00
gwillcox-r7 0882b62cf6 Replace return with Thread.exit call and interrupt_wait_for_session 2020-08-11 14:08:26 -05:00
gwillcox-r7 4cbf4d9301 Land #13975, Fixes for bug #13956 2020-08-11 13:48:17 -05:00
Spencer McIntyre e21cf15854 Land #13778, [GSOC 2020] - EV1 - Conditionality system for module options 2020-08-11 13:31:12 -04:00
Spencer McIntyre b55f5f12aa Adjust some whitespace and comments for option conditions 2020-08-11 13:30:27 -04:00
gwillcox-r7 c35950c2c5 Update one of the messages so we can identify it easier when we review the output of this module, and add in @bcoles's Errno:ECONNRESET recommendation 2020-08-11 11:59:10 -05:00
Michael-ZecOps f043e4b9b4 More space optimization while at it 2020-08-11 00:45:24 +03:00
Michael-ZecOps 10a0d43da4 Fixed segment_injector.rb x64 shellcode 2020-08-11 00:16:57 +03:00
Spencer McIntyre 7ffbecefa6 The HttpProxyType option is not support for Python so deregister it 2020-08-10 14:52:18 -04:00
Spencer McIntyre 48e0610bae Add authentication support to the Python Meterpreter 2020-08-10 13:24:55 -04:00
Robin 92e0522524 Fixes for bug #13956 2020-08-10 16:31:11 +01:00
HynekPetrak 59cfb3cc3a fix stall in scanner for modules with non equal duration 2020-08-09 23:05:50 +00:00
Niboucha Redouane 812a0b78e2 Fix write_to_file, and add read_from_file support for MySQL 2020-08-09 19:23:22 +02:00
María Belén Tualombo Chimbo 11913f3b1e Old file deleted and reference updated 2020-08-09 12:37:42 -04:00
h00die 97a700fafc fix #13962 2020-08-09 09:41:40 -04:00
bwatters 231ad83773 Land #13860,Mikrotik Processing
Merge branch 'land-13860' into upstream-master
2020-08-07 14:48:22 -05:00
Alan Foster a1d7bb62a9 Add feature configuration persistence 2020-08-07 16:42:57 +01:00
Alan Foster d417f43b8d Add WrappedTable support with feature flag integration 2020-08-07 16:42:54 +01:00
Brendan Coles 2955a2f6ac Skip CNAME records in DNS SRV parsing - Fix #13952 2020-08-07 08:45:07 +00:00
Christophe De La Fuente 5b51c338fa Make sure mode is a symbol 2020-08-06 19:00:39 +02:00
Jeffrey Martin 35017886b8 Land #13935, Preliminary Version 6 2020-08-06 10:19:34 -05:00
bwatters ba7f1ea486 Land #13897, Fix dangling reference issue in cve_2020_0688_service_tracing.rb
and filesystem.rb

Merge branch 'land-13897' into upstream-master
2020-08-05 17:04:15 -05:00
adfoster-r7 18b2c32c78 Land #13831, update to rails 5.2 2020-08-05 21:05:49 +01:00
gwillcox-r7 8a156abdb4 Fix up ExploitError module inside exceptions.rb to properly propagate errors to the end user 2020-08-03 17:14:24 -05:00
Jeffrey Martin 9aa26d1208 Merge upstream into 6.x 2020-08-03 11:43:47 -05:00
María Belén Tualombo Chimbo b2640d40ee downcase improvement for actions tab completion 2020-07-31 13:59:14 -04:00
Jeffrey Martin 1fdcde9d03 adjust vuln logic as nil service should be valid 2020-07-31 11:57:43 -05:00