command
module
Version:
v0.0.0-...-d2bc8cc
Opens a new window with list of versions in this module.
Published: Apr 27, 2021
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
whatismyip
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
whatismyip
Screenshots
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
git clone https://github.com/beckxie/whatismyip.git
make all
Deployment
- Get the executable file by build or download.
- 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
Acknowledgments
GitHub Corners - tholman/github-corners
shields.io - badges/shields
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.