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: altering nessus knowledge base files |
|---|---|
| Date: | Tue, 30 Jan 2007 07:58:20 -0500 |
Check out the .nessusrc file. that has a setting for deciding which ports to scan. the option you are looking for is called "port_range", which can look like "default" or "1-65535" or "22-25,80,443" and all points in between
I would like to launch nessus from the command line using my nessus server on 127.0.0.1 in linux but would like it to skip the portscanning and use a list of ports that i specify instead.
I thought I could create a kb in /opt/nessus/var/nessus/users/nessus/kbs/127/0/0/127.0.0.1
with the following content:
1170151262 3 Launched/10180=1 1170151262 3 Launched/10335=1 1170151262 3 Ports/tcp/80=1 1170151262 3 Ports/tcp/443=1 1170151262 3 Host/scanned=1 1170151262 3 Host/scanners/nessus_tcp_scanner=1
drwx------ 2 root root 4096 Jan 30 10:23 . drwx------ 3 root root 4096 Jan 29 15:04 .. -rw-r----- 1 root root 193 Jan 30 10:21 127.0.0.1
although the scan seems to work as expected, the kbs file is not updated with the scans results.
If i remove the file nessus runs from scratch saving it's kb with all the info.
Is there another way to do get the desired effect?
Thanks _______________________________________________ Nessus mailing list Nessus@list.nessus.org http://mail.nessus.org/mailman/listinfo/nessus
-- Doug Nordwall Unix, Network, and Security Administrator Noise proves nothing. Often a hen who has merely laid an egg cackles as if she laid an asteroid. -- Mark Twain
_______________________________________________ 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: | Scanning external-lan computer, no results?, Michele Costantino |
|---|---|
| Next by Date: | Re: Scanning external-lan computer, no results?, Doug Nordwall |
| Previous by Thread: | altering nessus knowledge base files, Sk8board Kid |
| Next by Thread: | Scanning external-lan computer, no results?, Michele Costantino |
| Indexes: | [Date] [Thread] [Top] [All Lists] |