diff --git a/lib/term/terminal.py b/lib/term/terminal.py index b3c5e40..f8766bc 100644 --- a/lib/term/terminal.py +++ b/lib/term/terminal.py @@ -170,7 +170,7 @@ def exploit_gathered_hosts(self, loaded_mods, hosts=None): ruby_exec = False msf_path = None if hosts is None: - host_file = self.host_path + host_file = open(self.host_path).readlines() else: host_file = open(hosts).readlines() if not lib.settings.check_for_msf():