Commit Graph

25 Commits

Author SHA1 Message Date
Denis Ryabov e290c73f48
Merge pull request #188 from dryabov/patch-64
Fix skipping `*jamss.php` files/directories in the JAMSS rule
2022-10-10 19:53:47 +09:00
Denis Ryabov 9e557c4a43 fix skipping `*jamss.php` files/directories in JAMSS test 2022-08-03 16:41:23 +03:00
Denis Ryabov bdc39b0c51 update year in copyright 2022-08-03 16:34:11 +03:00
Denis Ryabov 989bde3625 fix displaying unmodified file content in error message(s) 2022-08-03 16:33:39 +03:00
Denis Ryabov 698fd33151 update copyright year 2021-11-16 22:33:14 +03:00
Denis Ryabov 382e37ebdd redundant 2021-11-16 22:32:56 +03:00
Denis Ryabov a384d84174 reduce rule#24 to just a backtick in the code scope 2021-11-16 22:31:36 +03:00
Denis Ryabov bf2d44a585 support of "scopes" for JAMSS rules 2021-11-16 22:30:37 +03:00
Denis Ryabov d0719e4d4a JAMSS: avoid partial match in rule#16 2021-11-16 22:27:59 +03:00
Llewellyn van der Merwe f436afc2b8
Merge PR #106 into develop 2021-09-01 10:28:08 +02:00
Denis Ryabov ed89be7422 sort sidebar menu items according to the $ordering field 2021-05-17 23:21:34 +03:00
Denis Ryabov c454374642 switch to use of JEDCheckerHelper in jamss 2021-05-11 18:40:11 +03:00
Denis Ryabov eb6ea3c7ec codestyle 2021-04-04 13:38:13 +03:00
Denis Ryabov 071d50ce65 clean PHP code (by removing comments only) in the jamss rules to avoid false-positives 2021-04-04 11:42:02 +03:00
Denis Ryabov 7b8532f372 unify code lines displaying 2021-04-04 11:41:33 +03:00
Denis Ryabov f42ed7c300 fix missed "|" separators in regex 2021-04-04 11:30:23 +03:00
Llewellyn van der Merwe 3d51728978
Added more comments to the calculate_line_number method and fixed the variable naming. 2021-03-07 02:13:09 +02:00
Llewellyn van der Merwe ebb388a5c7
Merge pull request #76 into joomla/develop 2021-03-07 02:08:19 +02:00
Denis Ryabov fa5eb52dd6
Don't warn on str_replace and preg_replace
Both `str_replace` and `preg_replace` (deprecated /e modifier is checked in another rule) are widely used and shouldn't be considered as a marker of malicious code
2021-01-24 20:37:57 +03:00
Denis Ryabov 36159b616c
A simpler way to get line number 2021-01-24 20:32:07 +03:00
Denis Ryabov 2f7943f6ac
Fix false-positive for JAMSS rule#23
JAMSS rule#23 gives false-positive warning for files that starts with `defined('_JEXEC')` (because of partial `exec` match) and use `$_GET` or `$_POST`. This patch requires `exec` (and other function names in) to be checked explicitly using word boundaries (`\b`) in the regex.
2019-05-15 16:48:40 +03:00
anibalsanchez 0f241adba7 More Copryright fixes 2019-03-10 17:09:42 +01:00
anibalsanchez 5119fc102a 2.1.1 - Copyright updated to Joomla 2019-03-10 09:49:52 +01:00
anibalsanchez b34cb440a4 2.1.0 2019-03-09 20:44:14 +01:00
Jaz Parkyn e2eb961633 Removal of build tools 2017-02-14 14:34:35 +00:00