lundi 17 avril 2017

Creating fake IP address Using Javascript [duplicate]

This question already has an answer here:

I am trying to create fake IP address using the following javascript random method. But not works.

any one help me to get the correct way to do this?

here is my try: I am looking like ( "192.168.10.2")

 console.log(  Math.random(256) + "." + Math.random(256) + "." + Math.random(256) + "." + Math.random(256) );




Aucun commentaire:

Enregistrer un commentaire