Files
Grey_Hack/tool/randomIP.src

8 lines
294 B
Plaintext

randomIp = function()
while true
ip = floor((rnd * 255) + 1) + "." + floor((rnd * 255) + 1) + "." + floor((rnd * 255) + 1) + "." + floor((rnd * 255) + 1)
if not is_valid_ip(ip) then continue
if is_lan_ip(ip) then continue
return ip
end while
end function