Skip to content

Commit 27353d6

Browse files
committed
Discard local changes to non relevant files
1 parent 4ba7619 commit 27353d6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/msf/core/auxiliary/report.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def myworkspace
6161
# This method safely get the workspace ID. It handles if the db is not active
6262
#
6363
# @return [NilClass] if there is no DB connection
64-
# @return [Fixnum] the ID of the current {::Mdm::Workspace}
64+
# @return [Fixnum] the ID of the current {Mdm::Workspace}
6565
def myworkspace_id
6666
if framework.db.active
6767
myworkspace.id

lib/msf/core/exploit/tcp_server.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ def initialize(info = {})
2222
# OptEnum.new('SSLVersion', [ false, 'Specify the version of SSL that should be used', 'TLS1', ['SSL2', 'SSL3', 'TLS1']]),
2323
OptPath.new('SSLCert', [ false, 'Path to a custom SSL certificate (default is randomly generated)']),
2424
OptAddress.new('SRVHOST', [ true, "The local host to listen on. This must be an address on the local machine or 0.0.0.0", '0.0.0.0' ]),
25-
#OptAddress.new('SRVHOST', [ true, "The local host to listen on. This must be an address on the local machine or 0.0.0.0", "#{Rex::Socket.source_address}" ]),
2625
OptPort.new('SRVPORT', [ true, "The local port to listen on.", 8080 ]),
2726

2827
], Msf::Exploit::Remote::TcpServer)

0 commit comments

Comments
 (0)