Re: [W3af-develop] Updating Info and Vuln

2015-01-29 Thread Andres Riancho
Nich, I added some tests [0] to better understand your problem, and here is what I got: * The get_uniq_id always returns a string. It might contain '-3829437' but it's a string * When we talked in private I told you that info_instance.copy() would return a copy of the instance, I was wrong.

Re: [W3af-develop] Updating Info and Vuln

2015-01-29 Thread Andres Riancho
You mean here? https://github.com/andresriancho/w3af/blob/develop/w3af/core/data/kb/info.py#L260 On Wed, Jan 28, 2015 at 11:19 PM, Nich Ramsey wrote: > Seems like I fixed the issue. When calling get_desc() in Info.from_info() it > is necessary to call it using the with_id=False parameter. Otherwi

Re: [W3af-develop] Updating Info and Vuln

2015-01-28 Thread Nich Ramsey
Seems like I fixed the issue. When calling get_desc() in Info.from_info() it is necessary to call it using the with_id=False parameter. Otherwise, information about where the vulnerability was identified gets concatenated to the end of the description. I made the changes in w3af/core/data/kb/info.

[W3af-develop] Updating Info and Vuln

2015-01-28 Thread Nich Ramsey
Hey everyone, So I have been working on an update method for the KB to update the pickle objects of Info and Vuln entries. I ran across a problem when attempting to copy the old instance to a new instance where I could make the updates. When I create the new instance using: update_info = Info.fr