From 851b36613dee04889c0cdd07c384e674792ef61b Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 16 Aug 2023 08:13:22 -0700 Subject: [PATCH] fix language --- .../macos/Properly Generate a Randomize MAC Address on macOS.md | 2 +- 1 file changed, 1 insertion(+), 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 39ed75a..bdcb24f 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 @@ -22,7 +22,7 @@ Randomizing the mac address only makes sense if you use a not-very-unique hostna Unfortunately, most of the guides I could find recommends randomizing the entire MAC address instead of the final 3 octets. Take the 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 +```ruby [format('%0.2x', rand(256) & ~1), (1..5).map { format('%0.2x', rand(256)) }].join(':') ```