This question already has an answer here:

  • 26 answers

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 ( "")

 console.log( Math.yui手工制作rss阅读器– php 某人的栖息地 php Ajax yui手工制作rss阅读器– Ajax random(256) + "." + Math.random(256)Ipad Best For And Fresh Frame 7 Apps Photo Iphone amp; 2018 4A0q0 + "."Ajax Ajax php php yui手工制作rss阅读器– 某人的栖息地 yui手工制作rss阅读器– +Ajax 某人的栖息地 php php yui手工制作rss阅读器– Ajax yui手工制作rss阅读器– Mathyui手工制作rss阅读器– php 某人的栖息地 php yui手工制作rss阅读器– Ajax Ajax .random(256) + "."某人的栖息地 php yui手工制作rss阅读器– Ajax php Ajax yui手工制作rss阅读器– + Math.random(256) );

marked as duplicate by John3136, JJJ, T.J. Crowder Apr 18 '17 at 5:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


The code should be :

var ip = yui手工制作rss阅读器– php Ajax Ajax php 某人的栖息地 yui手工制作rss阅读器– (Math.floor(Math.random() * 255) + 1)+"."+(Math.floor(Math.random() *Ajax php yui手工制作rss阅读器– Ajax php yui手工制作rss阅读器– 某人的栖息地 255) + 0)+"."+(Math.floor(Math.random() *php 某人的栖息地 yui手工制作rss阅读器– Ajax Ajax php yui手工制作rss阅读器– 某人的栖息地 yui手工制作rss阅读器– php php yui手工制作rss阅读器– Ajax Ajax 255) + 0)+"."+(Math.floor(Math.random() * 255Ajax php 某人的栖息地 php yui手工制作rss阅读器– Ajax yui手工制作rss阅读器– ) + Ajax yui手工制作rss阅读器– php Ajax 某人的栖息地 php yui手工制作rss阅读器– 0); console.log(ip)

The code (Math.floor(Math.random() * 255) + 1) means generate a random number between 1 and 255.

Not the answer you're looking for? Browse other questions tagged or ask your own question.