api(dot)getfiddler(dot)com/linux/latest-linux
api(dot)getfiddler(dot)com/win/latest
If you are using windows, just try https://github.com/dnSpyEx/dnSpy
- dotnet new console -n test
- cd test
- dotnet add package Microsoft.NETCore.ILAsm (ILDAsm)
- dotnet publish -c Release --self-contained --runtime linux-x64
- export PATH=$(pwd)/bin/Release/netcoreapp3.1/linux-x64/publish:$PATH
- ilasm (ildasm)
打开 fiddler/resources/app/out/WebServer/ClientApp/dist/main.xxx.js
搜索 updateUserLicense
函数开始处添加:(请将 Ie
替换为参数名称)
Ie.licenseInfo.currentLicense = "Pro"
Ie.licenseInfo.hasExpiredTrial = false
Ie.licenseInfo.isTrialAvailable = false
Ie.licenseInfo.hasValidLicense = true
修改此文件去除文件校验
对两个函数 TryOpenClientMainScript
与 TryOpenElectronMainScript
做相同操作
删除函数内以下代码之前的所有代码
IL_0208: /* 17 | */ ldc.i4.1
IL_0209: /* 2A | */ ret
删除 IL_000d - IL_0020 对应 if 语句
删除 IL_003f - IL_0040 对应 return null;
语句
删除 IL_0000 - IL_0019 , 在 IL_001e 前插入 ldc.i4.1
(即函数体直接返回 true
)
from
public AccountDTO GetBestAccount(UserWithBestAccountDTO user)
{
if (user.BestEverywhereAccountId != null)
{
return user.Accounts.FirstOrDefault((UserAccountDTO x) => x.Id == user.BestEverywhereAccountId.Value);
}
return null;
}
to
public AccountDTO GetBestAccount(UserWithBestAccountDTO user)
{
return user.Accounts.FirstOrDefault((UserAccountDTO x) => true);
}
修改 fiddler/resources/app/out/main.js
,搜索 e.settingsService.get().autoUpdateSettings.disabled
替换为 true||e.settingsService.get().autoUpdateSettings.disabled