my demo first config lua
This commit is contained in:
14
queries/php/injections.scm
Normal file
14
queries/php/injections.scm
Normal file
@@ -0,0 +1,14 @@
|
||||
;; extends
|
||||
(function_call_expression
|
||||
(
|
||||
(name) @_function (#eq? @_function "json_decode")
|
||||
(arguments (argument (string (string_value) @json )))
|
||||
)
|
||||
)
|
||||
|
||||
(function_call_expression
|
||||
(
|
||||
(name) @_function (#eq? @_function "render")
|
||||
(arguments (argument (nowdoc (nowdoc_body) @html )))
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user