Skip to content

Commit 8c03e90

Browse files
committed
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.
1 parent 0af2f1c commit 8c03e90

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

modules/auxiliary/scanner/mssql/mssql_ping.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ def initialize
2626
deregister_options('RPORT', 'RHOST')
2727
end
2828

29-
def rport
30-
datastore['RPORT']
31-
end
32-
3329
def run_host(ip)
3430

3531
begin

0 commit comments

Comments
 (0)