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(
|
|
|
|
0: Expr_ShellExec(
|
|
|
|
parts: array(
|
|
|
|
)
|
|
|
|
)
|
|
|
|
1: Expr_ShellExec(
|
2011-12-04 16:52:43 +01:00
|
|
|
parts: array(
|
2015-12-03 22:55:07 +01:00
|
|
|
0: Scalar_EncapsedStringPart(
|
|
|
|
value: test
|
|
|
|
)
|
2011-12-04 16:52:43 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
2: Expr_ShellExec(
|
2011-11-27 11:20:35 +01:00
|
|
|
parts: array(
|
2015-12-03 22:55:07 +01:00
|
|
|
0: Scalar_EncapsedStringPart(
|
|
|
|
value: test
|
|
|
|
)
|
2011-11-27 11:20:35 +01:00
|
|
|
1: Expr_Variable(
|
|
|
|
name: A
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2011-12-04 16:52:43 +01:00
|
|
|
3: Expr_ShellExec(
|
2011-11-27 11:20:35 +01:00
|
|
|
parts: array(
|
2015-12-03 22:55:07 +01:00
|
|
|
0: Scalar_EncapsedStringPart(
|
|
|
|
value: test `
|
|
|
|
)
|
2011-11-27 11:20:35 +01:00
|
|
|
)
|
|
|
|
)
|
2011-12-04 16:52:43 +01:00
|
|
|
4: Expr_ShellExec(
|
2011-11-27 11:20:35 +01:00
|
|
|
parts: array(
|
2015-12-03 22:55:07 +01:00
|
|
|
0: Scalar_EncapsedStringPart(
|
|
|
|
value: test \"
|
|
|
|
)
|
2011-11-27 11:20:35 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|