How to Create A .ehi Configuration File for HTTP Injector
How to Create A .ehi Configuration File for HTTP Injector

How to Create A .ehi Configuration File for HTTP Injector

Posted on

Blog.Fastssh.com – How to Create A .ehi Configuration File for HTTP Injector – HTTP Injector is a mobile proxy server with the ability to modify requests and access blocked websites behind a firewall with SSH support. Developed by Evozi for the Android operating system.

It works as an universal SSH/Proxy/SSL Tunnel/Shadowsocks client to help you access blocked websites behind firewall. Besides that it also encrypts your connection so that you can surf the internet privately and securely. It Secures your Android device from hackers and online threats when using a public WiFi.

Before we start the tutorial we will discuss first a brief introduction about .EHI File.

What is an .ehi file?

The EHI file is a created configuration which will be imported into the HTTP Injector. It consists of the payload, remote proxy, and SSH account credentials.

How to Create A .ehi Configuration File for HTTP Injector

Things Needed:

  1. HTTP Injector (You can download on playstore).
  2. Payload (use my payload later below).
  3. SSH or SSL account.
  4. Remote proxy (if needed).

1. Create a HTTP Injector .ehi config file of type “Direct” and “Custom Payload“.

Open your HTTP Injector application then tap on “HTTP Proxy – SSH (Custom Payload)“.

Create a HTTP Injector .ehi config file of type "Direct" and "Custom Payload".

On the Tunnel Type menu select “Secure Shell (SSH)” on Connect From select “None (Direct)” In the Options Check “Custom Payload” and Save.

Create a HTTP Injector .ehi config file of type "Direct" and "Custom Payload".

The result will be like the image below:

Create a HTTP Injector .ehi config file of type "Direct" and "Custom Payload".

Next we will fill in the Payload on the HTTP Injector form.

The following is the active payload for Instagram bugs that you can use.

CONNECT [host_port] [protocol][crlf]Host: m.instagram.com[crlf]X-Online-Host: m.instagram.com[crlf]X-Forward-Host: m.instagram.com[crlf]Connection: Keep-Alive[crlf][crlf]

Or another payload (Brazil country):

CONNECT [host_port][split][lf] HTTP/1.1 [lf]Host: vivo.com.br[crlf][crlf]CONNECT [crlf][crlf]

Enter the payload above on the HTTP Injector form. After that tap (follow the arrows) to export config.

How to Create A .ehi Configuration File for HTTP Injector

Tap Export Config.

How to Create A .ehi Configuration File for HTTP Injector

Give your config a name, for example I made the config name “instagram bug“. In Security / Locking, check “Lock config and prevent editing” and on the General menu check “Payload” check “Remote Proxy Username and Password” and check Server Name Indication (SNI). As in the image below:

How to Create A .ehi Configuration File for HTTP Injector

In the Secure Shell (SSH) menu you don’t need to check it, we will create a config that unlocks SSH, so that later we will enter SSH manually.

Setting HTTP Injector

Next, on the “Extra” menu, you can check the checkbox according to your needs, for example I checked “Disallow torrent” so that the configuration cannot be used for torrent sites.

Setting HTTP Injector

Message / Notes For Users you can fill in as you wish. Example of contact info for hi config maker.

Setting HTTP Injector

After you set everything up correctly, now you save your config.

Save Export Config HI

Tap EXPORT CONFIG.

Save Export Config HI

Your made HTTP Injector config has been successfully exported.

Save Export Config HI

You have successfully created the HTTP Injector config. The next step is to import the config that you created.

How to Import HTTP Injector Config

On the home menu in the HTTP Injector application, tap as shown below:

How to Import HTTP Injector Config

Tap Import Config.

Find where you imported the config that you created earlier, usually the config file will be located in the “HTTP Injector” folder.

How to Import HTTP Injector Config

The .ehi file has been found, tap the config file.

How to Import HTTP Injector Config

HTTP Injector config has been successfully imported correctly.

How to Import HTTP Injector Config

Now we go to the next tutorial, which is setting up SSH / SSL accounts on HTTP Injector.

Settings SSH / SSL in HTTP Injector

To set up SSH / SSL on HTTP Injector, of course you must have an SSH / SSL account first, to create an SSH / SSL account for free you can follow the tutorial we have shared in the link below:

Note! Remember to create an SSH / SSL account according to the config you will use, if you use the payload type config you usually use SSH Dropbear or SSH Open SSH. Meanwhile, if you use the SSL (SNI) type config then you are using SSH SSL / STUNNEL. For example, we use SSH Dropbear because the config we are using is No Proxy (Direct Payload) config.

Tap on the (gear icon) in the upper right corner of the http injector application.

Settings SSH / SSL in HTTP Injector

On the settings menu tap the Secure Shell (SSH) menu.

Settings SSH / SSL in HTTP Injector

Enter the host, username, password and port of the ssh account that you created on fastssh.

Settings SSH / SSL in HTTP Injector

Settings SSH / SSL in HTTP Injector is done.

Connect HTTP Injector

After import config, enter SSH account, now you connect your HTTP Injector. By tap START. After that, tap on the “LOG” menu to see the status info, whether your HTTP Injector has been successfully connected?

Connect HTTP Injector

Congratulations! Your HTTP Injector has been successfully connected. That means you have successfully created .ehi HTTP Injector Config.

Done.

The tutorial we described above is to create a .ehi HTTP Injector config of No Proxy, Direct, Payload types. You can also create a .ehi “Custom Payload” and “Proxy”.

Below we will explain about creating a .ehi type “Custom Payload” and “Proxy“.

2. Create a HTTP Injector .ehi config file of type “Custom Payload” and “Proxy”

To make .ehi HTTP Injector config with Payload and Proxy types you need an active Squid Proxy. The method is almost the same as creating a Direct type .ehi config as in the tutorial above, it’s just that we need an additional proxy.

Open your HTTP Injector application then tap on “HTTP Proxy – SSH (Custom Payload)“.

How to Create A .ehi Configuration File for HTTP Injector

On the “Tunnel Type” menu, check “Secure Shell (SSH)” On the “Connect From” menu select “HTTP Proxy” and check “Custom Payload” then save. Like the picture below.

Payload Proxy Squid

In From “Payload” fill in the payload then “Remote Proxy” fill with Squid Proxy and its Port.

An example of a payload that you can use for this type of Squid proxy:

CONNECT [host_port]m.instagram.com HTTP/1.0[split]HEAD http://m.instagram.com/ HTTP/1.1[crlf]Host: m.instagram.com[crlf][crlf]

Then we use the Squid Proxy and the Port we use the Squid Proxy from FastSSH because we also use SSH from FastSSH:

  • 194.124.35.115:8080 (SquidProxy:Port).

how to create a .ehi file

how to create a .ehi file

After that you enter the SSH account. For how to create an SSH account and how to set SSH on the HTTP Injector as described above, the method is the same.

Settings SSH / SSL in HTTP Injector

Until this point, you just need to connect your HTTP Injector to test whether the Payload and Proxy Squid work?

Tap START then tap LOG To see the status.

how to create a .ehi file

Payload and Proxy Squid successfully connect properly.

how to create a .ehi file

how to create a .ehi file

You have successfully created a .ehi HTTP Injector config type Payload + Proxy Squid. Now you can export your config to share with other users.

3. Create a HTTP Injector .ehi config file of type SSL or SNI

To create a .ehi HTTP Injector type SSL config or it can be called using SNI, you don’t need a Payload or Proxy. All you need is an active SNI / host bug.

Open your HTTP Injector application then tap on “HTTP Proxy – SSH (Custom Payload)“.

How to Create A .ehi Configuration File for HTTP Injector

Check TLS / SSL (stunnel) then save.

How to Create A .ehi Configuration File for HTTP Injector

The form “Server Name Indication (SNI) you fill in with an active SNI host bug in accordance with the free internet trick you will use. For example, I use SNI “m.instagram.com” to change the Instagram package to become a regular quota.

How to Create A .ehi Configuration File for HTTP Injector

After that you export the config that you have created. The way to import the config is exactly the same as the tutorial that we explained above.

Then for the SSH you use, you have to create an SSH type SSL / STUNNEL account. The tutorial on how to set SSH is also the same as the tutorial above, the only difference lies in the type of SSH you are using.

Explanation of Payload for HTTP Injector

Here are the payload basics that you can develop yourself according to your needs.

As we have explained above, payload functions so that your free internet tricks work properly, payload has many types. Here are the payload basics that you can develop yourself.

Basic payload for freenet

Payload after concatenation:

  • Normal: CONNECT [host_port] [protocol][crlf]Host: domain.com[crlf][crlf]
  • Front Inject: GET http://domain.com/ HTTP/1.1[crlf]Host: domain.com[crlf][crlf]CONNECT [host_port] [protocol][crlf][crlf]
  • Back Inject: CONNECT [host_port] HTTP/1.1[crlf][crlf]GET http://domain.com/ [protocol][crlf]Host: domain.com[crlf][crlf]
  • Front Query: CONNECT [email protected][host_port][crlf]GET http://domain.com/ [protocol][crlf]Host: domain.com[crlf][crlf]
  • Back Query: CONNECT [host_port]@domain.com[crlf]GET http://domain.com/ [protocol][crlf]Host: domain.com[crlf][crlf]

domain.com” please change it yourself with an active bug host / sni in accordance with the free internet trick that you will use.

The rest about Payload and Bug Host / SNI you can find and develop yourself according to your needs.

Conclusion

By following the tutorial “How to Create A .ehi Configuration File for HTTP Injector” we shared, you can easily create any type of HTTP Injector .ehi config according to the menu on the HTTP Injector. You can also develop your own, such as developing payload types, active SNI host bugs, so that the free internet tricks you use run well.

Recent data:

  • how to create an ehi file
  • how to create http injector ehi
  • Http injector ehi file download 2020 for telkom
READ  How to Use SSTP VPN on Windows with Application