mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-11 17:09:41 +01:00
46 lines
801 B
Plaintext
46 lines
801 B
Plaintext
Shell execution
|
|
-----
|
|
<?php
|
|
``;
|
|
`test`;
|
|
`test $A`;
|
|
`test \``;
|
|
`test \"`;
|
|
-----
|
|
array(
|
|
0: Expr_ShellExec(
|
|
parts: array(
|
|
)
|
|
)
|
|
1: Expr_ShellExec(
|
|
parts: array(
|
|
0: Scalar_EncapsedStringPart(
|
|
value: test
|
|
)
|
|
)
|
|
)
|
|
2: Expr_ShellExec(
|
|
parts: array(
|
|
0: Scalar_EncapsedStringPart(
|
|
value: test
|
|
)
|
|
1: Expr_Variable(
|
|
name: A
|
|
)
|
|
)
|
|
)
|
|
3: Expr_ShellExec(
|
|
parts: array(
|
|
0: Scalar_EncapsedStringPart(
|
|
value: test `
|
|
)
|
|
)
|
|
)
|
|
4: Expr_ShellExec(
|
|
parts: array(
|
|
0: Scalar_EncapsedStringPart(
|
|
value: test \"
|
|
)
|
|
)
|
|
)
|
|
) |