lib/rex/socket/parameters.rb in rex-socket-0.1.5 vs lib/rex/socket/parameters.rb in rex-socket-0.1.6

- old
+ new

@@ -147,10 +147,10 @@ elog("Failed to read cert: #{e.class}: #{e}", LogSource) end end if hash['Proxies'] - self.proxies = hash['Proxies'].split('-').map{|a| a.strip}.map{|a| a.split(':').map{|b| b.strip}} + self.proxies = hash['Proxies'].split(',').map{|a| a.strip}.map{|a| a.split(':').map{|b| b.strip}} end # The protocol this socket will be using if (hash['Proto']) self.proto = hash['Proto'].downcase