B1Blog / Tag / network

 

Why 2130706433 is a valid IP-Address

17.10.2023 | Adam Rabjerg in security

and so is 0x7F000001

We all know and are used to write IP addresses in “dot-notation” four octets 0-255, separated by a dot, simple and beautiful 10.3.104.27 – that is how it has always been done and how it should be done.

Some might know that you can shorten dot-notation, and just leave out any zeroes, so 127.0.0.1 becomes 127.1, but there are other ways to write an IP address, like 2130706433 or 0x7F000001.

Should you do it? … No! Can you do it? … Yes!

Let’s have some fun!

Weiter lesen ...
Col 2