Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1.  
  2. import requests
  3.  
  4. from requests import HttpBasicAuth #maby this one
  5.  
  6.  
  7. def randomPythonfunk():
  8.  
  9.     url = "http://YOURIP:8083/JS/Run/*"
  10.  
  11.     params = {'username' : 'chabo', 'password' : 'sommar123'}
  12.     cokie = dict(username = 'cahbo', password = 'sommar123')
  13.  
  14.     request = requests.post(url, params = params, cookies = cokie)
  15.  
  16.     print requests.text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement