MCPcopy Index your code
hub / github.com/AutoRecon/AutoRecon / manual

Method manual

autorecon/default-plugins/wpscan.py:15–20  ·  view source on GitHub ↗
(self, service, plugin_was_run)

Source from the content-addressed store, hash-verified

13 self.match_service_name('^nacn_http$', negative_match=True)
14
15 def manual(self, service, plugin_was_run):
16 api_token = ''
17 if self.get_option('api-token'):
18 api_token = ' --api-token ' + self.get_option('api-token')
19
20 service.add_manual_command('(wpscan) WordPress Security Scanner (useful if WordPress is found):', 'wpscan --url {http_scheme}://{addressv6}:{port}/ --no-update -e vp,vt,tt,cb,dbe,u,m --plugins-detection aggressive --plugins-version-detection aggressive -f cli-no-color' + api_token + ' 2>&1 | tee "{scandir}/{protocol}_{port}_{http_scheme}_wpscan.txt"')

Callers

nothing calls this directly

Calls 2

get_optionMethod · 0.80
add_manual_commandMethod · 0.80

Tested by

no test coverage detected