# fiddler-everywhere-enhance **Repository Path**: hellomdk/fiddler-everywhere-enhance ## Basic Information - **Project Name**: fiddler-everywhere-enhance - **Description**: aaaaaaaaaaaaaaaa - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-03-20 - **Last Updated**: 2023-03-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Get Latest Version ## Linux api(dot)getfiddler(dot)com/linux/latest-linux ## Windows api(dot)getfiddler(dot)com/win/latest ## NOTICE If you are using windows, just try https://github.com/dnSpyEx/dnSpy ## get ilasm (ildasm) 1. dotnet new console -n test 2. cd test 3. dotnet add package Microsoft.NETCore.ILAsm (ILDAsm) 4. dotnet publish -c Release --self-contained --runtime linux-x64 5. export PATH=$(pwd)/bin/Release/netcoreapp3.1/linux-x64/publish:$PATH 6. ilasm (ildasm) ## main.xxxx.js 打开 `fiddler/resources/app/out/WebServer/ClientApp/dist/main.xxx.js` 搜索 `updateUserLicense` 函数开始处添加:(请将 `Ie` 替换为参数名称) ```javascript Ie.licenseInfo.currentLicense = "Enterprise" Ie.licenseInfo.hasExpiredTrial = false Ie.licenseInfo.isTrialAvailable = false Ie.licenseInfo.hasValidLicense = true ``` ## Fiddler.WebUi.il > 修改此文件去除文件校验 对两个函数 `TryOpenClientMainScript` 与 `TryOpenElectronMainScript` 做相同操作 删除函数内以下代码之前的所有代码 ``` IL_0208: /* 17 | */ ldc.i4.1 IL_0209: /* 2A | */ ret ``` ## FiddlerBackendSDK.il ### method FiddlerBackendSDK.User.UserClient::GetBestAccount 删除 IL_000d - IL_0020 对应 if 语句 删除 IL_003f - IL_0040 对应 `return null;` 语句 ### method '<>c__DisplayClass18_0'::'b__0' 删除 IL_0000 - IL_0019 , 在 IL_001e 前插入 `ldc.i4.1` (即函数体直接返回 `true` ) from ```c# public AccountDTO GetBestAccount(UserWithBestAccountDTO user) { if (user.BestEverywhereAccountId != null) { return user.Accounts.FirstOrDefault((UserAccountDTO x) => x.Id == user.BestEverywhereAccountId.Value); } return null; } ``` to ```c# 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` ## Some Detail [Let me see](./DETAIL.MD) ## 免责声明 本仓库仅供技术学习交流使用,如有下载相关文件,请在学习后24小时内删除相关内容。 请勿将本项目内容用于非法用途,使用者在使用时即视为对行为可能产生的任何不良后果负责。 由于传播、利用此工具所提供的信息而造成的任何直接或者间接的后果及损失,均由使用者本人负责,作者不为此承担任何责任。