Change External Module Type Names

Change the a couple of external module type names
to be consistent with the template files.
GSoC/Meterpreter_Web_Console
Jacob Robles 2018-03-20 10:19:57 -05:00
parent 26bf96b3ce
commit ca7caae622
No known key found for this signature in database
GPG Key ID: 3EC9F18F2B12401C
3 changed files with 4 additions and 4 deletions

View File

@ -13,9 +13,9 @@ class Msf::Modules::External::Shim
capture_server(mod)
when 'dos'
dos(mod)
when 'scanner.single'
when 'single_scanner'
single_scanner(mod)
when 'scanner.multi'
when 'multi_scanner'
multi_scanner(mod)
else
# TODO have a nice load error show up in the logs

View File

@ -60,7 +60,7 @@ metadata = {
{'type': 'aka', 'ref': 'ROBOT'},
{'type': 'aka', 'ref': 'Adaptive chosen-ciphertext attack'}
],
'type': 'scanner.single',
'type': 'single_scanner',
'options': {
'rhost': {'type': 'address', 'description': 'The target address', 'required': True, 'default': None},
'rport': {'type': 'port', 'description': 'The target port', 'required': True, 'default': 443},

View File

@ -23,7 +23,7 @@ metadata = {
{'type': 'aka', 'ref': 'SharknAT&To'},
{'type': 'aka', 'ref': 'sharknatto'}
],
'type': 'scanner.multi',
'type': 'multi_scanner',
'options': {
'rhosts': {'type': 'address_range', 'description': 'The target address', 'required': True, 'default': None},
'rport': {'type': 'port', 'description': 'The target port', 'required': True, 'default': 49152},