Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/szczyglis-dev/browser-ip-host-auto-header

[JS] Extension for Chrome, Firefox and Opera browsers which allows you to create a list of IP addresses and their corresponding hosts. Hostnames assigned to the IP address are then automatically appended to the request in the HTTP "Host" header if a connection to the given IP address is detected.
https://github.com/szczyglis-dev/browser-ip-host-auto-header

browser-extension chrome-extension firefox firefox-addon firefox-extension header host http ip list opera-addon opera-extension website

Last synced: 10 days ago
JSON representation

[JS] Extension for Chrome, Firefox and Opera browsers which allows you to create a list of IP addresses and their corresponding hosts. Hostnames assigned to the IP address are then automatically appended to the request in the HTTP "Host" header if a connection to the given IP address is detected.

Awesome Lists containing this project

README

        

Current release: **1.2** build 2022-02-28

# IP-Host Auto Header - browsers extension/add-on

Supported browsers: **Firefox, Opera, Chrome, Chromium**

**The `IP-host Auto Header` extension allows you to create a list of IP addresses and their corresponding hosts.
Hostnames assigned to the IP address are then automatically appended to the request in the HTTP "Host" header if a connection to the given IP address is detected. This enables automated access to servers using their IP addresses and a prepared list against domain names. The list of IP addresses / hosts can be exported / imported from a JSON file.**

## Features:

- easy to use
- provides access to websites via an IP address
- provides access to websites during DNS failure
- allows you to create your own list of IP addresses and their assigned hosts
- automatically detects if the requested IP address is on the list
- automatically includes the appropriate HTTP Host header to the request
- allows you to import / export a list of IP addresses and hosts

## How to install:

You can choose installation method: online (from addon official page) and dev (from github).
Currently only Firefox version is enabled in addons page.

**1) Install from add-ons page:**

Firefox: https://addons.mozilla.org/pl/firefox/addon/ip-host-auto-header/

**2) Install from GitHub (dev mode):**

# Chrome / Chromium

1) Download .zip file and extract it
2) Enter `chrome://extensions` in the URL bar
3) Enable `Developer Mode` if disabled
4) Click on `Load unpacked` button and choose `./chrome` directory from extracted zip archive
5) Pin extension to toolbar and go to extension options/preferences to configure IP/Host list.

**Tutorial:** https://developer.chrome.com/docs/extensions/mv3/getstarted/#unpacked

# Firefox

1) Download .zip file and extract it
2) Enter `about:debugging` in the URL bar
3) Click `This Firefox`
4) Click `Load Temporary Add-on` button and choose `./firefox/manifest.json` file from extracted zip archive
5) Go to Add-on preferences to configure IP/Host list.

**Tutorial:** https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/

`WARNING` in Firefox temporary extensions are only active until the browser is turned off

# Opera

1) Download .zip file and extract it
2) Enter `opera:extensions` in the URL bar
3) Enable `Developer Mode` if disabled
4) Click `Load Temporary Add-on` button and choose `./opera/manifest.json` file from extracted zip archive
5) Pin extension to toolbar and go to Add-on preferences to configure IP/Host list.

**Tutorial:** https://dev.opera.com/extensions/basics/

---

## Usage:

1) Go to `Options/Preferences` (depends on selected browser)
2) Add IP and host and enable it by enabling checkbox next to it
3) If enabled, the browser will automatically attach the `HTTP Host` header corresponding to this IP address during the request
4) Optionally export your list and import on another device

---

## Screenshot:

![screenshot](https://user-images.githubusercontent.com/61396542/155732772-a52927c5-058b-4290-8fae-ab8871fcd09e.png)

---
**Extension is free to use, but if you like it, you can support my work by buying me a coffee ;)**

https://www.buymeacoffee.com/szczyglis

**Enjoy!**

MIT License | 2022 Marcin 'szczyglis' Szczygliński

https://github.com/szczyglis-dev/browser-ip-host-auto-header

Contact: [email protected]