Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only use BIA option when setting fully random MAC
macchanger 1.6.0 added -b / --bia option to control whether locally administered bit should be set on the randomly generated MACs. If this option is specified, locally administered bit is cleared, and it's set otherwise. This option is considered when generating fully random MAC (-r / --random), but also when setting random vendor MACs (-e / --endding, -a / --another, -A). As locally administered bit is part of the first MAC octet, which is part of OUI, clearing the bit (default behaviour when -b is not used) breaks all these random vendor MAC modes, setting MACs that are not for any recognized vendor. This fixes makes macchanger set or unset locally administered bit when generating fully random MAC. Use of --bia option in combination with other option than --random generates warning. Upstream bug report: #1
- Loading branch information
Showing
3 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters