Commit Graph

58 Commits

Author SHA1 Message Date
cgranleese-r7 61f70e09f6 detect invalid Pack/Unpack directives 2023-08-03 17:39:21 +01:00
Grant Willcox 7ad6c425c0
Set Lint/UnusedMethodArgument rule to apply to everything but lib/ folder 2023-04-12 11:31:28 -05:00
adfoster-r7 5d0b7c191c
Update rubocop rule for module length limits 2023-03-21 17:38:15 +00:00
adfoster-r7 9469c8394a
Update rubocop rules for moules 2023-02-08 15:18:25 +00:00
adfoster-r7 488cfc84ef
Disable noisey or unsafe Rubocop rules 2023-02-08 13:42:49 +00:00
adfoster-r7 bf00619717
Update rubocop rules for test modules 2022-04-28 14:11:26 +01:00
Jeffrey Martin 370d0b4bc0
remove ruby 2.5 support
Update the project to officially drop Ruby 2.5.
2022-01-10 12:06:44 -06:00
adfoster-r7 4fb341f86e
Autofix module info hash values on the same line 2021-08-27 16:39:49 +01:00
dwelch-r7 d793e1b30c Enforce more notes add more tests 2021-06-02 22:31:32 +01:00
dwelch-r7 85961be02e Ran rubocop and tidied up 2021-05-25 13:25:34 +01:00
dwelch-r7 34dec4f026 Add rubocop rule to enforce presence of `SideEffects` in exploit module info 2021-05-25 00:58:14 +01:00
Alan Foster 100da2f1b1
Enforce Style/RedundantBegin for new modules 2021-05-13 04:01:03 +01:00
dwelch-r7 6aaf44c902 rubocop files and make the exclusions more localised 2021-03-15 13:27:37 +00:00
dwelch-r7 596e1fb6f8 Add rubocop rule to correct `Gem::Version` to `Rex::Version` 2021-03-15 11:17:47 +00:00
Alan Foster 94a6207884
Disable Style/StringConcatenation Rubocop rule 2021-02-25 20:20:38 +00:00
Alan Foster b06c5c12aa
Rubocop recently landed modules continued 2021-02-25 14:13:40 +00:00
Alan Foster 260527076c
Require rubocop for new modules 2021-02-23 23:05:48 +00:00
Alan Foster 5b3fde7735
Rubocop recently landed modules 2021-02-16 15:08:08 +00:00
Alan Foster ecf8180538
Add custom whitespace cop for ignoring bindata 2021-02-15 20:26:05 +00:00
Alan Foster bed7ae2c78
Add latest rubocop rules 2021-02-12 13:31:51 +00:00
Brendan Coles 19b9bdbbf5 Rubocop: Layout/ExtraSpacing: Enable AllowBeforeTrailingComments 2021-01-26 00:08:08 +00:00
Alan Foster c4c551fdef
Add disclosure date rubocop linting rule 2020-10-02 21:00:32 +01:00
Alan Foster 81f0607ac3
Remove safe navigation rubocop rule 2020-04-27 18:04:33 +01:00
Alan Foster f2c3fc5f00
Rubocop recently landed modules 2020-04-17 11:55:04 +01:00
Alan Foster bfd284b349
Add initial layout cops for the module super hash 2020-03-06 10:41:41 +00:00
Adam Galway 9cf9f83d63
update cops to match new names 2019-12-06 17:36:10 +00:00
William Vu 671836b93b Fix renamed RuboCop check in .rubocop.yml 2019-11-13 01:45:01 -06:00
Brent Cook b731f3e619 remove Ruby 2.2 constraint 2019-03-11 15:32:25 -05:00
Brent Cook 19e6507ac4 tweak rubocop disabling some less desirable noise 2019-03-08 21:55:21 -06:00
William Vu a378dff8a9 Update .rubocop.yml TargetRubyVersion to 2.4
2.3 is EOL at the end of this month.
2019-03-05 21:01:33 -06:00
Brent Cook 02849bcfd0
Land #9986, initial ruby_smb simple client integration 2018-05-07 14:02:22 -05:00
Brent Cook 0d51c96252 supress a few more questionable things 2018-05-07 00:24:38 -05:00
Brent Cook fcc38b75bf style updates 2018-04-30 18:40:07 -05:00
Mehmet İnce 3b9274e9e3 Updating rubocop rules 2018-03-13 09:46:52 +03:00
Brent Cook f27d41db83 disable redundant return warning, update a couple others 2017-08-13 23:51:52 -04:00
Brent Cook 7ce813ae6e
Land #8767, Add exploit module for CVE-2017-8464
LNK Code Execution Vulnerability
2017-08-03 17:10:16 -05:00
Brent Cook a12f3c4c23 remove if => unless suggestions from rubocop 2017-08-03 00:26:04 -05:00
Brent Cook 6f97e45b35 enable Ruby 2.2 compat checks in Rubocop, correct multi/handler compat 2017-08-02 06:18:02 -05:00
Brent Cook e27b0c7589 remove conditional assignment warning 2017-08-01 15:19:13 -05:00
Brent Cook 176c54fcae disable a couple of unwise rubocop warnings 2017-08-01 14:44:22 -05:00
Brent Cook 6e06d1a8b1 update rubocop rules for common practice 2017-07-24 06:15:35 -07:00
Tod Beardsley 7e05f88399
Reapply PR #4113 (removed via #4175) 2014-11-11 15:06:43 -06:00
Tod Beardsley 017a44c0ae
Revert errored merge of deea30d
Revert "Merge branch 'master' of https://github.com/farias-r7/metasploit-framework into upstream-master"

