Skip to content

Commit 14512d7

Browse files
sfewer-r7dledda-r7
andauthored
favor AUTO over ANY for this enum
Co-authored-by: Diego Ledda <[email protected]>
1 parent 18b00ce commit 14512d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/admin/misc/brother_default_admin_auth_bypass_cve_2024_51978.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def initialize(info = {})
5656

5757
register_advanced_options([
5858
OptString.new('TargetSerial', [false, 'A serial number to use for this target. If none is specified, the target will be queried via HTTP, SNMP, or PJL to discover the serial number', nil]),
59-
OptEnum.new('DiscoverSerialVia', [ true, 'The technique to use to discover the serial number', 'ANY', %w[ANY HTTP SNMP PJL] ]),
59+
OptEnum.new('DiscoverSerialVia', [ true, 'The technique to use to discover the serial number', 'AUTO', %w[AUTO HTTP SNMP PJL] ]),
6060
OptInt.new('SaltLookupIndex', [true, 'The index into the salt table to use when generating the default password', 254]),
6161
OptString.new('SaltData', [false, 'The salt data to use when generating the default password', nil]),
6262
OptBool.new('ValidatePassword', [ true, 'Validate the default password by attempting to login', true ])

0 commit comments

Comments
 (0)