mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
23 lines
455 B
Java
23 lines
455 B
Java
package org.matt123337.spoofer;
|
|
|
|
import java.net.InetAddress;
|
|
|
|
public class NetworkInterface {
|
|
|
|
private byte[] mac = new byte[]{11,11,11,11,11,11};
|
|
|
|
private static NetworkInterface cached;
|
|
|
|
public byte[] getHardwareAddress(){
|
|
System.out.println("[NI_HOOK] Mac Address Spoofed!");
|
|
return mac;
|
|
}
|
|
|
|
public static NetworkInterface getByInetAddress(InetAddress addr){
|
|
if(cached == null)
|
|
cached = new NetworkInterface();
|
|
return cached;
|
|
}
|
|
|
|
}
|