This reverts commit deea30ddb4, reversing
changes made to 14514d7b8b.
2014-11-11 14:38:47 -06:00
Jon Hart 83475bb929 Disable UnneededPercentQ in Rubocop 2014-10-31 12:19:17 -07:00
Jon Hart f5ee2d7948 Update .rubocop.yml to use correct Metrics namespace 2014-10-31 12:15:32 -07:00
Jon Hart bfa89bb3a5 Enforce binary encoding on non-modules, no encoding on modules 2014-08-25 13:12:29 -07:00
Jon Hart 69aa56d8d3 Disable rubocop RedundantBegin for modules 2014-08-25 13:11:20 -07:00
Brandon Turner 05f0d09828
Merge branch staging/electro-release into master
On August 15, shuckins-r7 merged the Metasploit 4.10.0 branch
(staging/electro-release) into master.  Rather than merging with
history, he squashed all history into two commits (see
149c3ecc63 and
82760bf5b3).

We want to preserve history (for things like git blame, git log, etc.).
So on August 22, we reverted the commits above (see
19ba7772f3).

This merge commit merges the staging/electro-release branch
(62b81d6814) into master
(48f0743d1b).  It ensures that any changes
committed to master since the original squashed merge are retained.

As a side effect, you may see this merge commit in history/blame for the
time period between August 15 and August 22.
2014-08-22 10:50:38 -05:00
Brandon Turner 19ba7772f3
Revert "Various merge resolutions from master <- staging"
This reverts commit 149c3ecc63.

Conflicts:
	lib/metasploit/framework/command/base.rb
	lib/metasploit/framework/common_engine.rb
	lib/metasploit/framework/require.rb
	lib/msf/core/modules/namespace.rb
	modules/auxiliary/analyze/jtr_postgres_fast.rb
	modules/auxiliary/scanner/smb/smb_login.rb
	msfconsole
2014-08-22 10:17:44 -05:00
Samuel Huckins 149c3ecc63
Various merge resolutions from master <- staging
* --ask option ported to new location
* --version option now works
* MSF version updated
* All specs passing
2014-08-15 11:33:31 -05:00