Hi... this is not my day:
I tried the python script and i got the following lines:
Traceback (innermost last):
File "./update-nessus", line 187, in ?
tn.read_until("User : ", 10)
File "/usr/lib/python1.5/telnetlib.py", line 224, in read_until
return self.read_very_lazy()
File "/usr/lib/python1.5/telnetlib.py", line 300, in read_very_lazy
raise EOFError, 'telnet connection closed'
EOFError: telnet connection closed
Alternatively I tried to telnet the nessusd server myself and sent "<
NTP/1.2 >" but the connection closed inmediately.
Finally i tried
nessus -pq localhost 1241 <validuser> <validpasswd>
and it says "nessus: invalid option -- p"
should i try the CVS version? Im running nessus 1.1.12
Thanks
Cristobal
Renaud Deraison wrote:
>
> On Tue, Feb 12, 2002 at 02:09:47PM -0500, Dmitriy Kropivnitskiy wrote:
> > For my uses of nessus, making a separate interactive
> > CLI interface would not help things, since it will not
> > generate nessusrc automagically. My suggestion ( not sure
> > if it is easily implementable ) would be to make a separate
> > program/script that would pull current .nessusrc in, pull current
> > plugin list, find differences and insert new plugins according to
> > some kind of a rule set.
>
> You can retrieve the list of plugins from the remote nessusd server
> by doing
> nessus -pq nessusd_host 1241 login password
>
> That's a start - feel free to write the rest ;)
>
> -- Renaud
--
Cristobal Soto Y.
ICSA.cl - The e-risk security company - http://www.icsa.cl