Adrosar / rtmor

Real-time Modification of Requests. Alternative to Requestly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RtMoR

Real-time Modification of Requests

RtMoR is alternative to Requestly

Why do I need RtMoR?

If you are working on an application in React, Angular, VueJS, you will definitely appreciate RtMoR. See the problem below that RtMoR is solving.

Issue (story):

You need to debug your JavaScript application in production. Unfortunately, you cannot make a copy of such an environment and nor can you access JS scripts on the server.

Thanks to RtMoR, you can redirect the selected resource request to the local server.

rtmor-scheme-307

So you can safely work in the production environment.

Examples (Linux, bash)

Remember to build a project!

./scripts/dist.sh

( ↑ Script dist.sh uses the GO compiler - recommended version: 1.17/1.18 )

Show help:

./build/linux-amd64/rtmor -help

Run proxy server that is listening on all network interfaces:

./build/linux-amd64/rtmor -start -listen 0.0.0.0:8888 -log BMW

Run with a configuration containing sample rules:

./build/linux-amd64/rtmor -start -listen 0.0.0.0:8888 -cfg ./configs/sample.yaml -log BMW

Configuration file

The configuration file contains examples of using RtMoR./configs/sample.yaml

Examples (Windows, cmd)

Remember to build a project!

scripts\dist.cmd

( ↑ Script dist.cmd uses the GO compiler - recommended version: 1.17/1.18 )

Run with a configuration containing sample rules:

build\windows-amd64\rtmor.exe -start -listen 0.0.0.0:8888 -cfg configs\sample.yaml -log BMW

HTTPS and Certificate

For HTTPS redirection to work, install the certificate on the device.

CA Root

  • ./assets/ca-root/ca.crt
  • ./assets/ca-root/ca.pem

The certificate comes from elazarl/goproxy

How do install a root certificate in Linux (Ubuntu, Linux Mint) https://askubuntu.com/questions/73287/how-do-i-install-a-root-certificate ( screenshot )

Runnable binaries

Download binaries ready to run.

Extra download RtMoR 0.7.4 + Firefox Portable Password: 2RstVAKVAub5

License

I put the software temporarily under the Go-compatible BSD license. If this prevents someone from using the software, do let me know and I'll consider changing it.

The software uses repositories:

Early stage

The software was created for personal use and is in the early stages of development, so CLI is subject to change.

Author

Adrian Gargula | github.com/Adrosar | bitbucket.org/Adrosar

About

Real-time Modification of Requests. Alternative to Requestly.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 87.1%Language:Batchfile 6.5%Language:Shell 5.3%Language:Dockerfile 0.8%Language:JavaScript 0.2%