':param w3af: The w3af core.
:param exploitlist: The widget that keeps the list of exploits'

def __init__(self, w3af, exploitlist):

    self.w3af = w3af
    self.exploitlist = exploitlist
    self.liststore = gtk.ListStore(str, str, str, gtk.gdk.Pixbuf)
    gtk.TreeView.__init__(self, self.liststore)
    self.applicable = []
    tvcolumn = gtk.TreeViewColumn(_('Vulnerabilities'))
    cell = gtk.CellRendererPixbuf()
    tvcolumn.pack_start(cell, expand=False)
    tvcolumn.add_attribute(cell, 'pixbuf', 3)
    cell = gtk.CellRendererText()
    tvcolumn.pack_start(cell, expand=True)
    tvcolumn.add_attribute(cell, 'markup', 0)
    self.append_column(tvcolumn)
    target = [('explot-activ', 0, 1)]
    self.enable_model_drag_dest(target, gtk.gdk.ACTION_COPY)
    self.connect('drag-data-received', self._drag_dropped)
    self.connect('cursor-changed', self._changed_selection)
    kb.kb.add_observer(VulnerabilityObserver(self))
    self.show()
