# spoof **Repository Path**: cn09876/spoof ## Basic Information - **Project Name**: spoof - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-20 - **Last Updated**: 2021-08-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 修改网卡MAC地址的工具 1. Install **spoof** by typing this command and pressing `Enter`. ```bash npm install spoof -g ``` That's it! **spoof** is installed. 2. Now, let's print out the **help page**. Just like before, run this command in **Terminal**. ```bash spoof --help ``` 3. Now, let's print out all our network devices. ```bash spoof list ``` 4. Find the device you want to set or randomize the MAC address for in the list. Wi-Fi is usually called `en0` on modern Macs. Then, run this command: ```bash sudo spoof randomize en0 ``` You may need to reconnect to the Wi-Fi hotspot you were connected to. But, that's it! Your MAC address is changed. You can confirm by re-running: ```bash spoof list ``` ## Full command list You can always see up-to-date usage instructions by running spoof --help. ### List available devices ```bash spoof list - "Ethernet" on device "en0" with MAC address 70:56:51:BE:B3:00 - "Wi-Fi" on device "en1" with MAC address 70:56:51:BE:B3:01 currently set to 70:56:51:BE:B3:02 - "Bluetooth PAN" on device "en1" ``` ### List available devices, but only those on Wi-Fi ```bash spoof list --wifi - "Wi-Fi" on device "en0" with MAC address 70:56:51:BE:B3:6F ``` ### Randomize MAC address *(requires root)* You can use the hardware port name, such as: ```bash spoof randomize wi-fi ``` or the device name, such as: ```bash spoof randomize en0 ``` ### Set device MAC address to something specific *(requires root)* ```bash spoof set 00:00:00:00:00:00 en0 ``` ### Reset device to its original MAC address *(requires root)* While not always possible (because sometimes the original hardware MAC isn't available), you can try setting the MAC address of a device back to its burned-in address using `reset`: ```bash spoof reset wi-fi ```