Advertisement
Guest User

Untitled

a guest
Apr 8th, 2019
2,880
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. mport requests
  2. import os
  3. import random
  4. import string
  5. from bs4 import BeautifulSoup
  6.  
  7.  
  8. chars = (['1','2','3','4','5','6','7','8','9'])
  9.  
  10. mylist = (['a','b','c','d','e','f','g','h','i','j','f','k','z','d','e','f','g','h','i','j','f','k','z','d','a','b','c','d','e','f','g','h','i','j','f','k','z','d','e','f','g','h','i','j','f','k','z','d'])
  11.  
  12. url = 'https://poshmark.com/signup'
  13.  
  14.  
  15. def poshmark_login():
  16.  
  17. https_proxys = (["https://10.10.1.11:1080","https://137.53.216.209:443","https://137.53.216.209:443", "https://35.235.86.137:3128", "https://104.155.40.117:3128", "https://194.15.108.191:8888", "https://178.128.12.231:3128", "https://64.154.91.203:53281", "https://160.2.52.234:8080", "https://174.136.111.210:8080", "https://35.222.100.222:3128", "https://68.177.70.254:61526", "https://64.91.248.243:3128", "https://64.17.30.238:63141", "https://40.114.109.214:3128", "https://104.236.48.178:8080", "https://35.245.78.255:3128", "https://104.236.47.73:8080", "https://159.89.83.140:80", "https://18.144.33.223:80","https://104.43.244.233:80", "https:18.223.97.220:80"])
  18.  
  19. https_proxy = random.choice(https_proxys)
  20.  
  21. proxyDict = {"https" : https_proxy}
  22.  
  23. r = requests.get(url, headers=headers, proxies=proxyDict)
  24.  
  25. email = ''.join(random.choice(mylist) for i in range(8)) + ''.join(random.choice(chars) for i in range(4)) + '@gmail.com'
  26. random.shuffle(chars)
  27. random.shuffle(mylist)
  28. password = 'fgsadhyfthy4565443'
  29. first_name = 'Joanads'
  30. last_name = 'Jsdahfuedsa'
  31. username = ''.join(random.choice(mylist) for i in range(8)) + ''.join(random.choice(chars) for i in range(4))
  32. random.shuffle(mylist)
  33. random.shuffle(chars)
  34.  
  35. requests.post(r, allow_redirects=False, data={
  36. 'sign_up_form[first_name]': first_name,
  37. 'sign_up_form[last_name]': last_name,
  38. 'sign_up_form[email]': email,
  39. 'sign_up_form[username]': username,
  40. 'sign_up_form[password]': password,
  41. })
  42.  
  43. print(f"sending username {username} ,password {password} ,email {email} ,first_name {first_name} and last_name {last_name}")
  44.  
  45. while True:
  46. poshmark_login()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement