For those who want to try it at home:
ping 33333333
ping 55555555
I am sorry, two random Internet users in Korea and Germany, your IP addresses are simply special.
For those who want to try it at home:
ping 33333333
ping 55555555
I am sorry, two random Internet users in Korea and Germany, your IP addresses are simply special.
For those who are still confused, ping works with 32 bit unsigned integers. While there certainly are more uses, it’s a much more convenient method for storing IP address in a database as it’s easier to sort and index than 4 numbers separated by 4 periods
http://www.aboutmyip.com/AboutMyXApp/IP2Integer.jsp?ipAddress=1.1.1.1
it’s so simple!
ping -c 4 $(mysql -u frodo -p keepyoursecrets -D /home/pingtargets.db -se "SELECT ip FROM servers ORDER BY RAND() LIMIT 1;")