Andres,

I have one very interesting question. Why we don't use
profiles in this case? Is
---------------------------------------------------
     _run_configs = {
         'cfg': {
             'target': None,
             'plugins': {
                 'audit': (
                     PluginConfig(
                          'xss',
                          ('checkStored', True, PluginConfig.BOOL),
                          ('numberOfChecks', 3, PluginConfig.INT)),
                     ),
                 'discovery': (
                     PluginConfig(
                         'webSpider',
                         ('onlyForward', True, PluginConfig.BOOL)),
                 )
             },
         },
---------------------------------------------------
better then
---------------------------------------------------
[target]
target = %s

[audit.xss]
checkStored = True
numberOfChecks = 3

[iscovery.webSpider]
onlyForward = True
---------------------------------------------------
?! We can create /tmp/temp_profile.pw3af every time for test!


On 06/22/2012 11:05 AM, Taras wrote:
> Andres,
>
>>> How can I set up misc-settings in test? I haven't found it in
>>> plugins/tests
>>> :(
>>
>> That's a good question... I never needed to do something like that. I
>> think that the test helper doesn't support that. You can either:
>> * (recommended) Extend the test helper (plugins/tests/helper.py ,
>> plugins/tests/basic.py) to support this feature
> All right, I will implement it.



-- 
Taras
http://oxdef.info

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to