約106件1ページ目

日本語のみで絞り込む

2011/6/8 -Your call is failing because you're using a web-style syntax ( ?parameter=value ) with a command-line invokation. I understand what you're ...

Execute command via shell and return the complete output as a string.

2014/10/1 -Exec() method emulate the command line, meaning exec("example.php") works the same as php -f example.php on the command line. This means you can ...

exec() executes the given command . Parameters ¶. command. The command that will be executed. output. If the output argument is present, then the specified ...

2012/12/6 -I am playing around with shell_exec and trying to insert a variable into a shell_exec grep, but it is not working.

2025/7/11 -string shell_exec( $cmd ). Parameters: This function accepts a single parameter $cmd which is used to hold the command that will be executed.

2026/1/12 -The shell_exec() function passes strings directly to the system shell. This creates three major risks. First, command injection. If user input ...

2024/2/26 -You must ensure a user never can control what exact command line is executed (and ensure that every parameter is properly escaped). If not ...

The vulnerable code directly concatenates user input into shell commands using exec(), system(), shell_exec(), and passthru() functions, allowing command ...

2019/11/15 -Try using PHP exec(); function because it returns the second two parameters by reference supplying more information and may be more useful.