meow
commit
674ec12e49
@ -0,0 +1,5 @@
|
||||
Для использования желательно иметь под рукой proxychains и список проксей (т.к. рано или поздно там срабатывает fail2ban или что-то типа того)
|
||||
Пускать через
|
||||
```
|
||||
proxychains -q -f proxy.conf python meow.py
|
||||
```
|
@ -0,0 +1,35 @@
|
||||
from multiprocessing import Process
|
||||
from faker import Faker
|
||||
import requests
|
||||
|
||||
fake = Faker()
|
||||
url = "https://duchoacity.com/pleasario/filla.gtd.html"
|
||||
|
||||
headers = {
|
||||
"Accept": "*/*",
|
||||
"Accept-Encoding": "gzip, deflate, br",
|
||||
"Accept-Language": "en-US,en;q=0.9",
|
||||
"Cache-Control": "no-cache",
|
||||
"Connection": "keep-alive",
|
||||
"Content-Length": "69",
|
||||
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
|
||||
"Host": "duchoacity.com",
|
||||
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36",
|
||||
}
|
||||
|
||||
def send_post_request():
|
||||
while True:
|
||||
payload = {
|
||||
"username": fake.simple_profile()["username"] + "@mipt.ru",
|
||||
"password": fake.password(),
|
||||
}
|
||||
response = requests.post(url, data=payload, headers=headers)
|
||||
|
||||
time = response.headers["Date"].split(" ")[4]
|
||||
print(f"{time} - Request sent. Status Code: {response.status_code}")
|
||||
|
||||
# starts 25 different processes running this code
|
||||
if __name__ == "__main__":
|
||||
for _ in range(25):
|
||||
Process(target=send_post_request).start()
|
||||
|
@ -0,0 +1,3 @@
|
||||
chain_len = 1
|
||||
[ProxyList]
|
||||
socks5 127.0.0.1 9050
|
Loading…
Reference in New Issue