The permissions could be the issue. 

As you are running script through a web page you need to give APACHE
user (apache/nobody/www-data) access to run command "nessus"

You may give permissions using sudo or some other means.

-SM




> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nessus-
> [EMAIL PROTECTED] On Behalf Of B. R.
> Sent: Tuesday, December 20, 2005 6:54 PM
> To: [email protected]
> Subject: Perl-Script started from PHP
> 
> Hello!
> 
> I have a little problem.
> I am using a Perl-Script for:
> 
> - Pinging a target-PC
> - nmapping it
> - Scan it with Nessus
>                    $cmd = "nessus -T html -qx localhost 1241 Attacker
> attacker target.txt  nessus_logs/$nessuslog";
>                    system($cmd);
>  - Write an Email after successful scanning.
> 
> Executing the Script via ./test.pl works fine.
> 
> Now I have a Website (HTML/PHP), where i can input the target-IP.
After a
> click on the "Go!"-Button i want to have the Perl-Script run.
> The Button has this function:
system("/opt/lampp/htdocs/attacker/testn.pl
> After clicking it, the Script runs...it pings the target-pc, it nmaps
> it...and it writes an email...but the nessus-script is not activated!
Also
> the nessusd.messages File gets no new entries! Can someone help me?
> 
> Thanks so far!
> 
> Benni
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
> 
> _______________________________________________
> Nessus mailing list
> [email protected]
> http://mail.nessus.org/mailman/listinfo/nessus

_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to