Commit Graph

20644 Commits

Author SHA1 Message Date
Ashley Donaldson eeef8a3085 Support domain login in WinRM module 2021-09-06 10:25:36 +10:00
Ashley Donaldson 7a75a91dc6 Request stdout on a separate thread, so we are alerted when the shell dies. 2021-09-06 09:33:44 +10:00
h00die 65aae010ce more libs for moodle and teacher priv esc to rce module 2021-09-04 13:31:11 -04:00
bwatters a7d255bbe5 Land #15627, Update some post libs to use library methods defined in file.rb
Merge branch 'land-15627' into upstream-master
2021-09-03 16:43:11 -05:00
Jack Heysel 99352ad107 Move methods from lfs.rb, fix fail_with types 2021-09-03 16:17:35 -05:00
Jack Heysel f9c4c35431 Update the target_suitable? method 2021-09-03 16:17:35 -05:00
Jack Heysel ba64dce5b7 Rubocop offenses 2021-09-03 16:17:30 -05:00
Jack Heysel 3c43bd409d Added docs an Git User-Agent FP 2021-09-03 16:15:39 -05:00
Jack Heysel 21d99a74fb beta commit 2021-09-03 16:15:38 -05:00
Spencer McIntyre 2c3f914d9c Land #15639, Fix rename_file for shell sessions 2021-09-03 13:46:27 -04:00
Metasploit e3adc1ded1 Bump version of framework to 6.1.5 2021-09-03 12:31:52 -05:00
Grant Willcox c4ab16aa75 Fix typo in lib/msf/core/post/file.rb that was preventing normal cmd shells from being able to rename files. 2021-09-03 11:15:10 -05:00
Jeffrey Martin 3d87d77b8a Land #15636, Fix regression issue with serializing reported events 2021-09-03 11:08:20 -05:00
adfoster-r7 39950a8352 Remove explicit rhosts protocol validation 2021-09-03 15:30:57 +01:00
adfoster-r7 50330c1559 Land #15522, Add feature flagged support for fully interactive Meterpreter shells 2021-09-03 14:24:41 +01:00
adfoster-r7 4b818000fc Fix regression issue with serializing reported events 2021-09-03 13:09:14 +01:00
Metasploit 31e0e73e56 Bump version of framework to 6.1.4 2021-09-02 12:04:19 -05:00
Spencer McIntyre e2beff1467 Warn when a DB option is ignored 2021-09-02 11:57:38 -04:00
Spencer McIntyre 01882da5de Add documentation and #filtered? 2021-09-02 11:57:38 -04:00
Spencer McIntyre dd86907b17 Move the prepend_db calls into the mixin 2021-09-02 11:57:38 -04:00
Spencer McIntyre a76eb67d89 Add the DB_SKIP_EXISTING option 2021-09-02 11:57:36 -04:00
Spencer McIntyre 2981e23d0a Initial DB_SKIP_EXISTING option 2021-09-02 11:56:53 -04:00
dwelch-r7 310f2fb86f Add warning for trying to use fully interactive shells without a pty 2021-09-02 15:22:35 +01:00
adfoster-r7 f3ad3e8292 Re-renamespace error handling, and validate rhost schemas 2021-09-02 13:00:05 +01:00
adfoster-r7 3b23951d62 Correctly handle inline payloads being set via datastore options, i.e. run payload=xyz 2021-09-02 13:00:05 +01:00
adfoster-r7 736457dbd4 Cleanup comments 2021-09-02 13:00:05 +01:00
adfoster-r7 30ba8f2f38 Add replicant functionality before running tests, to handle bug in self.replicant.datastore.option.values being nil 2021-09-02 13:00:04 +01:00
adfoster-r7 3cc56eb9bb Support setting PATH for http modules such as tomcat_mgr_deploy 2021-09-02 13:00:04 +01:00
adfoster-r7 327e2c1fe8 Handy truthy uri.path edgecase for smbshares 2021-09-02 13:00:04 +01:00
adfoster-r7 591574455d Validate cidr notation 2021-09-02 13:00:04 +01:00
adfoster-r7 15002c1a3c Track original unparsed rhosts value correctly 2021-09-02 13:00:04 +01:00
adfoster-r7 07ab195056 Preference module specified username/passwords over http basic auth 2021-09-02 13:00:03 +01:00
adfoster-r7 13a5d314de Add test for payload option validation 2021-09-02 13:00:03 +01:00
Alan Foster 15e8037344 Add mysql:// support 2021-09-02 13:00:03 +01:00
Alan Foster 7aeebbd93e Consolidate module usage logic 2021-09-02 13:00:03 +01:00
Alan Foster a11e303f85 Support spaces in rhost values 2021-09-02 13:00:03 +01:00
Alan Foster 4b12aaf49e Ensure there are no errors in rhosts_walker 2021-09-02 13:00:02 +01:00
Alan Foster 07af90c5a7 Fix replicant edgecase 2021-09-02 13:00:02 +01:00
Alan Foster 20d6e28c49 Avoid recalculating the rhost walker count 2021-09-02 13:00:02 +01:00
Alan Foster 112f43f798 Consolidate module argument parsing for ensuring consistency 2021-09-02 13:00:02 +01:00
Alan Foster 134fef21c4 Improve validation rhosts validation 2021-09-02 13:00:01 +01:00
Alan Foster f96dc59cd4 Spike smb uri support 2021-09-02 13:00:01 +01:00
Alan Foster 4899884a33 Add http support in rhosts option 2021-09-02 12:59:50 +01:00
Ashley Donaldson b50a1aa988 Moved reusable functionality into separate file 2021-09-02 21:58:07 +10:00
dwelch-r7 ef0d68cb8e Land #15572, Correctly handle quoted console options and whitespace 2021-09-02 12:55:39 +01:00
Ashley Donaldson fdfac2212f Cleanup up old socket-based approach 2021-09-02 16:58:07 +10:00
Ashley Donaldson f16d91f8b4 Coerce failure immediately on bad password when setting up a session 2021-09-02 15:00:48 +10:00
Ashley Donaldson 6648a47ce7 Check stdin repeatedly 2021-09-02 13:23:26 +10:00
Grant Willcox 2f0ecc4c28 Land #15623, Creds command improvements 2021-09-01 17:06:57 -05:00
h00die 77dff0fc13 working admin shell 2021-09-01 17:49:17 -04:00