Converts any given input (IPv4
, IPv6
or Domain name
) into a set of alternative and
obfuscated representations of itself.
An online demo is available at: https://altip.gogeoip.com
Usage of altip:
-a, --address string IP or Domain to obfuscate
-p, --prefix string Prefix to be added in front of the obfuscated ip
-H, --host string API host address to bind to (default "127.0.0.1")
-P, --port integer API port to listen on (default 8066)
-s, --serve Serve a public api endpoint
-h, --help Prints help information
altip -a 127.0.0.1
127.0.0.1
2130706433
0x7F.0x00.0x00.0x01
...
altip -a 127.0.0.1 -p http://
http://127.0.0.1
http://2130706433
http://0x7F.0x00.0x00.0x01
...
altip --serve
Listening on: http://127.0.0.1:8066/
API url: /{ip or hostname}/{optional prefix}
The given hostname will be resolved (if possible) to its corresponding ip address, the results may vary.
curl https://altip.gogeoip.com/127.0.0.1
127.0.0.1
2130706433
0x7F.0x00.0x00.0x01
0177.0000.0000.0001
0x000000007F.0x0000000000.0x0000000000.0x0000000001
0000000177.0000000000.0000000000.0000000001
0x7F.0x00.0x00.1
0x7F.0x00.0.1
0x7F.0.0.1
0x7F.0x0.0x0.1
0x7F.0x0.0.1
0177.0000.0000.1
0177.0000.0.1
0177.0.0.1
0x7F.0x00.1
0x7F.0x0.1
0177.0000.1
0x7F.1
0177.1
0x7F.0x00.0000.0001
0x7F.0x0.0000.0001
0x7F.0000.0000.0001
0x7F000001
017700000001
0x7F.0000.1
127.0.1
127.1
0177.0.0.01
0x7f.0x0.0x0.0x1
0x7f000001
0xb3326efc937f000001
111111111111111101111111000000000000000000000001
0x7f.0.0.0x1
::ffff:7f00:0001
0x249e9c416d7f000001
281472812449793
%3A%3A%66%66%66%66%3A%37%66%30%30%3A%30%30%30%31
%31%32%37%2E%30%2E%30%2E%31
127.000.000.001
curl https://altip.gogeoip.com/127.0.0.1/http
http://127.0.0.1
http://2130706433
http://0x7F.0x00.0x00.0x01
http://0177.0000.0000.0001
http://0x000000007F.0x0000000000.0x0000000000.0x0000000001
http://0000000177.0000000000.0000000000.0000000001
http://0x7F.0x00.0x00.1
http://0x7F.0x00.0.1
http://0x7F.0.0.1
http://0x7F.0x0.0x0.1
http://0x7F.0x0.0.1
http://0177.0000.0000.1
http://0177.0000.0.1
http://0177.0.0.1
http://0x7F.0x00.1
http://0x7F.0x0.1
http://0177.0000.1
http://0x7F.1
http://0177.1
http://0x7F.0x00.0000.0001
http://0x7F.0x0.0000.0001
http://0x7F.0000.0000.0001
http://0x7F000001
http://017700000001
http://0x7F.0000.1
http://127.0.1
http://127.1
http://0177.0.0.01
http://0x7f.0x0.0x0.0x1
http://0x7f000001
http://0x49d6efb9217f000001
http://111111111111111101111111000000000000000000000001
http://0x7f.0.0.0x1
http://[::ffff:7f00:0001]
http://0x98c2c880b27f000001
http://281472812449793
http://%3A%3A%66%66%66%66%3A%37%66%30%30%3A%30%30%30%31
http://%31%32%37%2E%30%2E%30%2E%31
http://127.000.000.001
git clone https://github.com/Webklex/altip
cd altip
go build -o altip main.go
Inspired by OsandaMalith/IPObfuscator.
The MIT License (MIT). Please see License File for more information.