From 8c03e905dee61bb662baeae87142304843df5dc7 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Mon, 19 Aug 2013 16:09:10 -0500 Subject: [PATCH] Get rid of function that's never used RPORT datastore option is deregistered, and is never used anywhere in the module, so I don't why we need this rport() function here. --- modules/auxiliary/scanner/mssql/mssql_ping.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/auxiliary/scanner/mssql/mssql_ping.rb b/modules/auxiliary/scanner/mssql/mssql_ping.rb index d541980f1e..4e13d485fc 100644 --- a/modules/auxiliary/scanner/mssql/mssql_ping.rb +++ b/modules/auxiliary/scanner/mssql/mssql_ping.rb @@ -26,10 +26,6 @@ class Metasploit3 < Msf::Auxiliary deregister_options('RPORT', 'RHOST') end - def rport - datastore['RPORT'] - end - def run_host(ip) begin