{"id":88140,"library":"rex-socket","title":"Rex Socket","description":"Socket abstraction library for Ruby Exploitation (Rex), supporting L3 pivoting used by Metasploit.","status":"active","version":"0.1.67","language":"ruby","source_language":null,"source_url":"https://github.com/rapid7/rex-socket","tags":["networking","security","metasploit"],"install":[{"cmd":"gem install rex-socket","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'rex-socket', '~> 0.1.67'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Rex","correct":"require 'rex/socket'"}],"quickstart":{"code":"require 'rex/socket'\nsock = Rex::Socket::Tcp.create('peerhost' => 'example.com', 'peerport' => 80)","lang":"ruby","description":"Create a TCP socket using Rex"},"warnings":[],"env_vars":null,"search_vec":"'abstract':4 'exploit':8 'l3':11 'librari':5 'metasploit':15,18 'network':16 'pivot':12 'rex':1,9 'rubi':7 'secur':17 'socket':2,3 'support':10 'use':13","created_at":"2026-06-19T08:27:52.898442+00:00","updated_at":"2026-06-19T08:27:52.898442+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rapid7/rex-socket","github":"https://github.com/rapid7/rex-socket","docs":"http://www.rubydoc.info/gems/rex-socket/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}