note 64067 rejected from function.shell-exec by bjori
| From: | bjori@php.net | Date: | Thu, 06 Apr 2006 19:31:21 +0000 |
| Subject: | note 64067 rejected from function.shell-exec by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-107467@lists.php.net to get a copy of this message | ||
Note Submitter: fiction_vs_reality at yahoo dot com
----
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!