diff --git a/modules/payloads/singles/linux/armle/shell_bind_tcp.rb b/modules/payloads/singles/linux/armle/shell_bind_tcp.rb index 76702bce5c64..cbca1ff444b5 100644 --- a/modules/payloads/singles/linux/armle/shell_bind_tcp.rb +++ b/modules/payloads/singles/linux/armle/shell_bind_tcp.rb @@ -126,7 +126,7 @@ def generate end p[176, sh.length] = sh - arg = datastore['SHELLARG'] + arg = datastore['ARGV0'] if arg if arg.length >= 16 raise ArgumentError, "The specified argv[0] must be less than 16 bytes."