linux payloads should default to /bin/sh
parent
9768a89bcd
commit
e1a7494724
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue