whatismyip

command module
v0.0.0-...-d2bc8cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2021 License: MIT Imports: 9 Imported by: 0

README

whatismyip

GitHub FOSSA Status

This ia a web server that can show your real public IP address.

Features

  • Show your real public IP address.
  • Show HTTP headers of your request.

Demo

Website

whatismyip

Screenshots

demo

Principles

Get first value of HTTP header X-Forwarded-For(XFF).

HTTP request (Example):

X-Forwarded-For: client, proxy1, proxy2

note: HTTP header is modifiable.

Prerequisites

Build

  1. git clone https://github.com/beckxie/whatismyip.git
  2. make all

Deployment

  1. Get the executable file by build or download.
  2. Run executable file.
Usage
  -p int
        http server port (default 9999)
  -tmpl string
        tmpl file (default "../web/template/whatismyip.tmpl")
  -v    version

References

License

This project is licensed under the MIT License - see the LICENSE file for details

FOSSA Status

Acknowledgments

GitHub Corners - tholman/github-corners

shields.io - badges/shields

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL