note 64067 added to function.shell-exec

From: Date: Thu, 06 Apr 2006 19:30:04 +0000
Subject: note 64067 added to function.shell-exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-107466@lists.php.net to get a copy of this message
A question...i am making a web interface of nmap using php, ofcourse. As an example i use $result = Shell_exec("nmap -sS -O 172.134.4.3); print($result); BUT it doesn't give the output. On carefully looking at the bar below in the interface window...i noticed.... >>>> data is being transferred... and then >>>> done. How do i execute such commands using php and display the output. PLS HELP! ---- Server IP: 203.199.107.94 Probable Submitter: 61.2.16.123 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.shell-exec.php Edit -- http://master.php.net/note/edit/64067 Del: integrated -- http://master.php.net/note/delete/64067/integrated Del: useless -- http://master.php.net/note/delete/64067/useless Del: bad code -- http://master.php.net/note/delete/64067/bad+code Del: spam -- http://master.php.net/note/delete/64067/spam Del: non-english -- http://master.php.net/note/delete/64067/non-english Del: in docs -- http://master.php.net/note/delete/64067/in+docs Del: other reasons-- http://master.php.net/note/delete/64067 Reject -- http://master.php.net/note/reject/64067 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#107466) next »