Andres,

results of Windows-related bugs research is not good:(
I didn't figure out why w3af crashes [0] and [1] and have found another 
bug with tmp dir and cleaning of it. The problem is
I can't get stable reproduced steps for these bugs. If you want I will
rollback the changes (it looks like you mean moving of history dir from 
sessions to tmp/PID) although I don't think that it is related.

Currently I want to finish unit tests for historyItem.

[0] http://sourceforge.net/apps/trac/w3af/ticket/171489
[1] http://sourceforge.net/apps/trac/w3af/ticket/171616

On 04/23/2012 03:07 PM, Andres Riancho wrote:
> Taras,
>
> On Mon, Apr 23, 2012 at 8:06 AM, Taras<ox...@oxdef.info>  wrote:
>> Andres,
>>
>> strange bug. Yesterday I have tried to reproduce it on Win7 32bit machine
>> but with no result in the final :(  May be it is because user sets home dir
>> to LogicalValue:\ ? I will continue with it today.
>
> Not sure why this happens, but it is fairly frequent for what we can
> see in our bug report timeline
> http://sourceforge.net/apps/trac/w3af/timeline?from=04%2F23%2F12&daysback=30&ticket=on&update=Update
>
>> BTW, for correct work w3af *requires* write perms to ~/.w3af (or same on Win
>> machine), doesn't it?
>
> Sure, it requires write access to that directory.
>
> Please fix this bug or rollback the changes you made that made it
> appear in the first place :(
>
> Regards,
>
>>
>> On 04/18/2012 06:53 PM, Andres Riancho wrote:
>>>
>>> Taras,
>>>
>>>      After your change to the get_temp_dir function, a lot of these
>>> bugs have started to appear. Could you please look into them?
>>>
>>> Regards,
>>>
>>> ---------- Forwarded message ----------
>>> From: w3af<nore...@sourceforge.net>
>>> Date: Tue, Apr 17, 2012 at 4:19 AM
>>> Subject: [w3af] #171616: [Auto-Generated] Bug Report - w3afException:
>>> Unable to write to the user home directory: H:\.w3af\tmp\2384
>>> To:
>>>
>>>
>>> #171616: [Auto-Generated] Bug Report - w3afException: Unable to write
>>> to the user
>>> home directory: H:\.w3af\tmp\2384
>>>
>>> ----------------------------------+-----------------------------------------
>>>   Reporter:  w3afbugsreport        |       Owner:  andresriancho
>>>      Type:  defect                |      Status:  new
>>>   Priority:  major                 |   Milestone:
>>> Component:  automatic-bug-report  |
>>>
>>> ----------------------------------+-----------------------------------------
>>>   == User description: ==
>>>   What steps will reproduce the problem?
>>>   1.
>>>   2.
>>>   3.
>>>
>>>   What is the expected output? What do you see instead?
>>>
>>>
>>>   What operating system are you using?
>>>
>>>
>>>   Please provide any additional information below:
>>>
>>>
>>>
>>>   [[BR]][[BR]]
>>>   == Version Information: ==
>>>   {{{
>>>
>>>   Python version:
>>>   2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
>>>
>>>   GTK version:2.22.0
>>>   PyGTK version:2.22.0
>>>
>>>
>>>   w3af - Web Application Attack and Audit Framework
>>>   Version: 1.2
>>>   Revision: 4888
>>>   Author: Andres Riancho and the w3af team.
>>>
>>>   }}}
>>>   [[BR]][[BR]]
>>>   == Traceback: ==
>>>   {{{
>>>   Traceback (most recent call last):
>>>    File "C:\Program Files (x86)\w3af\w3af\core\ui\gtkUi\main.py", line 924,
>>>   in _proxy_tool
>>>      self.setTabs(True)
>>>    File "C:\Program Files (x86)\w3af\w3af\core\ui\gtkUi\main.py", line 801,
>>>   in setTabs
>>>      self._setTab(sensit, _("Results"), scanrun.ScanRunBody)
>>>    File "C:\Program Files (x86)\w3af\w3af\core\ui\gtkUi\main.py", line 808,
>>>   in _setTab
>>>      newone = realWidget(self.w3af)
>>>    File "C:\Program Files (x86)\w3af\w3af\core\ui\gtkUi\scanrun.py", line
>>>   558, in __init__
>>>      kbbrowser = KBBrowser(w3af)
>>>    File "C:\Program Files (x86)\w3af\w3af\core\ui\gtkUi\scanrun.py", line
>>>   147, in __init__
>>>      self._historyItem = HistoryItem()
>>>    File "C:\Program Files (x86)\w3af\w3af\core\data\db\history.py", line
>>>   80, in __init__
>>>      self.initStructure()
>>>    File "C:\Program Files (x86)\w3af\w3af\core\data\db\history.py", line
>>>   136, in initStructure
>>>      raise w3afException(msg)
>>>   w3afException: Unable to write to the user home directory:
>>>   H:\.w3af\tmp\2384
>>>
>>>   }}}
>>>   == Enabled Plugins: ==
>>>   {{{
>>>
>>>   }}}
>>>
>>> --
>>> Ticket URL:<http://sourceforge.net/apps/trac/w3af/ticket/171616>
>>> w3af<http://sourceforge.net/projects/w3af/>
>>> w3af - Web Application Attack and Audit Framework.
>>>
>>>
>>
>>
>> --
>> Taras
>> http://oxdef.info
>
>
>


-- 
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