linux payloads should default to /bin/sh

bug/bundler_fix
Tim 2017-08-21 12:25:27 +08:00
parent 9768a89bcd
commit e1a7494724
3 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ module MetasploitModule
# Register command execution options # Register command execution options
register_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 end

View File

@ -112,7 +112,7 @@ module MetasploitModule
# Register command execution options # Register command execution options
register_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 OptString.new('ARGV0', [ false, "argv[0] to pass to execve", "sh" ]) # mostly used for busybox
]) ])
end end

View File

@ -112,7 +112,7 @@ module MetasploitModule
# Register command execution options # Register command execution options
register_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 OptString.new('ARGV0', [ false, "argv[0] to pass to execve", "sh" ]) # mostly used for busybox
]) ])
end end