mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-14 18:16:06 +01:00
33 lines
480 B
Plaintext
33 lines
480 B
Plaintext
Shell execution
|
|
-----
|
|
<?php
|
|
`test`;
|
|
`test $A`;
|
|
`test \``;
|
|
`test \"`;
|
|
-----
|
|
array(
|
|
0: Expr_ShellExec(
|
|
parts: array(
|
|
0: test
|
|
)
|
|
)
|
|
1: Expr_ShellExec(
|
|
parts: array(
|
|
0: test
|
|
1: Expr_Variable(
|
|
name: A
|
|
)
|
|
)
|
|
)
|
|
2: Expr_ShellExec(
|
|
parts: array(
|
|
0: test `
|
|
)
|
|
)
|
|
3: Expr_ShellExec(
|
|
parts: array(
|
|
0: test \"
|
|
)
|
|
)
|
|
) |