Skip to content

Commit adfd6ff

Browse files
author
TheNaterz
committed
fixed warnings created by load->unload->load msgrpc
1 parent 77b1125 commit adfd6ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/msgrpc.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ class Plugin::MSGRPC < Msf::Plugin
2121
#
2222
# The default local hostname that the server listens on.
2323
#
24-
DefaultHost = "127.0.0.1"
24+
DefaultHost ||= "127.0.0.1"
2525

2626
#
2727
# The default local port that the server listens on.
2828
#
29-
DefaultPort = 55552
29+
DefaultPort ||= 55552
3030

3131
#
3232
# ServerPort

0 commit comments

Comments
 (0)