/usr/lib/ruby/vendor_ruby/uri/socks.rb is in ruby-proxifier 1.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | require "uri/generic"
module URI
class SOCKS < Generic
DEFAULT_PORT = 1080
COMPONENT = [:scheme, :userinfo, :host, :port, :query].freeze
end
@@schemes["SOCKS"] = SOCKS
@@schemes["SOCKS5"] = SOCKS
class SOCKS4 < SOCKS
end
@@schemes["SOCKS4"] = SOCKS4
class SOCKS4A < SOCKS
end
@@schemes["SOCKS4A"] = SOCKS4A
end
|