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.py and am pushing them to my
repo.
On Wed, Jan 28, 2015 at 5:33 PM, Nich Ramsey <onicr...@gmail.com> wrote:
> 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.from_info(old_info)
>
> the uniq_id of update_info is negative. This obviously causes an issue
> when trying to update the uniq_id in the database. Has anyone else run
> across this problem, or have a better way to copy an Info/Vuln instance?
>
> I also tried using old_info.copy() but it just returns a copy of the Dict
> part of the Info instance.
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop