Commit 3e4d8421 by Javier

Magnus

parent c72f15f5
from requests import Session
magnus = "http://192.168.2.84/mbilling/"
login = {
'user' : 'root',
'password' : 'NgtAtONgeRaFtsbu',
'key' : ''
}
def create_account():
with Session() as cnx:
cnx.get(magnus)
cnx.post(f'{magnus}/login', data=login)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment