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]

segmenation fault erases nessus config file

Subject: segmenation fault erases nessus config file
Date: Thu, 20 Jul 2006 14:41:53 -0500
This happens every other time I try to edit the config file by hand
 
1) rm -rf .nessusrc
 
2) to create new .nessusrc (all default settings)
 
[root@localhost ~]# NessusClient -T nbe  -qx localhost 1241  spate spate
/root/testtarget /root/test.nbe
 
* this scan runs fine
 
3) edit .nessusrc (no ping host but run synscan.nes)
 
change plugin 10180 to no
change plugin 10335 to no
change plugin 11219 to yes
change 'Do a TCP ping' to no
and that's it
 
4) 
[root@localhost ~]# NessusClient -T nbe -c /root/.nessurc -qx localhost
1241  spate spate /root/testtarget /root/test.nbe
Segmentation fault

[root@localhost ~]# cat .nessusrc
[root@localhost ~]#

*wipes out the entire file
 
5) 
[root@localhost ~]# tail /var/log/nessusd.messages       
[Thu Jul 20 14:05:27 2006][15266] successful login of spate from
127.0.0.1
[Thu Jul 20 14:05:33 2006][15266] Redirecting debugging output to
/opt/nessus/var/nessus/logs/nessusd.dump
[Thu Jul 20 14:05:35 2006][15266] Communication closed by client

 
6) 
[root@localhost ~]# tail /opt/nessus/var/nessus/logs/nessusd.dump

[14618](ospf_detect.nasl:0x266) Usage: substr(string, idx_start
[,idx_end])
[14618](ospf_detect.nasl:0x26c) Usage: substr(string, idx_start
[,idx_end])
[14618](ospf_detect.nasl:0x271) Usage: substr(string, idx_start
[,idx_end])
[14618](ospf_detect.nasl:0x279) ord() usage : ord(char)
[14618](ospf_detect.nasl:0x281) ord() usage : ord(char)
[14618](ospf_detect.nasl:0x289) ord() usage : ord(char)
[14618](ospf_detect.nasl:0x292) ord() usage : ord(char)
[14618](ospf_detect.nasl:0x1ef) leave_multicast_group: never joined
group 224.0.0.5
[14618](ospf_detect.nasl:0x1f2) leave_multicast_group: never joined
group 224.0.0.6
[15060] bpf_close 0 -> BAD PID 0 vs 4

 
 
I have tried using different name for config file (i.e nessusconfig) but
the same thing happens. 
 
[root@localhost ~]# uname -a
Linux xps2 2.6.16.1custom #2 SMP Mon Apr 17 12:14:08 CDT 2006 i686 i686
i386 GNU/Linux

[root@localhost ~]# NessusClient -v
nessus (Nessus) 1.0.0 for Linux
 
(C) 1998 - 2003 Renaud Deraison <deraison@nessus.org>
        SSL used for client - server communication

 
 
 
 
Scott Pate
Security Consultant
Spohn & Associates
512-685-1000
 
_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
<Prev in Thread] Current Thread [Next in Thread>