Commit Graph

17065 Commits

Author SHA1 Message Date
gwillcox-r7 bdad038e70
Land #13959, Add a login scanner for Jupyter Notebooks 2020-08-12 13:21:21 -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
Spencer McIntyre a7cbdddbb1 Update a bunch of documentation for the credential collection lib 2020-08-11 16:49:41 -04: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
Robin 92e0522524 Fixes for bug #13956 2020-08-10 16:31:11 +01:00
Spencer McIntyre c57391501a Fix typos and clarify documentation for jupyter_login 2020-08-10 09:47:59 -04: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
Spencer McIntyre 5e5922a1c4 Fix an overly indented block in credential_collection.rb 2020-08-07 09:02:32 -04:00
Brendan Coles 2955a2f6ac Skip CNAME records in DNS SRV parsing - Fix #13952 2020-08-07 08:45:07 +00:00
gwillcox-r7 80889b2b86
Land #13949, Fix casting issue with the update mode in DBManager::Note's report_note function 2020-08-06 14:36:57 -05:00
Metasploit 7049c1aaf6
Bump version of framework to 6.0.1 2020-08-06 12:05:29 -05: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
Spencer McIntyre 1c8c3dd675 Add a Jupyter notebook / lab login scanner 2020-08-04 18:12:09 -04:00
gwillcox-r7 a92ffe4486
Fix logic bugs I introduced with my last fix 2020-08-04 16:20:49 -05:00
gwillcox-r7 be4d5d90bb
Update fix to use 'if' statement rather than 'unless' as this makes more sense here. 2020-08-04 14:58:01 -05:00
gwillcox-r7 307dcc9b19
Add further checks to ensure that the 'type' value does not cause issues if it is 'nil' 2020-08-04 14:32:21 -05:00
gwillcox-r7 c196d9b733
Fix up lib/postgres/postgre-pr/message.rb and its self.read function so that it will handle cases where stream reads might not return any bytes at all, resulting in length being nil 2020-08-04 14:19:56 -05: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
gwillcox-r7 2fe92f9325
Land #13903, Allow OpenVAS handler to import vulns without references 2020-08-03 11:59:58 -05:00
Jeffrey Martin 9aa26d1208
Merge upstream into 6.x 2020-08-03 11:43:47 -05:00
Jeffrey Martin dee523f9e7
load to mitigate `first` missing db connection
When calling `first` in Rails 5.2 the connection is not found
however by forcing the records to load with `to_a` which happens to
function correctly the call is then sent to `Array.first`
2020-08-03 10:51:18 -05:00
Jeffrey Martin c43df01e9e
remove stale comment 2020-07-31 12:03:12 -05:00
Jeffrey Martin 1fdcde9d03
adjust vuln logic as `nil` service should be valid 2020-07-31 11:57:43 -05:00
Jeffrey Martin 1e348e0a90
add root path of endpoints that accept :id in path
When requesting all records of a type :id is not supplied. A behavior change
in `sinatra` now report a `param` of the missing object with value `nil`.
Since this parameter would be used as a search term further down the stack and
most objects cannot have `:id` = `nil` exposing the additional path is needed.
2020-07-31 11:56:52 -05:00
Jeffrey Martin 0b65266ac1
adjust migration to proxy call to ActiveRecord
By adding proxy method the call to ActiveRecord::Migrator.migrations_paths
is decoupled from the migration task allowing more flexibility for the
underlying migration set selection to change in future Rails versions.
2020-07-31 11:56:51 -05:00
Jeffrey Martin ffee2a5a43
remove file no longer needed with rails 5 2020-07-31 11:56:51 -05:00
Jeffrey Martin 2c92d17ed9
refactor migration process for Rails 5
As noted in https://github.com/rails/rails/issues/36544 using
ActiveRecord migrations internally is not truly supported. This
workaround is valid for Rails 5 and might be easily adjusted
in Rails 6 although that is still TBD.
2020-07-31 11:56:51 -05:00
Jeffrey Martin 54036d1f60
bump thread allowed by rspec, needs investigation 2020-07-31 11:56:50 -05:00
Jeffrey Martin 5d1c4dafa1
begin adjust migrations and remove old test
removed connection tests are from rails 3 expectations
2020-07-31 11:56:50 -05:00
Jeffrey Martin aeb6247e8e
adjust vuln connection boundaries for rails 5 2020-07-31 11:56:50 -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
Jeffrey Martin 8fac591f7a
rails 5.2 update 2020-07-31 11:56:42 -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
Metasploit 37e0c7d017
Bump version of framework to 5.0.102 2020-07-30 12:02:52 -05:00
gwillcox-r7 b6bce114ea
Add in further edits to the library code to remove the possiblity of dangling handles and also update the module code accordingly. 2020-07-30 10:45:19 -05:00
h00die d366666418 add Mikrotik SwOS 2020-07-30 11:29:25 -04:00