Shehzad,

Command looks fine, am assuming custom_openvasrc is copied from user's home
directory .openvasrc and it is present in the place where you are running
OpenVAS-Client. Instead, as felix suggested, will you be able to run through
the original file located in user's home dir? Just to confirm if it works
with the default .openvasrc file.

Thanks,
Chandra.
 

> -----Original Message-----
> From: Shehzad Lakdawala [mailto:[email protected]] 
> Sent: Thursday, March 11, 2010 2:27 PM
> To: Chandrashekhar B
> Cc: Felix Wolfsteller; [email protected]
> Subject: Re: [Openvas-discuss] Using custom .openvasrc file 
> in Quite Mode
> 
> Dear B Chandra,
> Below is the command i run.
> 
> OpenVAS-Client  --batch-mode=127.0.0.1 9390 myuser mypassword 
> mytarget myreport.html -c custom_openvasrc
> 
> Thanks
> Shehzad
> 
> On Thu, Mar 11, 2010 at 12:53 PM, Chandrashekhar B 
> <[email protected]> wrote:
> > Hello Shehzad,
> >
> > Can you provide us the command you are running?
> >
> > Chandra.
> >
> >
> >> -----Original Message-----
> >> From: [email protected]
> >> [mailto:[email protected]] On Behalf Of 
> >> Shehzad Lakdawala
> >> Sent: Thursday, March 11, 2010 2:04 PM
> >> To: Felix Wolfsteller
> >> Cc: [email protected]
> >> Subject: Re: [Openvas-discuss] Using custom .openvasrc 
> file in Quite 
> >> Mode
> >>
> >> Hi felix,
> >> I did exactly what you said.
> >> First, i tried running openvas client with default openvassd.conf 
> >> file but with same result.
> >>
> >> Second, I run openvasclient GUI, took the .openvasrc file that was 
> >> generated by the client in the user's home folder  & used the same 
> >> file with 'quite' mode.
> >>
> >> but did not help. I also tried  "auto_enable_new_plugins = no"
> >>
> >>
> >> thanks
> >> shehzad
> >>
> >> On Thu, Mar 11, 2010 at 12:26 PM, Felix Wolfsteller 
> >> <[email protected]> wrote:
> >> > Hi Shehzad
> >> >
> >> > I think stripping down the openvassd.conf that much is a 
> bad idea.
> >> > Values from openvasrc will overwrite values from
> >> openvassd.conf, but
> >> > for some it is not allowed (e.g. logfile). You will not see
> >> an error
> >> > in this case, but the value from the openvasrc will NOT be used.
> >> >
> >> > I strongly suggest to use the original openvassd.conf, use
> >> a standard
> >> > openvasrc as basis (e.g. /home/<user>/.openvasrc, and redo
> >> some tests
> >> > to see if things then work as expected. I think you have to
> >> start the
> >> > client in not-batch-mode once to generate the .openvasrc.
> >> >
> >> > Otherwise, OpenVAS-Client also has the hidden option -m to
> >> generate a
> >> > openvasrc, but I cannot remember details right now.
> >> >
> >> > --felix
> >> >
> >> >
> >> >
> >> > On Thursday 11 March 2010 09:04:42 you wrote:
> >> >> Hi Flex,
> >> >> thanks for the feedback. Below are my comments to your
> >> questions. I
> >> >> want to run all the scans using openvas in batch mode. 
> The plugins 
> >> >> and settings have to be different for different scans. e.g
> >> differnt
> >> >> rc file for web apps, windows, linux etc etc
> >> >>
> >> >> Below is what i have done
> >> >> 1. I have removed all the settings from the openvassd 
> except the 
> >> >> location for the plugins and cache folder. (The reason i
> >> did this is
> >> >> because i though that openvassd.conf is overwriting the 
> >> >> custom_openvassrc 2. I created a custom_openvasrc file
> >> with all the
> >> >> settings, plugins selection, SSH username, SMB username
> >> etc 3. I run
> >> >> OpenVAS-Client in batch mode with the below command
> >> >>
> >> >> OpenVAS-Client  --batch-mode=127.0.0.1 9390 myuser mypassword 
> >> >> mytarget myreport.html -c custom_openvasrc
> >> >>
> >> >> The output is
> >> >> 1. The scan is running through all the plugins 2. The 
> logs are not 
> >> >> getting generated to the location mentioned in the
> >> custom_openvasrc
> >> >> file 3. The custom_openvasrc file is getting overwritten
> >> with all the
> >> >> available plugins and set to 'yes'
> >> >>
> >> >> Attached is openvassd.conf and custom_openvassrc file for
> >> your reference.
> >> >>
> >> >>
> >> >>
> >> >> Shehzad Lakdawala
> >> >> Linkdin: http://ae.linkedin.com/in/shehzadl
> >> >
> >> >
> >> > --
> >> > Felix Wolfsteller |  ++49 541 335083-783  |
> > http://www.intevation.de/
> >> > PGP Key: 39DE0100 Intevation GmbH, Neuer Graben 17, 49074
> >> Osnabrück |
> >> > AG Osnabrück, HR B 18998
> >> > Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver 
> >> > Wagner
> >> >
> >>
> >>
> >>
> >> --
> >> Shehzad Lakdawala
> >> +971 50 5343387
> >> Linkdin: http://ae.linkedin.com/in/shehzadl
> >> _______________________________________________
> >> Openvas-discuss mailing list
> >> [email protected]
> >> http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
> >
> >
> 
> 
> 
> --
> Shehzad Lakdawala
> +971 50 5343387
> Linkdin: http://ae.linkedin.com/in/shehzadl

_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Reply via email to