O
O
olerrz2021-10-11 05:32:16
Python
olerrz, 2021-10-11 05:32:16

Scrf bypass in request in python?

Hello everyone, I want to ask a question. How can I generate a token in the header of a request request? I saw how it was designated as a variable, but after several attempts, I still did not understand how this was done. I will say thank you for any methods of bypassing the scrf, an example is below:

def poisondrop(phone, user_agent, proxies):
            try:
                requests.post("https://poisondrop.ru/auth/identification", proxies=proxies, 
headers={"User-Agent": str(user_agent), X-CSRF-TOKEN': 'cO6V6zYbnFtTqenwgmoypJV9mVcNEw44OUjDs2B5'}, data={'ident_method': 'PHONE', 'login': '+'+phone})

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question