dwelch-r7
1f679d565d
Replace the comments from vore.rb and base.rb with readmes
2021-01-22 12:50:29 +00:00
dwelch-r7
d6896dadc0
remove msf folder requires
2021-01-18 14:21:54 +00:00
dwelch-r7
d437a32374
remove msf/util requires
2021-01-18 14:21:54 +00:00
dwelch-r7
319e718a95
zeitwerk lib/msf folder, eager loading works
2021-01-18 14:20:57 +00:00
adfoster-r7
da7a51fbca
Land #14584 , implement the zeitwerk autoloader within lib/msf/base
2021-01-18 13:11:08 +00:00
dwelch-r7
a19575d6bb
New lines and undoing debug changes
2021-01-06 12:48:16 +00:00
dwelch-r7
c0912b358c
Fix tests
2021-01-05 16:20:42 +00:00
dwelch-r7
ad9763763d
formatting fixes
2021-01-05 15:10:23 +00:00
dwelch-r7
bad5ccbc49
Remove msf/base requires
2021-01-05 14:59:46 +00:00
dwelch-r7
0a87386c49
Add base folder to autoloader
2021-01-05 13:07:53 +00:00
Spencer McIntyre
11ca76cacc
Support post actions as commands too
2020-12-29 16:54:09 -05:00
CSharperMantle
d99c2ac783
linguistic fixes of 'does not exists'
2020-12-23 11:36:38 +08:00
adfoster-r7
34cc179b04
Land #14481 , Add a require for command_shell_options to fix intermittent test failures
2020-12-10 16:53:40 +00:00
dwelch-r7
3a94d4f7ee
Add a require for command shell options to fix randomly failing tests
...
Temporary until we zeitwerk more things
2020-12-10 10:56:54 +00:00
Alan Foster
9e20bb5270
Add configurable logging to the console and support stdout sinks
2020-12-08 16:23:24 +00:00
dwelch-r7
1617b3ec9b
Use zeitwerk for lib/msf/core folder
2020-12-07 10:31:45 +00:00
Spencer McIntyre
7303975377
Initialize the exploit UI earlier on so error messages are displayed
2020-12-01 16:36:39 -05:00
Spencer McIntyre
f82ce5335d
Support running local exploits from the meterpreter context
2020-12-01 15:22:48 -05:00
William Vu
5aef7cf5b6
Fix hang in cmd/windows/powershell_reverse_tcp
...
Won't show a prompt if initial_output is nil.
2020-11-18 10:56:03 -06:00
Jeffrey Martin
49fac19692
guard persist on handler existence
...
Short term fix to only persist jobs with handlers. More work should
be done to improve job persistence to allow more jobs types to persist.
2020-11-13 17:08:10 -06:00
Alan Foster
a933e10252
Show actions within info command
2020-10-07 23:20:31 +01:00
Reelix
f5a85890fd
Update command_shell.rb
...
- Implement changes suggested by @smcintyre-r7
2020-08-31 21:16:33 +02:00
Reelix
b9db589105
Update command_shell.rb
...
- Converted a missed tab to spaces
2020-08-30 09:48:19 +02:00
Reelix
b61a5e5f75
Update command_shell.rb
...
- Fixed spacing (Tabs VS Spaces)
2020-08-30 09:45:38 +02:00
Reelix
e2a008eade
Update command_shell.rb
...
- Improved path detection
- Check for bash with python / python3 and use it if it exists
- Minor grammatical improvements
2020-08-30 09:22:25 +02: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
María Belén Tualombo Chimbo
11913f3b1e
Old file deleted and reference updated
2020-08-09 12:37:42 -04:00
Jeffrey Martin
35017886b8
Land #13935 , Preliminary Version 6
2020-08-06 10:19:34 -05:00
Jeffrey Martin
9aa26d1208
Merge upstream into 6.x
2020-08-03 11:43:47 -05:00
Jeffrey Martin
07cbe426e2
Rails 5, all models inherit from ApplicationRecord
...
ApplicationRecord is a new superclass for all app models, analogous to app controllers subclassing ApplicationController instead of ActionController::Base. This gives apps a single spot to configure app-wide model behavior.
https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#active-record-models-now-inherit-from-applicationrecord-by-default
Deprecated Relation#uniq use Relation#distinct instead.
https://edgeguides.rubyonrails.org/5_0_release_notes.html#active-record-deprecations
2020-07-31 11:56:49 -05:00
María Belén Tualombo Chimbo
372a0be0e1
minor changes
2020-07-31 10:47:37 -04:00
María Belén Tualombo Chimbo
091481b783
changes requested for the conditionality system for module OPTIONS/ACTIONS/TARGETS
2020-07-31 10:44:12 -04:00
María Belén Tualombo Chimbo
938173feb3
[GSoC] Ev1 - Conditionality system for module OPTIONS/ACTIONS/TARGETS
2020-07-31 10:28:21 -04:00
Alan Foster
632f1a1205
Update json rpc process request error handling
2020-07-21 18:39:02 +01:00
William Vu
d494eb046d
Fix RPC support by raising instead of returning
2020-07-20 14:04:38 -05:00
Brent Cook
f70043bf4e
check if a module has a check method first
...
Currently, if you run 'check' on a module that does not have a check
method, it will first complain that you have not set the 'RHOSTS'
option, whether it's an exploit module or a scanner. Then, once you set
RHOSTS (or whatever else it needs), it will then say 'Psych! I didn't
have a method in the first place!'.
This switches that logic around so that it first alerts you that the
module doesn't have support in the first place. It also similarizes more
logic between aux and exploit for some future convergence possibility.
2020-07-20 11:09:46 -05:00
Jeffrey Martin
65039a5091
Merge upstream into 6.x
2020-07-15 09:58:07 -05:00
Spencer McIntyre
5f5f42aa20
Readd the check that the key is set
2020-06-29 17:56:37 -04:00
Spencer McIntyre
e72035f1a3
Support AES-128-CBC as an additional option for TLV encryption
2020-06-29 14:19:43 -04:00
Adam Galway
1a2bf98222
creates standard elog & updates exisiting usages
2020-06-22 12:48:39 +01:00
dwelch-r7
8ac04d5312
Land #13367 , Surface helpful error messages to users
2020-05-06 14:40:21 +01:00
Alan Foster
2c8b5c2647
Fix edge cases in raising metasploit exceptions
2020-05-05 20:18:04 +01:00
Spencer McIntyre
197365b610
Finish up the .NET deserialization tool
2020-04-29 17:50:07 -04:00
Adam Cammack
9aafb3b306
Fix copy-pasta
2020-03-24 09:56:30 -05:00
dwelch-r7
682653e9d9
PR comments
2020-03-13 13:32:59 +00:00
dwelch-r7
754b42f9f2
run rubocop -a on new files
2020-03-13 13:32:58 +00:00
dwelch-r7
6762a7b147
Fix all the tests
2020-03-13 13:32:58 +00:00
dwelch-r7
e6aa840e64
Store results as json to prevent keeping references around
2020-03-13 13:32:58 +00:00
dwelch-r7
9f76f3ef08
Use rpc specific job status tracker and add default no op tracker
2020-03-13 13:32:57 +00:00