mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-11 08:39:44 +01:00
56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
Shell execution
|
|
-----
|
|
<?php
|
|
``;
|
|
`test`;
|
|
`test $A`;
|
|
`test \``;
|
|
`test \"`;
|
|
-----
|
|
array(
|
|
0: Stmt_Expression(
|
|
expr: Expr_ShellExec(
|
|
parts: array(
|
|
)
|
|
)
|
|
)
|
|
1: Stmt_Expression(
|
|
expr: Expr_ShellExec(
|
|
parts: array(
|
|
0: Scalar_EncapsedStringPart(
|
|
value: test
|
|
)
|
|
)
|
|
)
|
|
)
|
|
2: Stmt_Expression(
|
|
expr: Expr_ShellExec(
|
|
parts: array(
|
|
0: Scalar_EncapsedStringPart(
|
|
value: test
|
|
)
|
|
1: Expr_Variable(
|
|
name: A
|
|
)
|
|
)
|
|
)
|
|
)
|
|
3: Stmt_Expression(
|
|
expr: Expr_ShellExec(
|
|
parts: array(
|
|
0: Scalar_EncapsedStringPart(
|
|
value: test `
|
|
)
|
|
)
|
|
)
|
|
)
|
|
4: Stmt_Expression(
|
|
expr: Expr_ShellExec(
|
|
parts: array(
|
|
0: Scalar_EncapsedStringPart(
|
|
value: test \"
|
|
)
|
|
)
|
|
)
|
|
)
|
|
) |