Skip to content

Commit 535dfdf

Browse files
author
Brent Cook
committed
Land rapid7#8729, Fix a php warning about undefined constants
Merge remote-tracking branch 'upstream/pr/8729' into upstream-master
2 parents 806c68c + 6261529 commit 535dfdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/payload/php.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def php_system_block(options = {})
103103
}else"
104104
proc_open = "
105105
if(#{is_callable}('proc_open')and!#{in_array}('proc_open',#{dis})){
106-
$handle=proc_open(#{cmd},array(array(pipe,'r'),array(pipe,'w'),array(pipe,'w')),$pipes);
106+
$handle=proc_open(#{cmd},array(array('pipe','r'),array('pipe','w'),array('pipe','w')),$pipes);
107107
#{output}=NULL;
108108
while(!feof($pipes[1])){
109109
#{output}.=fread($pipes[1],1024);

0 commit comments

Comments
 (0)