Advertisement
nauk0a

cyber

Oct 14th, 2021
932
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.47 KB | None | 0 0
  1. session = requests.Session()
  2. link = 'https://www.cyberforum.ru/posting.php?do=login'
  3. # israr.comsas@gmail.com Israr@1990
  4.  
  5.  
  6. user = fake_useragent.UserAgent().random
  7.  
  8. header = {
  9.     'user-agent': user
  10. }
  11.  
  12. data = {
  13.     'vb_login_username': 'israr.comsas@gmail.com',
  14.     'vb_login_password': 'Israr@1990'
  15. }
  16.  
  17. responce = session.post(link, data=data, headers=header).text
  18.  
  19. with open('2.html', 'w', encoding='utf-8') as file:
  20.     file.write(responce)
  21.  
  22. print(responce)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement