Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
angusshire committed Mar 16, 2015
1 parent cede898 commit 570f675
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# mac-spoofer :black_joker:
# mac-spoofer
mac-spoofer is a script for spoofing a network adapter's MAC address on Windows 7 64-bit.

### How it Works
mac-spoofer uses the WMI API and Win32 API to retrieve your network adapter's properties, like its device id and globally unique identifier (GUID) The adapter's MAC address is modified by setting the value `NetworkAddress` in a key in the registry path `HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}`. The registry key where `NetworkAddress` is set is found by matching your adapter's GUID to the `NetCfgInstanceId` value.
mac-spoofer uses the WMI API and Win32 API to retrieve your network adapter's properties, like its device id and globally unique identifier (GUID). The adapter's MAC address is modified by setting the value `NetworkAddress` in a key in the registry path `HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}`. The registry key where `NetworkAddress` is set is found by matching your adapter's GUID to the `NetCfgInstanceId` value.

Note that the second nibble of the MAC address must be '2', '6', 'A', or 'E'. This is because the second-least significant bit of the most significant byte of the address is `1` if your address is locally administered, or `0` if it universally administered. Universally administered addresses are assigned by the device's manufacturer, so your universally administered address is your original address. Since we are locally changing the MAC address, the second-least significant bit of the first byte must be `1`. The least significant bit of the first byte must also be `0` because your adapter is using unicast transmission (i.e., only one NIC is receiving frames).

With the second-least significant bit of the first byte as `1` and the least significant bit of the first byte as `0`, only '2', '6', 'A', or 'E' are possible hex values for the second nibble.

### How to Use

By default, `mac-spoofer` modifies the MAC address of the network adapter that currently has a connection, so make sure you are connected to the internet before it is used. Alternatively, you can specify the name of the adapter you want to change with
By default, mac-spoofer modifies the MAC address of the network adapter that currently has a connection, so make sure you are connected to the internet before it is used. Alternatively, you can specify the name of the adapter you want to change with

`mac-spoofer -n <name>`

Expand Down

0 comments on commit 570f675

Please sign in to comment.