Two things I'd look at.
One is probably placing the full path to nessus and the target file in
your command line. And another is to check all the permissions to
ensure your web server can execute it.
-b
On Tue, 2005-12-20 at 08:38, Tobias Glemser wrote:
> Hi Benni,
>
> where is the difference in your script between calling nmap and nessus?
> I think the procedure is almost the same, both times you're using
> system() i guess.
>
> Did you set php to report all errors (ERROR_REPORTING (E_ALL);)?
>
> This doesn't really look like a nessus caused problem.
>
> Cheers,
> Toby
>
> B. R. wrote on 20.12.2005 14:23:
> > 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
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus