3 ms·
function randomIP() { return int2ip(Math.random()\*4294967296) ; } says it all - better don't "mess" with what you encounter
by yayr 5y ago
function randomIP() {
return int2ip(Math.random()\*4294967296) ;
}
says it all - better don't "mess" with what you encounter
- allarm 5y agoIt doesn't even exclude RFC1918 and multicast addressses. Not really efficient.