linux payloads should default to /bin/sh
parent
9768a89bcd
commit
e1a7494724
|
@ -83,7 +83,7 @@ module MetasploitModule
|
|||
# Register command execution options
|
||||
register_options(
|
||||
[
|
||||
OptString.new('SHELL', [ true, "The shell to execute.", "/system/bin/sh" ]),
|
||||
OptString.new('SHELL', [ true, "The shell to execute.", "/bin/sh" ]),
|
||||
])
|
||||
end
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ module MetasploitModule
|
|||
# Register command execution options
|
||||
register_options(
|
||||
[
|
||||
OptString.new('SHELL', [ true, "The shell to execute.", "/system/bin/sh" ]),
|
||||
OptString.new('SHELL', [ true, "The shell to execute.", "/bin/sh" ]),
|
||||
OptString.new('ARGV0', [ false, "argv[0] to pass to execve", "sh" ]) # mostly used for busybox
|
||||
])
|
||||
end
|
||||
|
|
|
@ -112,7 +112,7 @@ module MetasploitModule
|
|||
# Register command execution options
|
||||
register_options(
|
||||
[
|
||||
OptString.new('SHELL', [ true, "The shell to execute.", "/system/bin/sh" ]),
|
||||
OptString.new('SHELL', [ true, "The shell to execute.", "/bin/sh" ]),
|
||||
OptString.new('ARGV0', [ false, "argv[0] to pass to execve", "sh" ]) # mostly used for busybox
|
||||
])
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue