Re: detached scans and email reports

"Nathan R. Valentine" <[email protected]>
Newsgroups gmane.comp.security.nessus.devel
Message-ID <1057867164.8103.369.camel@badlands>
> Perhaps you've considered a shell script approach and rejected it.  If
> not, though, it would allow you to email results easily, without the
> need to patch Nessus.  Also, if your detached scans are also continuous,
> realize that two drawbacks of such scans vis-a-vis a shell script
> approach is that a detached scan is "lost" if the daemon is restarted
> and there's no way to incorporate new plugins into a scan once it's
> started. 


I do that for myself. I have a few users who I work with who are about
as far from Unixy as you can get though and they like to work with
NessusWX. We've been having some stability issues with NessusWX though
and tried detached scans. Thus the problem with getting plain-text
reports rather than .nbe files for detached scans. 


> Look in nessus-core/nessusd/detached.c.  A scratch file for the email is
> opened in detached_setup_mail_file() and then results are written to
> that file descriptor in detached_copy_data_port() and
> detached_copy_data_content().  I would imagine if you want to modify the
> format of the report, you'd need to modify these last two functions. 


Excellent! I will look at that code this evening. Thanks!


-- 
---
Nathan Valentine - [email protected]
http://www.nathanvalentine.org
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/DcWcOtuGVF5JE5ARAvgwAJ4yLiOxSS4hGGi4fBpMKa96TkK9WQCgiaat
fQQ2/O+xaYwNr+5ti00+Bjg=
=jo8A
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.