Fixed typo, converted to OptEnum for fakedns targetaction

unstable
Tod Beardsley 2012-05-11 17:12:12 -05:00
parent af71cdafe2
commit ab655677b4
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ class Metasploit3 < Msf::Auxiliary
OptAddress.new('SRVHOST', [ true, "The local host to listen on.", '0.0.0.0' ]), OptAddress.new('SRVHOST', [ true, "The local host to listen on.", '0.0.0.0' ]),
OptPort.new('SRVPORT', [ true, "The local port to listen on.", 53 ]), OptPort.new('SRVPORT', [ true, "The local port to listen on.", 53 ]),
OptAddress.new('TARGETHOST', [ false, "The address that all names should resolve to", nil ]), OptAddress.new('TARGETHOST', [ false, "The address that all names should resolve to", nil ]),
OptString.new('TARGETDOMAIN', [ true, "The list of target domain names we want to fully resolver (bypass) or fake resolve (fake)", 'www.google.com']), OptString.new('TARGETDOMAIN', [ true, "The list of target domain names we want to fully resolve (BYPASS) or fake resolve (FAKE)", 'www.google.com']),
OptString.new('TARGETACTION', [ true, "Action for TARGETDOMAIN (fake|bypass)", 'BYPASS']), OptEnum.new('TARGETACTION', [ true, "Action for TARGETDOMAIN", "BYPASS", %w{FAKE BYPASS}]),
], self.class) ], self.class)
register_advanced_options( register_advanced_options(