Guest User

Untitled

a guest
Feb 3rd, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. #!/usr/bin/python
  2. #MarsGame_Bot
  3. import requests
  4.  
  5. def BotAutoBuy(login, password):
  6.     session = requests.Session()
  7.     post =  {
  8.                 'id1_hf_0': '',
  9.                 'nick': login,
  10.                 'password': password
  11.             }
  12.     html = session.post('http://marsgame.mobi/login?-1.IFormSubmitListener-loginForm', params=post, verify=False)
  13.     html = session.get('http://marsgame.mobi/game?1-1.ILinkListener-titleLink')        
  14.     print(html.text)
Add Comment
Please, Sign In to add comment