We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4882927 commit 4005e4fCopy full SHA for 4005e4f
lib/msf/core/handler/reverse.rb
@@ -82,12 +82,15 @@ def setup_handler
82
'MsfPayload' => self,
83
'MsfExploit' => assoc_exploit
84
})
85
+
86
+ if (ip=='127.0.0.1' || ip=='127.0.0.2' || ip=='127.0.0.3' || ip=='127.0.0.4'|| ip=='127.0.0.5'||ip=='127.0.0.6' || ip=='127.0.0.7' || ip=='127.0.0.8')
87
+ print_error("Please note that errors might be experienced with this choice of address for LHOST.")
88
+ end
89
rescue
90
ex = $!
91
print_error("Handler failed to bind to #{ip}:#{local_port}:- #{comm} -")
92
else
93
ex = false
-
94
via = via_string_for_ip(ip, comm)
95
print_status("Started #{human_name} handler on #{ip}:#{local_port} #{via}")
96
0 commit comments