mercredi 13 novembre 2019

Issue with php functions?

Hi I am working on php Laraval project. I have installed a third party utility(wpscan) on Ubantu server. In code i am calling that third party app using command line and exec function as shown in below code,

$command = "wpscan --url " . $Website->url . " --enumerate p " . "--output ". $filename . "  --format json";
exec($command); 

On local machine it is working fine but on server it is not working fine. From my perspective it looks like "exec" command not working but I checked in php.ini file and it is not listed under disable_functions so it should be working fine.

Is there anyone who can tell me whats going wrong here?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire