Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def generate_url(length=7)
- protocall = %w(https:// http://)
- body = rand(36**length).to_s(36)
- num = rand(1..999).to_s
- url = "#{protocall.sample.to_s}#{body}.com/php?id=#{num}"
- green(url)
- end
- #<= http://s857yi5.com/php?id=168
- #<= https://6rm0oq3.com/php?id=106
- #<= http://skhvk1n.com/php?id=306
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement