Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Nessus-Users
[Top] [All Lists]

Re: Perl-Script started from PHP

Subject: Re: Perl-Script started from PHP
Date: 20 Dec 2005 08:58:12 -0500
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
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus

_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus

_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus

<Prev in Thread] Current Thread [Next in Thread>