Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- import os
- import random
- import string
- from bs4 import BeautifulSoup
- chars = (['1','2','3','4','5','6','7','8','9'])
- 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'])
- url = 'https://poshmark.com/signup'
- 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"])
- https_proxy = random.choice(https_proxys)
- proxyDict = {"https" : https_proxy}
- r = requests.get(url, headers=headers, proxies=proxyDict)
- def poshmark_login():
- email = ''.join(random.choice(mylist) for i in range(8)) + ''.join(random.choice(chars) for i in range(4)) + '@gmail.com'
- random.shuffle(chars)
- random.shuffle(mylist)
- password = 'fgsadhyfthy4565443'
- first_name = 'Joanads'
- last_name = 'Jsdahfuedsa'
- username = ''.join(random.choice(mylist) for i in range(8)) + ''.join(random.choice(chars) for i in range(4))
- random.shuffle(mylist)
- random.shuffle(chars)
- requests.post(r, allow_redirects=False, data={
- 'sign_up_form[first_name]': first_name,
- 'sign_up_form[last_name]': last_name,
- 'sign_up_form[email]': email,
- 'sign_up_form[username]': username,
- 'sign_up_form[password]': password,
- })
- print(f"sending username {username} ,password {password} ,email {email} ,first_name {first_name} and last_name {last_name}")
- while True:
- poshmark_login()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement