'Initalizes the plugin with some basic params.
Right now the plugin doesnt support being executed from another folder,
like /dir/wpscan.rb'

def __init__(self):

    core.PluginBase.__init__(self)
    self.id = 'wpscan'
    self.name = 'WPscan'
    self.plugin_version = '0.0.1'
    self.version = '2.9.1'
    self._command_regex = re.compile('^((sudo    )?(ruby    )?(\\.\\/)?(wpscan)(.rb)?)')
    self.addSetting('WPscan    path', str, '~/wpscan')
    self.wpPath = self.getSetting('WPscan    path')
    self.themes = {}
    self.plugins = {}
    self.wpversion = ''
    self.risks = {'AUTHBYPASS': 'high', 'BYPASS': 'med', 'CSRF': 'med', 'DOS': 'med', 'FPD': 'info', 'LFI': 'high', 'MULTI': 'unclassified', 'PRIVESC': 'high', 'RCE': 'critical', 'REDIRECT': 'low', 'RFI': 'critical', 'SQLI': 'high', 'SSRF': 'med', 'UNKNOWN': 'unclassified', 'UPLOAD': 'critical', 'XSS': 'high', 'XXE': 'high'}
