diff --git a/modules/auxiliary/server/pxexploit.rb b/modules/auxiliary/server/pxexploit.rb index f65c67d26b..9dc863f2cf 100644 --- a/modules/auxiliary/server/pxexploit.rb +++ b/modules/auxiliary/server/pxexploit.rb @@ -45,13 +45,13 @@ class Metasploit3 < Msf::Auxiliary 'DefaultAction' => 'Service' ) - register_options( + register_advanced_options( [ - OptString.new('TFTPROOT', [ false, "The TFTP root directory to serve files from" ]), - OptString.new('SRVHOST', [ true, "The IP of the DHCP server" ]), - OptString.new('NETMASK', [ true, "The netmask of the local subnet" ]), - OptString.new('DHCPIPSTART', [ true, "The first IP to give out" ]), - OptString.new('DHCPIPEND', [ true, "The last IP to give out" ]) + OptString.new('TFTPROOT', [ false, 'The TFTP root directory to serve files from' ]), + OptString.new('SRVHOST', [ false, 'The IP of the DHCP server' ]), + OptString.new('NETMASK', [ false, 'The netmask of the local subnet', '255.255.255.0' ]), + OptString.new('DHCPIPSTART', [ false, 'The first IP to give out' ]), + OptString.new('DHCPIPEND', [ false, 'The last IP to give out' ]) ], self.class) end