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]

Core dump on os_fingerprint.nasl

Subject: Core dump on os_fingerprint.nasl
Date: Tue, 19 Apr 2005 09:58:03 -0400 (EDT)
I just upgraded to Nessus 2.2.4 but am having some problems with it.
The master nessusd dies completely from time to time.  That is all the
detail I have so I'll talk about the second problem.  A child nessusd
process dumps core with the os_fingerprint.nasl plugin.  I have copied
the gdb backtrace below.  I'm not sure what to make of the file size
message since ulimit shows that it is unlimited.

I have version 1.108 of the os_fingerprint.nasl plugin and did a fresh
plugin download this morning.  Nessus is running on a Red Hat AS 2.1
system.  I can reproduce the problem at will.

Beirne

[root@nessus-ctc1 plugins]# gdb /usr/local/sbin/nessusd core
GNU gdb Red Hat Linux (5.1-1)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `nessusd: testing some_hostname'.
Program terminated with signal 25, File size limit exceeded.
Reading symbols from /usr/local/lib/libnasl.so.2...done.
Loaded symbols for /usr/local/lib/libnasl.so.2
Reading symbols from /usr/local/lib/libnessus.so.2...done.
Loaded symbols for /usr/local/lib/libnessus.so.2
Reading symbols from /usr/local/lib/libhosts_gatherer.so.2...done.
Loaded symbols for /usr/local/lib/libhosts_gatherer.so.2
Reading symbols from /usr/local/lib/libpcap-nessus.so.2...done.
Loaded symbols for /usr/local/lib/libpcap-nessus.so.2
Reading symbols from /lib/libutil.so.1...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0  0x402bbf84 in __libc_write () from /lib/i686/libc.so.6
(gdb) bt
#0  0x402bbf84 in __libc_write () from /lib/i686/libc.so.6
#1  0x40311df4 in __DTOR_END__ () from /lib/i686/libc.so.6
#2  0x40257cf9 in new_do_write (fp=0x4030ffa0,
    data=0x401a9000
"[23369](/usr/local/lib/nessus/plugins/os_fingerprint.nasl) Usage:
substr(string, idx_start [,idx_end])\n", to_do=103) at fileops.c:464
#3  0x40256e4c in _IO_new_file_overflow (f=0x4030ffa0, ch=-1) at
fileops.c:438
#4  0x4025752e in _IO_new_file_xsputn (f=0x4030ffa0, data=0xbffe6cb0,
n=44)
    at fileops.c:962
#5  0x402329be in _IO_vfprintf (s=0x4030ffa0, format=0x400fa26e
"[%d](%s) %s",
    ap=0xbffe6c94) at vfprintf.c:1580
#6  0x4023aff7 in fprintf (stream=0x4030ffa0, format=0x400fa26e
"[%d](%s) %s")
    at fprintf.c:32
#7  0x4007be79 in nasl_perror (lexic=0x8972120,
    msg=0x400f60a0 "Usage: substr(string, idx_start [,idx_end])\n")
    at nasl_debug.c:56
#8  0x4006853c in nasl_substr (lexic=0x8972120) at nasl_text_utils.c:832
#9  0x40075e11 in nasl_func_call (lexic=0x89716c0, f=0x8956cc8,
    arg_list=0x8940988) at nasl_func.c:277
#10 0x40074224 in nasl_exec (lexic=0x89716c0, st=0x8940b10) at
exec.c:1068
#11 0x40074314 in nasl_exec (lexic=0x89716c0, st=0x8940b38) at
exec.c:1129
#12 0x40073ef9 in nasl_exec (lexic=0x89716c0, st=0x8941a60) at
exec.c:875
#13 0x40074289 in nasl_exec (lexic=0x89716c0, st=0x8941a88) at
exec.c:1104
#14 0x40074289 in nasl_exec (lexic=0x89716c0, st=0x8941ab0) at
exec.c:1104
.....

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

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