Advertisement
Guest User

Untitled

a guest
Jun 14th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2.  
  3. final_file = "proxy.txt"
  4. ipv4 = "185.118.66.250"
  5. startport = 13000
  6. numproxy = 500
  7.  
  8. user = "user1"
  9. password = "123456"
  10.  
  11. finallist = []
  12.  
  13. for i in range(startport, startport + numproxy):
  14. value = "{0}:{1}@{2}:{3}".format(
  15. ipv4, i, user, password)
  16. finallist.append(value)
  17.  
  18. with open(final_file, "w") as f1:
  19. for line in finallist:
  20. f1.write(line + "\n")
  21.  
  22. print("Finish work!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement