mirror of
https://github.com/PrivSec-dev/privsec.dev
synced 2025-02-20 18:31:35 -05:00
Update
This commit is contained in:
parent
072aebbd2d
commit
d1f8c03668
@ -20,4 +20,8 @@ Randomizing the mac address only makes sense if you use a not-very-unique hostna
|
|||||||
|
|
||||||
### Improper instructions
|
### Improper instructions
|
||||||
|
|
||||||
Unfortunately, most of the guides I could find recommends randomizing the entire MAC address instead of the final 3 octets. Take guides recommending `mac-changer` for example,
|
Unfortunately, most of the guides I could find recommends randomizing the entire MAC address instead of the final 3 octets. Take guides recommending `macchanger` for example, they fail to mention that the program does [this](https://github.com/acrogenesis/macchanger/blob/main/bin/macchanger#L37):
|
||||||
|
|
||||||
|
```rust
|
||||||
|
[format('%0.2x', rand(256) & ~1), (1..5).map { format('%0.2x', rand(256)) }].join(':')
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user