Skip to content

A web server that can show your real public IP address.

License

Notifications You must be signed in to change notification settings

beckxie/whatismyip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A web server that can show your real public IP address.

Resources

License

Stars

Watchers

Forks

Packages

No packages published