Skip to content

Commit 0928a37

Browse files
author
Tod Beardsley
committed
Adding back default firefox
the default is triggered only outside the case statement, which itself is totally bizarre. I can't tell if anyone is relying on this behavior right now, but it's too premature to just remove it out at this point.
1 parent 5736f65 commit 0928a37

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/rex/compat.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ def self.open_browser(url='http://metasploit.com/')
145145
end
146146
end
147147
end
148+
149+
# If nothing else worked, default to firefox
150+
system("firefox #{url} &")
148151
end
149152
end
150153

0 commit comments

Comments
 (0)