mirror of
https://github.com/YoulianBoshi/lantern-vpn.git
synced 2026-04-02 02:00:40 +08:00
Update README.md
This commit is contained in:
32
README.md
32
README.md
@@ -4,3 +4,35 @@
|
||||
|
||||
**更多免费MTP、HTTPS、Ikev2代理节点订阅频道不怕迷路**
|
||||
https://t.me/MTPdaili
|
||||
|
||||
**有人私信要源码,以下是核心代码**
|
||||
|
||||
```
|
||||
破解原理为生成随机MAC地址欺骗程序达到无限试用
|
||||
以下是核心代码部分(api hook)
|
||||
|
||||
HOOKDEF(ULONG, WINAPI, GetAdaptersAddresses,
|
||||
__in ULONG Family,
|
||||
__in ULONG Flags,
|
||||
__reserved PVOID Reserved,
|
||||
__out_bcount_opt(*SizePointer) PIP_ADAPTER_ADDRESSES AdapterAddresses,
|
||||
__inout PULONG SizePointer
|
||||
)
|
||||
{
|
||||
srand( (unsigned)time( NULL ) );
|
||||
|
||||
ULONG ret = Real_GetAdaptersAddresses(Family, Flags, Reserved, AdapterAddresses, SizePointer);
|
||||
while(AdapterAddresses){
|
||||
if (AdapterAddresses->PhysicalAddressLength >=5 ){
|
||||
AdapterAddresses->PhysicalAddress[0] += rand();
|
||||
AdapterAddresses->PhysicalAddress[1] += rand();
|
||||
AdapterAddresses->PhysicalAddress[2] += rand();
|
||||
AdapterAddresses->PhysicalAddress[3] += rand();
|
||||
AdapterAddresses->PhysicalAddress[4] += rand();
|
||||
}
|
||||
|
||||
AdapterAddresses = AdapterAddresses->Next;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user