2011-11-27 11:20:35 +01:00
|
|
|
Shell execution
|
|
|
|
-----
|
|
|
|
<?php
|
2011-12-04 16:52:43 +01:00
|
|
|
``;
|
2011-11-27 11:20:35 +01:00
|
|
|
`test`;
|
|
|
|
`test $A`;
|
|
|
|
`test \``;
|
|
|
|
`test \"`;
|
|
|
|
-----
|
|
|
|
array(
|
2017-01-19 22:25:22 +01:00
|
|
|
0: Stmt_Expression(
|
|
|
|
expr: Expr_ShellExec(
|
|
|
|
parts: array(
|
|
|
|
)
|
2011-11-27 11:20:35 +01:00
|
|
|
)
|
|
|
|
)
|
2017-01-19 22:25:22 +01:00
|
|
|
1: Stmt_Expression(
|
|
|
|
expr: Expr_ShellExec(
|
|
|
|
parts: array(
|
|
|
|
0: Scalar_EncapsedStringPart(
|
|
|
|
value: test
|
|
|
|
)
|
2015-12-03 22:55:07 +01:00
|
|
|
)
|
2011-12-04 16:52:43 +01:00
|
|
|
)
|
|
|
|
)
|
2017-01-19 22:25:22 +01:00
|
|
|
2: Stmt_Expression(
|
|
|
|
expr: Expr_ShellExec(
|
|
|
|
parts: array(
|
|
|
|
0: Scalar_EncapsedStringPart(
|
|
|
|
value: test
|
|
|
|
)
|
|
|
|
1: Expr_Variable(
|
|
|
|
name: A
|
|
|
|
)
|
2011-11-27 11:20:35 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2017-01-19 22:25:22 +01:00
|
|
|
3: Stmt_Expression(
|
|
|
|
expr: Expr_ShellExec(
|
|
|
|
parts: array(
|
|
|
|
0: Scalar_EncapsedStringPart(
|
|
|
|
value: test `
|
|
|
|
)
|
2015-12-03 22:55:07 +01:00
|
|
|
)
|
2011-11-27 11:20:35 +01:00
|
|
|
)
|
|
|
|
)
|
2017-01-19 22:25:22 +01:00
|
|
|
4: Stmt_Expression(
|
|
|
|
expr: Expr_ShellExec(
|
|
|
|
parts: array(
|
|
|
|
0: Scalar_EncapsedStringPart(
|
|
|
|
value: test \"
|
|
|
|
)
|
2015-12-03 22:55:07 +01:00
|
|
|
)
|
2011-11-27 11:20:35 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|