Skip to content

Commit 8db5d85

Browse files
author
Michael Messner
committed
typo, null terminator
1 parent f39e784 commit 8db5d85

File tree

1 file changed

+2
-2
lines changed
  • modules/payloads/singles/linux/mipsle

1 file changed

+2
-2
lines changed

modules/payloads/singles/linux/mipsle/execve.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def initialize(info = {})
1515
'Name' => 'Linux CMD Execve Payload',
1616
'Description' => %q{
1717
A very small shellcode for executing commands.
18-
This module is sometimes helpfull for testing purposes.
18+
This module is sometimes helpful for testing purposes.
1919
},
2020
'Author' =>
2121
[
@@ -63,7 +63,7 @@ def generate
6363
#
6464
# Constructs the payload
6565
#
66-
return super + shellcode + command_string
66+
return super + shellcode + command_string + "\x00"
6767

6868
end
6969

0 commit comments

Comments
 (0)