Skip to content

Commit 1759621

Browse files
committed
Make 8080 default service port
1 parent 020a28f commit 1759621

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

lib/metasploit/framework/data_service/proxy/session_event_data_proxy.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
module SessionEventDataProxy
22

3-
# def session_events
4-
# begin
5-
# data_service = self.get_data_service()
6-
# rescue Exception => e
7-
# elog "Problem retrieving session events: #{e.message}"
8-
# end
9-
# end
10-
113
def report_session_event(opts)
124
begin
135
data_service = self.get_data_service()

lib/msf/ui/console/command_dispatcher/db.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1894,7 +1894,7 @@ def each_host_range_chunk(host_ranges, &block)
18941894

18951895
def add_data_service(*args)
18961896
protocol = "http"
1897-
port = 80
1897+
port = 8080
18981898
https_opts = {}
18991899
while (arg = args.shift)
19001900
case arg
@@ -1953,7 +1953,7 @@ def data_service_help
19531953
print_line " -s, --set <id> Set the data service by identifier."
19541954
print_line " -a, --add [ options ] host Adds data service"
19551955
print_line " Add Data Service Options:"
1956-
print_line " -p <port> The port the data service is listening on. Default is 80."
1956+
print_line " -p <port> The port the data service is listening on. Default is 8080."
19571957
print_line " -s, --ssl Enable SSL. Required for HTTPS data services."
19581958
print_line " -c, --cert Certificate file matching the server's certificate. Needed when using self-signed SSL cert."
19591959
print_line " --skip-verify Skip validating authenticity of server's certificate. NOT RECOMMENDED."

0 commit comments

Comments
 (0)