From 4054c7d4810f3c52f2f113fede1fa16767883e5b Mon Sep 17 00:00:00 2001 From: hyugogirubato <65763543+hyugogirubato@users.noreply.github.com> Date: Sun, 6 Oct 2024 12:37:33 +0200 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7f820ab..c9ca706 100644 --- a/README.md +++ b/README.md @@ -36,26 +36,31 @@ pip install -r requirements.txt ### 1. Import Certificates -Import the `.crt` certificates located in the `docs` folder into the **HTTP Toolkit** settings to enable interception of the application's network traffic. +Import the `.crt` certificates located in the `docs/` folder into the **HTTP Toolkit** settings to enable interception of the application's network traffic. - ### 2. Generate Custom Mock Rules Create mock rules to be used with **HTTP Toolkit** for intercepting and modifying network traffic. Run the following command: + ```bash python rules.py ``` For example: + ```bash python rules.py --rules template.json --output my_rules.json ``` -After generating the rules, import the resulting file into HTTP Toolkit. +* In ``, you should provide the path to the default rules creation file, which is `template.json` located in the `src/` folder. +* In ``, you should provide the name of the folder where your generated rules will be saved based on the`template.json` file. +* If you copy and paste the example, it should work, and the file to import into **HTTP Toolkit** will be named`HTTPToolkit_DVDFab.htkrules`, which will be located in the folder you named, such as `my_rules.json` in this example. + +After generating the rules, import the resulting file into **HTTP Toolkit**. ### 3. Run the Mock Server @@ -65,13 +70,17 @@ After generating the rules, import the resulting file into HTTP Toolkit. Before launching any DVDFab product with the mock rules, ensure the server is running. To run the server: + ```bash python server.py --export ``` ### 4. Bypass License Authentication -After generating custom mock rules, import them into **HTTP Toolkit**. Launch the DVDFab software through an intercepted terminal and log in with your credentials. After logging in, close the software and enable the **Bypass Auth Ticket** rule to activate the software. +1. After generating custom mock rules, import them into **HTTP Toolkit**. +2. Launch the DVDFab software through an intercepted terminal and log in with your credentials. (This can be a free DVDFab account.) +3. After logging in, close the software and enable the **Bypass Auth Ticket** rule to activate the software. +4. Launch it again via the intercepted terminal, and the software will already be activated.