This commit is contained in:
quoije
2022-10-26 04:54:06 -04:00
parent d20752246e
commit 566f3b935c
+1 -2
View File
@@ -6,12 +6,11 @@ usrn = ["bean.hill", "christine.wool", "christopher.jones", "jackson.lightheart"
def ayy(username, password):
endpoint = "http://hat-valley.htb/api/login"
headers = ""
payload = {
"username" : username,
"password" : password,
}
r = post(endpoint, json=payload, headers = headers)
r = post(endpoint, json=payload)
print("[+] " + r.text)
return r.text