'Search the ExploitDB archive.
Arguments:
query     -- Search terms
Optional arguments:
author    -- Name of the exploit submitter
platform  -- Target platform (e.g. windows, linux, hardware etc.)
port      -- Service port number
type      -- Any, dos, local, papers, remote, shellcode and webapps
Returns:
A dictionary with 2 main items: matches (list) and total (int).
Each item in \'matches\' is a dictionary with the following elements:
id
author
date
description
platform
port
type'

def search(self, query, **kwargs):

    return self.parent._request('exploitdb/search', dict(q=query, **kwargs))
