Created
March 3, 2017 06:50
-
-
Save eaconde/b88fb66fb48b6361ccd9eec72af241f2 to your computer and use it in GitHub Desktop.
Random Stuff Generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MAC Address | |
(1..6).collect { "%02x" % [rand(255)] }.join(":").upcase | |
# IP Adress | |
4.times.collect { rand(128) }.join(".") | |
# Port | |
1024 + rand(64512) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment