File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
powershell/ql/test/query-tests/security/cwe-078/CommandInjection Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 11edges
22| test.ps1:1:8:1:9 | x | test.ps1:3:28:3:47 | Get-Process -Id $x | provenance | |
3+ | test.ps1:5:10:5:20 | my_var | test.ps1:7:3:7:19 | $code --enabled | provenance | |
34nodes
45| test.ps1:1:8:1:9 | x | semmle.label | x |
56| test.ps1:3:28:3:47 | Get-Process -Id $x | semmle.label | Get-Process -Id $x |
7+ | test.ps1:5:10:5:20 | my_var | semmle.label | my_var |
8+ | test.ps1:7:3:7:19 | $code --enabled | semmle.label | $code --enabled |
69subpaths
710#select
811| test.ps1:3:28:3:47 | Get-Process -Id $x | test.ps1:1:8:1:9 | x | test.ps1:3:28:3:47 | Get-Process -Id $x | This command depends on a $@. | test.ps1:1:8:1:9 | x | user-provided value |
12+ | test.ps1:7:3:7:19 | $code --enabled | test.ps1:5:10:5:20 | my_var | test.ps1:7:3:7:19 | $code --enabled | This command depends on a $@. | test.ps1:5:10:5:20 | my_var | user-provided value |
You can’t perform that action at this time.
0 commit comments