Re: [W3af-develop] Updating Info and Vuln
Status: Beta
Brought to you by:
andresriancho
From: Andres R. <and...@gm...> - 2015-01-29 11:41:17
|
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 <oni...@gm...> 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. 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 <oni...@gm...> 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 > W3a...@li... > https://lists.sourceforge.net/lists/listinfo/w3af-develop > -- Andrés Riancho Project Leader at w3af - http://w3af.org/ Web Application Attack and Audit Framework Twitter: @w3af GPG: 0x93C344F3 |