Skip to content

Commit 84d1c23

Browse files
committed
change to OptPath
1 parent a16e370 commit 84d1c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/post/windows/recon/resolve_hostname.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def initialize(info={})
2323
register_options(
2424
[
2525
OptString.new('HOSTNAME', [false, 'Hostname to lookup', nil]),
26-
OptString.new('HOSTFILE', [false, 'Line separated file with hostnames to resolve', nil])
26+
OptPath.new('HOSTFILE', [false, 'Line separated file with hostnames to resolve', nil])
2727
], self.class)
2828
end
2929

0 commit comments

Comments
 (0)