Skip to content

Commit f608071

Browse files
committed
Clean up module
1 parent 999a5df commit f608071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/ssh/mercurial_ssh_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def initialize(info={})
4242
Opt::RHOST(),
4343
Opt::RPORT(22),
4444
OptString.new('USERNAME', [ true, 'The username for authentication', 'root' ]),
45-
OptString.new('SSH_PRIV_KEY_FILE', [ true, 'The path to private key for ssh auth', '' ]),
45+
OptPath.new('SSH_PRIV_KEY_FILE', [ true, 'The path to private key for ssh auth', '' ]),
4646
]
4747
)
4848

0 commit comments

Comments
 (0)