From d1f8c03668e7ca5f6a31784e6496631a9da65516 Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 16 Aug 2023 07:58:04 -0700 Subject: [PATCH] Update --- .../Properly Generate a Randomize MAC Address on macOS.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/posts/macos/Properly Generate a Randomize MAC Address on macOS.md b/content/posts/macos/Properly Generate a Randomize MAC Address on macOS.md index f1f6e64..1708d77 100644 --- a/content/posts/macos/Properly Generate a Randomize MAC Address on macOS.md +++ b/content/posts/macos/Properly Generate a Randomize MAC Address on macOS.md @@ -20,4 +20,8 @@ Randomizing the mac address only makes sense if you use a not-very-unique hostna ### 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, \ No newline at end of file +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(':') +``` \ No newline at end of file