From 97bee891cee541d7302bbca34a601e508633109d Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sat, 6 Oct 2018 12:06:40 -0500 Subject: [PATCH] remove some ruby vestiges --- .../external/go/src/metasploit/module.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/msf/core/modules/external/go/src/metasploit/module.go b/lib/msf/core/modules/external/go/src/metasploit/module.go index 0b17386b6e..67bdc082d7 100644 --- a/lib/msf/core/modules/external/go/src/metasploit/module.go +++ b/lib/msf/core/modules/external/go/src/metasploit/module.go @@ -165,21 +165,3 @@ func Run(metadata *Metadata, callback RunCallback) { rpc_send(res) } } -/* - //type RunCallback func(struct) string - def run(metadata, callback, soft_check: nil) - elsif req[:method] == 'run' - cb = callback - end - - if cb - ret = cb.call req[:params] - rpc_send({ - jsonrpc: '2.0', id: req[:id], result: { - message: 'Module completed', - 'return' => ret - } - }) - end -*/ -//}