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. |

| Subject: | RE: Periodic Scan with nessus? |
|---|---|
| Date: | Thu, 25 Jan 2007 13:08:33 +0530 |
Hi,
I could find the problem. ..
The problem was when result is generated in .nbe format the scanner list
& plugin list information is not reported in it.
Now I generated report directly into .xml format and the scanner, plugin
& version info. is coming in it.
$NCMD -c $NCONFIG -T xml -xq $NHOST $NPORT $NUSER $NPASS $NTARGET
$NRESULT
Thanks to all of you & John...
Regards
Nitin Shingari
nvshingari@ipolicynetworks.com
________________________________
From: Shingari, Nitin V.
Sent: Thursday, January 25, 2007 11:47 AM
To: 'John Scherff'
Cc: 'nessus@list.nessus.org'
Subject: RE: Periodic Scan with nessus?
Hi john,
I configured as per your suggestion but my report is not coming
accurate.
Below is what is missing:
<info>
<!-- no version information found -->
</info>
<config>
<global>
</global>
</config>
<plugins>
<error txt="No scanners list."/>
<error txt="No plugins list."/>
</plugins>
<results>
<result>
What could be wrong??
Regards
Nitin
________________________________
From: John Scherff [mailto:JScherff@24hourfit.com]
Sent: Tuesday, January 16, 2007 12:29 AM
To: Shingari, Nitin V.; nessus@list.nessus.org
Subject: RE: Periodic Scan with nessus?
Nitin:
Use a cron job.
The below instructions assume you have Nessus Server 3.0.4 and
NessusClient installed on a *nix box in the default locations. It will
generate both an NBE file and an HTML report every month at Midnight on
the first Sunday, over-writing the result file and report from the
previous month.
Step 0: create a directory structure similar to the following (just an
example... create it however/wherever you want):
/opt/Nscans/configs - to hold configuration stuff
/opt/Nscans/targets - to hold scan target files
/opt/Nscans/scripts - to hold scripts you write
/opt/Nscans/results - to hold raw scan results (NBE files)
/opt/Nscans/reports - to hold scan reports (e.g., HTML files)
Step 1: create a file (e.g., /opt/Nscans/targets/prod_servers.txt)
containing the targets you want to scan, each separated by a newline;
for example:
192.168.1.2-192.168.1.254
192.168.2.129-192.168.1.254
Myhost.myorg.com
192.168.3.75
Step 2: copy an existing .nessusrc file (usually found somewhere under
$HOME/.nessus) to /opt/Nscans/configs/prod_servers.cfg, tweak it as
desired.
Step 3: Create a nessus user and password using
/opt/nessus/sbin/nessus-adduser (e.g., Nscan_User / N5c4n_U53r)
Step 4: create a script named (for example) prod_servers.sh in
/opt/Nscans/scripts:
#!/bin/sh
NCMD=/usr/local/bin/NessusClient
NHOST=myhost.myorg.com
NPORT=1241
NUSER=Nscan_User
NPASS=N5c4n_U53r
NCONFIG=/opt/Nscans/configs/prod_servers.cfg
NTARGET=/opt/Nscans/targets/prod_servers.txt
NRESULT=/opt/Nscans/results/prod_servers.nbe
NREPORT=/opt/Nscans/reports/prod_servers.html
$NCMD -c $NCONFIG -T nbe -xq $NHOST $NPORT $NUSER $NPASS $NTARGET
$NRESULT
$NCMD -i $NRESULT -o $NREPORT
Step 5: Create a crontab entry similar to the following (this will run
the scan at midnight on the first Sunday of every month):
00 00 * * Sun [`date +\%d` -lt 8] &&
/opt/Nscans/scripts/prod_servers.sh
Note: You will have to do something to keep the copied nessusrc file
up-to-date with current plugins. George Theall's update-nessusrc perl
script is a good choice, and he keeps it current.
John Scherff
Sr. IT Security Analyst
24 Hour Fitness
________________________________
From: nessus-bounces@list.nessus.org
[mailto:nessus-bounces@list.nessus.org] On Behalf Of Shingari, Nitin V.
Sent: Sunday, January 14, 2007 7:29 PM
To: nessus@list.nessus.org
Subject: Periodic Scan with nessus?
Hi folks,
How we can set nessus to do periodic scan and save report in specific
folder after every scan with specific name and overwrite existing
report?
Warm Regards
Nitin Shingari
nvshingari@ipolicynetworks.com
_______________________________________________ Nessus mailing list Nessus@list.nessus.org http://mail.nessus.org/mailman/listinfo/nessus
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Periodic Scan with nessus?, Shingari, Nitin V. |
|---|---|
| Next by Date: | Re: Port scan, Renaud Deraison |
| Previous by Thread: | RE: Periodic Scan with nessus?, Shingari, Nitin V. |
| Next by Thread: | RE: Periodic Scan with nessus?, Shingari, Nitin V. |
| Indexes: | [Date] [Thread] [Top] [All Lists] |