Contents
Iris is software which makes Monitors healthy for the eyes.
Website:
https://iristech.co
Features
- Customize Blue light reduction and make your screen more Red, Orange or Yellow
- Automatically pause the timer while you are away from your PC
- Block keyboard while rest screen is shown to force yourself to take a break
Now I will show how to activate this excellent app for free on Mac.
Requirements
You can find all the registration info of the above apps on another post–Awesome MacOS Application.
Activation
Set up the Proxifier
Config all traffic to Charles.
Open the Proxifier–>Advanced–>Advanced–>HTTP Proxy–>Enable HTTP proxy servers support
Proxy–>Add–>127.0.0.1:8888@HTTP
Rules:
- Default–>Proxy HTTP 127.0.0.1:8888
- Charles–>Direct
Modify HTTP Response
The Iris will be activated by communicate with the server, we can change the content of response to register it.
Open the Charles and Iris, and open the setting of Iris.
Fill any string in the field of license and click the Activate Code
And you can see the HTTP request in the Charles, the content of response will be NO_SUCH_CODE
The possible response:
- SUCCESS (This is what we need)
- EXPIRED
- ALREADY_USED
- OTHER_VERSION
- NO_SUCH_CODE
- NO_GIVEAWAY
- CODE_FOR_IRIS_MINI
- SUCCESS_TEAM
- TEAM_CODE_FOR_IRIS_MINI
- NO_MORE_TEAM_ACTIVATIONS
- NO_SUCH_TEAM
- OfflineCode
We need to change the NO_SUCH_CODE to SUCCESS.
Right Click on the domain of Iris–>Breakpoints, to capture and modify the response.
Because the Iris have activated before, I will show another request with the same process.
Submit any string on setting of the Iris again. Then, the request will display on the Charles.
1 2 3 4 5 6 |
GET /custom-code/iris_license.php?activation_code=ssfsf&machine_fingerprint=15:2400:841:931:v2&version=0.9.5 HTTP/1.1 Accept-Encoding: gzip, deflate Accept-Language: en-US,* User-Agent: Mozilla/5.0 Host: iristech.co Connection: close |
Click Execute–>edit the response to “SUCCESS”
1 2 3 4 5 6 7 8 9 |
HTTP/1.1 200 OK Date: Sat, 12 May 2018 08:56:04 GMT Server: Apache Vary: User-Agent Content-Type: text/html; charset=UTF-8 Content-Length: 7 Proxy-Connection: close SUCCESS |
Block the Iris’s server
Run the following command on a terminal to add the line,”127.0.0.1 iristech.co“, to hosts.
1 |
sudo sh -c "echo '127.0.0.1 iristech.co' >> /etc/hosts" |